Useful for ASLTS. Disable errors from resource descriptors.
ASLTS checks for correct byte-by-byte descriptor construction, thus
errors are unavoidable.
This change implements the rules for LEN/MIF/MAF/MIN/MAX/GRA that come
from the ACPI specification (Table 6-40). Also added a special
case for IO descriptor where MIN/MAX are both start addresses, not
a start and end address. ACPICA BZ 840.
This change implements validation for the address fields that are
common to all address-type resource descriptors. These checks
are implemented: Checks for valid min/max, length within the
min/max window, valid granularity and min/max a multiple of
granularity. ACPICA BZ 840.
If no return value is expected from this predefined name, then
it follows that it must be implemented as a control method
(with zero args, because the args > 0 case was handled above)
Examples are: _DIS, _INI, _IRC, _OFF, _ON, _PSx
_Wxx is a GPE method type, similar to the _Lxx/Exx methods.
Adds support for all _Wxx names, which were not previously
recognized as valid predefined names.
Add ascii dump for partial last lines.
For C, omit comma after last byte.
Add total AML size in comment.
Update to improve general appearance and usefullness.
Implements some typechecking for values returned by any ACPI
predefiend control methods. Only the direct return of static (unnamed)
values are checked. For example, Return(1). ACPICA BZ 786.
Fixes a problem introduced in version 20100304. An error is incorrectly
generated if a predefined name is declared as a static named object with
a value defined using the keywords "Zero", "One", or "Ones". Lin Ming.
Adds typechecking for static (non-control-method) predefined names.
Migrates compiler to use the common predefined name table (acpredef.h).
Adds a single new file, aslpredef.c. ACPICA BZ 832.
This change will enable debug object output via a global variable,
AcpiGbl_EnableAmlDebugObject. This will help with remote machine
debugging. Also, moved all debug object support code to a new file,
executer/exdebug.c. Entire debug object module can now be configured
out of the ACPICA build if desired. Lin Ming, Bob Moore.
This type was introduced as the code was migrated from ACPI 1.0 (with 32-bit
AML integers) to ACPI 2.0 (with 64-bit integers). It is now obsolete and
this change removes it from the ACPICA code base, replaced by UINT64.
The original typedef has been retained for now for compatibility with
existing device driver code.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
Added several new options for the gcc-4 generation, and updated the source
accordingly. This includes some code restructuring to eliminate unreachable
code, elimination of some gotos, elimination of unused return values, and
some additional casting.
This fixes a regression introduced in version 20091112. A .src
intermediate file is always created during compilation and should
be deleted at compiler exit.
Adds a new remark for a Package() declaration if an initializer
list exists, but is shorter than the declared length of the package.
Although technically legal, this is probably a coding error and
it is seen in the field. ACPICA BZ 815. Lin Ming, Bob Moore.
The existing interface only has a pre-order callback. This change
adds an additional parameter for a post-order callback which will
be more useful for bus scans. ACPICA BZ 779. Lin Ming.
This change correctly implements the Switch operator with a surrounding
While(1) so that the Break statement works as expected.
ACPICA BZ 461. Lin Ming.
Allows multiple additional search paths for include files. Directories
are searched in the order specified on the command line (after the
local directory is searched.)
Add limited support for executable AML code that exists outside of
any control method. This type of code has been illegal since ACPI 2.0.
The code must exist in an If/Else/While block. All AML tables are
supported, including tables that are dynamically loaded.
ACPICA BZ 762. Lin Ming.
Remove all instances of this obsolete macro, since it is now a simple
reference to ->common.type. There were about 150 invocations of the
macro across 41 files.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
Previously did not allow the creation of named objects within a while
loop. However, it is not possible to analyze the loop to determine if
a named object would actually be created twice. Also, compiling
disassembled code with switch statements would raise this error even
though the compiler-emitted while(one) loop only executed once (there
is a break statement at the bottom of the loop. Chalk this one up to
'a nice try'.
Fixes a problem where the use of an alias within a namepath would
result in a not found error or cause the compiler to fault.
Also now allows forward references from the Alias operator itself.
ACPICA BZ 738.
Added the -e option to allow the inclusion of additional ACPI tables
to help with the disassembly of method invocations and the generation
of external declarations during the disassembly. Certain external
method invocations cannot be disassembled properly without the actual
declaration of the method. Use the -e option to include the table
where the external method(s) are actually declared. Most useful for
disassembling SSDTs that make method calls back to the master DSDT.
Lin Ming.
Example: To disassemble an SSDT with calls to DSDT:
iasl -d -e dsdt.aml ssdt1.aml
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans are
to move all private headers to a new subdirectory.
Removed the "$Revision" number that appeared in each module header.
This version number was useful under SourceSafe and CVS, but has no
meaning under git. It is not only incorrect, it could also be
misleading.
Fix some sloppiness in the Reference object. No longer use AML opcodes to
differentiate the types, introduce new reference Class. Cleanup the debug
output code.