diff options
author | Bob Moore <robert.moore@intel.com> | 2016-03-23 21:40:19 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-04 21:53:32 -0400 |
commit | 95df7b5e4c9c7a6b1e75d7bbc16ac19ee2784379 (patch) | |
tree | a2c978bd4debda2f2b855d912b209ae368dba3de /include/acpi | |
parent | 2156510f300f9ac70a024994acb5235ebd4ee087 (diff) |
ACPICA: Headers: Update generation of the ACPICA library
ACPICA commit 0af0f9092dcc3db6c05875eae68965fda333ad7f
For windows only, ensure that debug output is disabled for
the "release" (non-debug) case.
Link: https://github.com/acpica/acpica/commit/0af0f909
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/platform/acenv.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index 7c0595bde132..72f85b4bdc44 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -66,17 +66,28 @@ | |||
66 | * | 66 | * |
67 | *****************************************************************************/ | 67 | *****************************************************************************/ |
68 | 68 | ||
69 | /* Common application configuration. All single threaded except for acpi_exec. */ | ||
70 | |||
71 | #if (defined ACPI_ASL_COMPILER) || \ | ||
72 | (defined ACPI_BIN_APP) || \ | ||
73 | (defined ACPI_DUMP_APP) || \ | ||
74 | (defined ACPI_HELP_APP) || \ | ||
75 | (defined ACPI_NAMES_APP) || \ | ||
76 | (defined ACPI_SRC_APP) || \ | ||
77 | (defined ACPI_XTRACT_APP) || \ | ||
78 | (defined ACPI_EXAMPLE_APP) | ||
79 | #define ACPI_APPLICATION | ||
80 | #define ACPI_SINGLE_THREADED | ||
81 | #endif | ||
82 | |||
69 | /* iASL configuration */ | 83 | /* iASL configuration */ |
70 | 84 | ||
71 | #ifdef ACPI_ASL_COMPILER | 85 | #ifdef ACPI_ASL_COMPILER |
72 | #define ACPI_APPLICATION | ||
73 | #define ACPI_DEBUG_OUTPUT | 86 | #define ACPI_DEBUG_OUTPUT |
74 | #define ACPI_CONSTANT_EVAL_ONLY | 87 | #define ACPI_CONSTANT_EVAL_ONLY |
75 | #define ACPI_LARGE_NAMESPACE_NODE | 88 | #define ACPI_LARGE_NAMESPACE_NODE |
76 | #define ACPI_DATA_TABLE_DISASSEMBLY | 89 | #define ACPI_DATA_TABLE_DISASSEMBLY |
77 | #define ACPI_SINGLE_THREADED | ||
78 | #define ACPI_32BIT_PHYSICAL_ADDRESS | 90 | #define ACPI_32BIT_PHYSICAL_ADDRESS |
79 | |||
80 | #define ACPI_DISASSEMBLER 1 | 91 | #define ACPI_DISASSEMBLER 1 |
81 | #endif | 92 | #endif |
82 | 93 | ||
@@ -89,21 +100,6 @@ | |||
89 | #define ACPI_DBG_TRACK_ALLOCATIONS | 100 | #define ACPI_DBG_TRACK_ALLOCATIONS |
90 | #endif | 101 | #endif |
91 | 102 | ||
92 | /* | ||
93 | * acpi_bin/acpi_dump/acpi_help/acpi_names/acpi_src/acpi_xtract/Example | ||
94 | * configuration. All single threaded. | ||
95 | */ | ||
96 | #if (defined ACPI_BIN_APP) || \ | ||
97 | (defined ACPI_DUMP_APP) || \ | ||
98 | (defined ACPI_HELP_APP) || \ | ||
99 | (defined ACPI_NAMES_APP) || \ | ||
100 | (defined ACPI_SRC_APP) || \ | ||
101 | (defined ACPI_XTRACT_APP) || \ | ||
102 | (defined ACPI_EXAMPLE_APP) | ||
103 | #define ACPI_APPLICATION | ||
104 | #define ACPI_SINGLE_THREADED | ||
105 | #endif | ||
106 | |||
107 | /* acpi_help configuration. Error messages disabled. */ | 103 | /* acpi_help configuration. Error messages disabled. */ |
108 | 104 | ||
109 | #ifdef ACPI_HELP_APP | 105 | #ifdef ACPI_HELP_APP |
@@ -138,11 +134,16 @@ | |||
138 | #define ACPI_REDUCED_HARDWARE 1 | 134 | #define ACPI_REDUCED_HARDWARE 1 |
139 | #endif | 135 | #endif |
140 | 136 | ||
141 | /* Linkable ACPICA library */ | 137 | /* Linkable ACPICA library. Two versions, one with full debug. */ |
142 | 138 | ||
143 | #ifdef ACPI_LIBRARY | 139 | #ifdef ACPI_LIBRARY |
144 | #define ACPI_USE_LOCAL_CACHE | 140 | #define ACPI_USE_LOCAL_CACHE |
145 | #define ACPI_FULL_DEBUG | 141 | #define ACPI_DEBUGGER 1 |
142 | #define ACPI_DISASSEMBLER 1 | ||
143 | |||
144 | #ifdef _DEBUG | ||
145 | #define ACPI_DEBUG_OUTPUT | ||
146 | #endif | ||
146 | #endif | 147 | #endif |
147 | 148 | ||
148 | /* Common for all ACPICA applications */ | 149 | /* Common for all ACPICA applications */ |