diff options
author | Robert Moore <robert.moore@intel.com> | 2005-07-29 18:15:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-30 00:51:39 -0400 |
commit | 0c9938cc75057c0fca1af55a55dcfc2842436695 (patch) | |
tree | d18e809bf9e3811f20c609b6515d4d1b8520cfbc /include/acpi/acmacros.h | |
parent | dd8f39bbf5154cdbfd698fc70c66faba33eafa44 (diff) |
[ACPI] ACPICA 20050729 from Bob Moore
Implemented support to ignore an attempt to install/load
a particular ACPI table more than once. Apparently there
exists BIOS code that repeatedly attempts to load the same
SSDT upon certain events. Thanks to Venkatesh Pallipadi.
Restructured the main interface to the AML parser in
order to correctly handle all exceptional conditions. This
will prevent leakage of the OwnerId resource and should
eliminate the AE_OWNER_ID_LIMIT exceptions seen on some
machines. Thanks to Alexey Starikovskiy.
Support for "module level code" has been disabled in this
version due to a number of issues that have appeared
on various machines. The support can be enabled by
defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
compilation. When the issues are fully resolved, the code
will be enabled by default again.
Modified the internal functions for debug print support
to define the FunctionName parameter as a (const char *)
for compatibility with compiler built-in macros such as
__FUNCTION__, etc.
Linted the entire ACPICA source tree for both 32-bit
and 64-bit.
Signed-off-by: Robert Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acmacros.h')
-rw-r--r-- | include/acpi/acmacros.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index 5b100cef8dfc..fcdef0a4b01b 100644 --- a/include/acpi/acmacros.h +++ b/include/acpi/acmacros.h | |||
@@ -505,8 +505,10 @@ | |||
505 | * The Name parameter should be the procedure name as a quoted string. | 505 | * The Name parameter should be the procedure name as a quoted string. |
506 | * This is declared as a local string ("my_function_name") so that it can | 506 | * This is declared as a local string ("my_function_name") so that it can |
507 | * be also used by the function exit macros below. | 507 | * be also used by the function exit macros below. |
508 | * Note: (const char) is used to be compatible with the debug interfaces | ||
509 | * and macros such as __FUNCTION__. | ||
508 | */ | 510 | */ |
509 | #define ACPI_FUNCTION_NAME(name) char *_acpi_function_name = name; | 511 | #define ACPI_FUNCTION_NAME(name) const char *_acpi_function_name = name; |
510 | 512 | ||
511 | #else | 513 | #else |
512 | /* Compiler supports __FUNCTION__ (or equivalent) -- Ignore this macro */ | 514 | /* Compiler supports __FUNCTION__ (or equivalent) -- Ignore this macro */ |