diff options
author | Robert Moore <robert.moore@intel.com> | 2005-05-26 00:00:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-13 16:46:34 -0400 |
commit | 88ac00f5a841dcfc5c682000f4a6add0add8caac (patch) | |
tree | 80dcff8323c6c79e8706f42eb4b7c3884bc03152 /include/acpi | |
parent | 6f42ccf2fc50ecee8ea170040627f268430c1648 (diff) |
ACPICA 20050526 from Bob Moore <robert.moore@intel.com>
Implemented support to execute Type 1 and Type 2 AML
opcodes appearing at the module level (not within a control
method.) These opcodes are executed exactly once at the
time the table is loaded. This type of code was legal up
until the release of ACPI 2.0B (2002) and is now supported
within ACPI CA in order to provide backwards compatibility
with earlier BIOS implementations. This eliminates the
"Encountered executable code at module level" warning that
was previously generated upon detection of such code.
Fixed a problem in the interpreter where an AE_NOT_FOUND
exception could inadvertently be generated during the
lookup of namespace objects in the second pass parse of
ACPI tables and control methods. It appears that this
problem could occur during the resolution of forward
references to namespace objects.
Added the ACPI_MUTEX_DEBUG #ifdef to the
acpi_ut_release_mutex function, corresponding to the same
the deadlock detection debug code to be compiled out in
the normal case, improving mutex performance (and overall
subsystem performance) considerably. As suggested by
Alexey Starikovskiy.
Implemented a handful of miscellaneous fixes for possible
memory leaks on error conditions and error handling
control paths. These fixes were suggested by FreeBSD and
the Coverity Prevent source code analysis tool.
Added a check for a null RSDT pointer in
acpi_get_firmware_table (tbxfroot.c) to prevent a fault
in this error case.
Signed-off-by Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acconfig.h | 2 | ||||
-rw-r--r-- | include/acpi/acstruct.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h index a268c4ae187..6babcb10493 100644 --- a/include/acpi/acconfig.h +++ b/include/acpi/acconfig.h | |||
@@ -64,7 +64,7 @@ | |||
64 | 64 | ||
65 | /* Version string */ | 65 | /* Version string */ |
66 | 66 | ||
67 | #define ACPI_CA_VERSION 0x20050513 | 67 | #define ACPI_CA_VERSION 0x20050526 |
68 | 68 | ||
69 | /* | 69 | /* |
70 | * OS name, used for the _OS object. The _OS object is essentially obsolete, | 70 | * OS name, used for the _OS object. The _OS object is essentially obsolete, |
diff --git a/include/acpi/acstruct.h b/include/acpi/acstruct.h index e6b9e36a2ed..4e926457bd2 100644 --- a/include/acpi/acstruct.h +++ b/include/acpi/acstruct.h | |||
@@ -78,7 +78,7 @@ struct acpi_walk_state | |||
78 | u8 return_used; | 78 | u8 return_used; |
79 | u16 opcode; /* Current AML opcode */ | 79 | u16 opcode; /* Current AML opcode */ |
80 | u8 scope_depth; | 80 | u8 scope_depth; |
81 | u8 reserved1; | 81 | u8 pass_number; /* Parse pass during table load */ |
82 | u32 arg_count; /* push for fixed or var args */ | 82 | u32 arg_count; /* push for fixed or var args */ |
83 | u32 aml_offset; | 83 | u32 aml_offset; |
84 | u32 arg_types; | 84 | u32 arg_types; |