aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/platform/acenv.h
diff options
context:
space:
mode:
authorRobert Moore <robert.moore@intel.com>2005-07-29 18:15:00 -0400
committerLen Brown <len.brown@intel.com>2005-07-30 00:51:39 -0400
commit0c9938cc75057c0fca1af55a55dcfc2842436695 (patch)
treed18e809bf9e3811f20c609b6515d4d1b8520cfbc /include/acpi/platform/acenv.h
parentdd8f39bbf5154cdbfd698fc70c66faba33eafa44 (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/platform/acenv.h')
-rw-r--r--include/acpi/platform/acenv.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h
index aa63202e8d5d..bae1fbed097a 100644
--- a/include/acpi/platform/acenv.h
+++ b/include/acpi/platform/acenv.h
@@ -241,15 +241,15 @@
241#define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n)) 241#define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n))
242#define ACPI_MEMSET(d,s,n) (void) memset((d), (s), (acpi_size)(n)) 242#define ACPI_MEMSET(d,s,n) (void) memset((d), (s), (acpi_size)(n))
243 243
244#define ACPI_TOUPPER toupper 244#define ACPI_TOUPPER(i) toupper((int) (i))
245#define ACPI_TOLOWER tolower 245#define ACPI_TOLOWER(i) tolower((int) (i))
246#define ACPI_IS_XDIGIT isxdigit 246#define ACPI_IS_XDIGIT(i) isxdigit((int) (i))
247#define ACPI_IS_DIGIT isdigit 247#define ACPI_IS_DIGIT(i) isdigit((int) (i))
248#define ACPI_IS_SPACE isspace 248#define ACPI_IS_SPACE(i) isspace((int) (i))
249#define ACPI_IS_UPPER isupper 249#define ACPI_IS_UPPER(i) isupper((int) (i))
250#define ACPI_IS_PRINT isprint 250#define ACPI_IS_PRINT(i) isprint((int) (i))
251#define ACPI_IS_ALPHA isalpha 251#define ACPI_IS_ALPHA(i) isalpha((int) (i))
252#define ACPI_IS_ASCII isascii 252#define ACPI_IS_ASCII(i) isascii((int) (i))
253 253
254#else 254#else
255 255