diff options
Diffstat (limited to 'include/acpi/platform/acenv.h')
-rw-r--r-- | include/acpi/platform/acenv.h | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index fcd2572e428c..e62f10d9a7d8 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -44,14 +44,26 @@ | |||
44 | #ifndef __ACENV_H__ | 44 | #ifndef __ACENV_H__ |
45 | #define __ACENV_H__ | 45 | #define __ACENV_H__ |
46 | 46 | ||
47 | /* | 47 | /* Types for ACPI_MUTEX_TYPE */ |
48 | |||
49 | #define ACPI_BINARY_SEMAPHORE 0 | ||
50 | #define ACPI_OSL_MUTEX 1 | ||
51 | |||
52 | /* Types for DEBUGGER_THREADING */ | ||
53 | |||
54 | #define DEBUGGER_SINGLE_THREADED 0 | ||
55 | #define DEBUGGER_MULTI_THREADED 1 | ||
56 | |||
57 | /****************************************************************************** | ||
58 | * | ||
48 | * Configuration for ACPI tools and utilities | 59 | * Configuration for ACPI tools and utilities |
49 | */ | 60 | * |
61 | *****************************************************************************/ | ||
50 | 62 | ||
51 | #ifdef ACPI_LIBRARY | 63 | #ifdef ACPI_LIBRARY |
52 | /* | 64 | /* |
53 | * Note: The non-debug version of the acpi_library does not contain any | 65 | * Note: The non-debug version of the acpi_library does not contain any |
54 | * debug support, for minimimal size. The debug version uses ACPI_FULL_DEBUG | 66 | * debug support, for minimal size. The debug version uses ACPI_FULL_DEBUG |
55 | */ | 67 | */ |
56 | #define ACPI_USE_LOCAL_CACHE | 68 | #define ACPI_USE_LOCAL_CACHE |
57 | #endif | 69 | #endif |
@@ -75,17 +87,6 @@ | |||
75 | #define ACPI_DBG_TRACK_ALLOCATIONS | 87 | #define ACPI_DBG_TRACK_ALLOCATIONS |
76 | #endif | 88 | #endif |
77 | 89 | ||
78 | #ifdef ACPI_DASM_APP | ||
79 | #ifndef MSDOS | ||
80 | #define ACPI_DEBUG_OUTPUT | ||
81 | #endif | ||
82 | #define ACPI_APPLICATION | ||
83 | #define ACPI_DISASSEMBLER | ||
84 | #define ACPI_NO_METHOD_EXECUTION | ||
85 | #define ACPI_LARGE_NAMESPACE_NODE | ||
86 | #define ACPI_DATA_TABLE_DISASSEMBLY | ||
87 | #endif | ||
88 | |||
89 | #ifdef ACPI_APPLICATION | 90 | #ifdef ACPI_APPLICATION |
90 | #define ACPI_USE_SYSTEM_CLIBRARY | 91 | #define ACPI_USE_SYSTEM_CLIBRARY |
91 | #define ACPI_USE_LOCAL_CACHE | 92 | #define ACPI_USE_LOCAL_CACHE |
@@ -179,6 +180,19 @@ | |||
179 | 180 | ||
180 | /*! [End] no source code translation !*/ | 181 | /*! [End] no source code translation !*/ |
181 | 182 | ||
183 | /****************************************************************************** | ||
184 | * | ||
185 | * Miscellaneous configuration | ||
186 | * | ||
187 | *****************************************************************************/ | ||
188 | |||
189 | /* | ||
190 | * Are mutexes supported by the host? default is no, use binary semaphores. | ||
191 | */ | ||
192 | #ifndef ACPI_MUTEX_TYPE | ||
193 | #define ACPI_MUTEX_TYPE ACPI_BINARY_SEMAPHORE | ||
194 | #endif | ||
195 | |||
182 | /* | 196 | /* |
183 | * Debugger threading model | 197 | * Debugger threading model |
184 | * Use single threaded if the entire subsystem is contained in an application | 198 | * Use single threaded if the entire subsystem is contained in an application |
@@ -187,9 +201,6 @@ | |||
187 | * By default the model is single threaded if ACPI_APPLICATION is set, | 201 | * By default the model is single threaded if ACPI_APPLICATION is set, |
188 | * multi-threaded if ACPI_APPLICATION is not set. | 202 | * multi-threaded if ACPI_APPLICATION is not set. |
189 | */ | 203 | */ |
190 | #define DEBUGGER_SINGLE_THREADED 0 | ||
191 | #define DEBUGGER_MULTI_THREADED 1 | ||
192 | |||
193 | #ifndef DEBUGGER_THREADING | 204 | #ifndef DEBUGGER_THREADING |
194 | #ifdef ACPI_APPLICATION | 205 | #ifdef ACPI_APPLICATION |
195 | #define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED | 206 | #define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED |