Commit Graph

11397 Commits

Author SHA1 Message Date
Robert Moore
76dfbe9a42 Miscellaneous support for multiple device implicit notify.
Adds support in the various tools and utilities: Debugger,
AcpiSrc, and AcpiExec.
2012-06-19 13:14:57 -07:00
Robert Moore
9924396a05 Add support for multiple implicit notify devices.
Adds basic support to allow multiple devices to be implicitly
notified. Bob Moore, Rafael Wysocki.
2012-06-19 13:13:09 -07:00
Robert Moore
0bd5c0817e AcpiSrc: Fix some translation issues for Linux conversion.
Fixes issues like this:

i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI

Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)
2012-06-15 12:47:35 -07:00
Robert Moore
a231a84063 Update comments to simplify source translation, no functional changes.
Change some comments that cause problems for the AcpiSrc conversion
utility.
2012-06-15 12:46:02 -07:00
Robert Moore
d1dc9adb61 Debugger: Rename function to simplify source code conversion.
Rename to improve the linux conversion.
2012-06-13 14:23:06 -07:00
Robert Moore
b71852ab29 AcpiSrc: Prevent two possible div-by-zero conditions.
Ensure statistics display does not divide-by-zero.
2012-06-13 13:50:52 -07:00
Robert Moore
5ee27590d9 Update comments; no functional change.
Cleanup a couple of comments.
2012-06-13 13:48:28 -07:00
Robert Moore
6882b7be15 Utilities: conditionally compile backslash removal function.
Only used for iASL and AcpiExec.
2012-06-06 10:13:52 -07:00
Robert Moore
6759985074 iASL: Fix NULLs emitted in listing files.
Also, explicitly open all output files as either binary or
text, do not make any assumptions about the default type.
2012-06-06 09:45:21 -07:00
Robert Moore
8274bb02a7 iASL: Update error message for ResourceTag size mismatch.
Mention "size mismatch" in the error message(s).
2012-06-06 09:43:20 -07:00
Robert Moore
d4fcca77cc Disassembler: Emit descriptions for resource tags (_MIN, etc.)
Add support to emit short commented descriptions for the various
resource tags, when they are referenced by a Create* operator.
2012-05-31 15:21:56 -07:00
Robert Moore
0d7ca2f1bc iASL/aslutils.c: update/reformat function headers.
No functional changes.
2012-05-30 14:12:52 -07:00
Robert Moore
5274ae5495 Update ahpredef.c helpfile; fix typos, expand some descriptions.
Fixes for this helpfile, used by AcpiHelp and the disassembler.
2012-05-30 09:26:21 -07:00
Robert Moore
6388e94bec Disassembler: Emit generic names for special ACPI names (_Exx, etc.)
Also simplify the code a bit.
2012-05-30 09:24:42 -07:00
Robert Moore
ac6865d3b1 Update predefined name help file, no functional change.
Fixes some typos and case issues.
2012-05-25 14:42:06 -07:00
Robert Moore
0bc7e0dddb Disassembler: Emit descriptions for special names (_Lxx, etc.)
Add support to emit commented descriptions for the various special
predefined names such as _ALx, _Exx, _T_x, etc.
2012-05-25 13:28:23 -07:00
Robert Moore
3773b5ac3e Project/Make files: Update for file move.
Moved ahpredef.c to the common directory for use by iASL
in addition to AcpiHelp.
2012-05-25 10:20:25 -07:00
Robert Moore
97a2049af8 Disassembler: Emit descriptions for ACPI predefined names.
For each predefined name, emit a short description within a comment.
ACPICA BZ 959.
2012-05-25 10:19:05 -07:00
Robert Moore
fbff62978e AcpiHelp: Update for source file move (ahpredef.c)
File was moved to the common directory for use by iASL.
2012-05-25 10:06:58 -07:00
Robert Moore
e4752eca0b Move ahpredef.c to the common directory for use by iASL also.
This file will now be used by multiple utilities.
2012-05-25 09:10:17 -07:00
Robert Moore
2bb2b5d75a iASL: Fix -ot option (display compile times/statistics).
Was not working properly for standard output; only worked for the
debug file case.
2012-05-23 13:50:37 -07:00
Robert Moore
1e39cde26c iASL: Add debug options to standard help message.
Previously, the compiler debug options were only displayed if
the -h switch was used. Now, there is only one help message.
ACPICA BZ 957.
2012-05-23 13:15:47 -07:00
Robert Moore
43da7400f2 Update to version 20120518.
Version string 20120518.
2012-05-18 13:48:19 -07:00
Robert Moore
1c41efbd17 Logfile: Changes for version 20120518.
Version 20120518.
2012-05-18 13:47:45 -07:00
Robert Moore
c0ed1c15cc Documentation: Update iASL reference for preprocessor support.
Add support for iASL preprocessor and directives.
2012-05-18 13:47:02 -07:00
Robert Moore
315da8e4b7 Documentation: Update ACPICA reference for new interface.
Added AcpiOsWaitEventsComplete.
2012-05-18 13:46:13 -07:00
Robert Moore
092a4a9b67 Windows binaries: Update to version 20120518.
Version 20120518.
2012-05-18 13:45:07 -07:00
Robert Moore
df1a5b740c Add FADT error message for GAS BitWidth overflow.
Error for possible overflow during conversion from 32-bit legacy register
addresses to GAS format. The GAS struct contains a one-byte BitWidth field,
meaning that the maximum length of a register is 255 bits. ACPICA BZ 953.
2012-05-17 13:26:10 -07:00
Robert Moore
5ff986a2a9 Introduce AcpiOsWaitEventsComplete interface.
This interface will block until asynchronous events like notifies
and GPEs are complete. Within ACPICA, it is called before a notify or GPE
handler is removed. ACPICA BZ 868.
2012-05-16 13:36:07 -07:00
Robert Moore
59d78f2a9e iASL: Improved pathname support.
For include files, merge the prefix pathname with the file pathname.
Convert backslashes in all pathnames to forward slashes, for
readability.
Include file pathname changes affect both #include and Include()
type operators.
2012-05-11 13:47:17 -07:00
Robert Moore
20a068edcc iASL: Additional fixes to enhance IDE support (-vi).
Changes allow IDE to count the number of warnings and errors.
Output everything to stdout to prevent interleaved output.
2012-05-11 12:43:57 -07:00
Robert Moore
a6f74878ea Fix comment typos, no functional change.
Fix a few typos in comment fields.
2012-05-03 12:15:59 -07:00
Robert Moore
70e176edb5 ACPI 5.0/iASL: Add support for PCC keyword.
Adds support for the PCC keyword for the Register() resource descriptor
macro.
2012-05-03 10:31:24 -07:00
Robert Moore
efe0ca11c5 iASL: Fix IDE output mode (-vi) error messages.
Fixes the format of the error/warning message output to be compatible
with MS Visual Studio (using the -vi option.)
2012-05-03 09:14:15 -07:00
Robert Moore
01d5902500 Tests: Update master ASLTS makefile for test messages.
Fix message output to emit correct iASL flags.
2012-05-02 13:39:56 -07:00
Robert Moore
4c7c03d998 Disassembler: Order External() statements alphabetically.
Improves readability of the External() list.
2012-04-27 13:52:16 -07:00
Robert Moore
278c01eb13 Disassembler: Fixes for External() generation for some operators.
This fixes the External() generation for the Create* field, Alias,
and Scope operators.
1) Create buffer field - fix type mismatch warning on disassembly
2) Alias - implement External support
3) Scope - fix to make sure all necessary externals are emitted.
2012-04-27 13:37:54 -07:00
Robert Moore
c852ab572f iASL/Disassembler: Enhance bad input file error message.
Emit additional error message if the file is 100% ASCII instead
of the required binary file.
2012-04-27 09:56:16 -07:00
Robert Moore
b82d430957 Disassembler: Add support for Operation Region externals.
Adds missing support for operation regions defined in another table,
but referenced via a Field or BankField operator. Generate the
correct External statement.
2012-04-26 12:50:52 -07:00
Robert Moore
139474845b Build script: Update invocation pathname for pkzip25.exe
Do not use windows/dos syntax, this can generate warnings
under cygwin.
2012-04-23 15:09:45 -07:00
Robert Moore
18cf9f9498 iASL/DTC/Preprocessor: Gracefully handle early EOF.
Handle an EOF at the end of a valid line by inserting a newline
and then returning the EOF during the next call to GetNextLine.
Prevents the line from being ignored due to EOF condition.
2012-04-23 15:07:46 -07:00
Robert Moore
e802f64c73 Update to version 20120420.
Version 20120420.
2012-04-20 13:13:44 -07:00
Robert Moore
6276d14b7b Logfile: Changes for version 20120420.
Version 20120420.
2012-04-20 13:13:05 -07:00
Robert Moore
34b43ee47c Windows binaries: Update to version 20120420.
Version 20120420.
2012-04-20 13:11:53 -07:00
Robert Moore
ef5b5c31e9 ACPICA Reference: Update for multiple notify handlers.
Add text to describe support for multiple notify handlers.
2012-04-20 13:05:59 -07:00
Robert Moore
51377948d9 iASL: Expand allowable byte constants for addres space IDs.
Expanded range from 0x80-0xFF to 0x0A-0xFF.
2012-04-20 09:30:46 -07:00
Robert Moore
1779fe9ec9 iASL/DTC/Preprocessor: Add support to skip escape sequences in strings.
In shared code for DTC/Preprocessor, just skip over any escape
sequences found within double-quoted string literals.
DTC may later implement full support for escape sequences.
2012-04-20 09:28:41 -07:00
Robert Moore
c760d1f111 AcpiExec: Update to test multiple notify handler support.
Installs/removes multiple notify handlers. Also update grammar.asl
to test multiple handlers.
2012-04-20 09:19:48 -07:00
Robert Moore
7adabc5479 Add support for multiple notify handlers.
This change adds support to allow multiple notify handlers on
Device, ThermalZone, and Processor objects. Also re-worked and
restructured the entire notify support code for handler installation,
handler removal, notify event queuing, and notify dispatch to handler.
Lin Ming, Bob Moore, Rafael Wysocki.
2012-04-20 09:00:41 -07:00
Robert Moore
85e2b6f015 Fix object size problem with allocation tracker object dump.
Code that posts additional info about various object during the
dump of outstanding allocations had incorrect object sizes.
This fix corrects the three incorrect cases.
2012-04-13 14:16:56 -07:00