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.
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.
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.
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.
Adds missing support for operation regions defined in another table,
but referenced via a Field or BankField operator. Generate the
correct External statement.
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.
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.
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.
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.
If early errors happen during the parsing stage, a parse tree
may not be created. An "internal" error was emitted. Add a check
for actual errors so that the internal error is only emitted
if no other errors were generated during the parse.
Move main compiler support for #line from the parser to the lexer.
This simplifies the implementation, and allows #line to appear
within any ASL statement (the entire line where #line appears
is simply removed from the input after the new line number is set.)
For ACPI string objects, always use the common string dump function,
AcpiUtPrintString. This function surrounds the string with quotes
and handles allowed escape sequences.
Fixes a problem where resource tags that refer to descriptors within
the scope of a StartDependent or StartDependendentNoPri descriptor
had an incorrect offset. The length of the StartDependent descriptor
must be taken into account when calculating the tag offset.
Reported by Petr Vandrovec. ACPICA BZ 949.
Enhanced the sleep/wake interfaces to optionally execute the _GTS
method (Going To Sleep), and the _BFS method (Back From Sleep).
Windows apparently does not execute these methods, and therefore
these methods are often untested. It has been seen on some systems
where the execution of these methods causes errors and also prevents
the machine from entering S5. It is therefore suggested that host
operating systems do not execute these methods by default. In the
future, perhaps these methods can be optionally executed based on
the age of the system and/or what is the newest version of Windows
that the BIOS asks for via _OSI.