Rev 1498 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1498 | Rev 2216 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | /****************************************************************************** |
7 | /****************************************************************************** |
8 | * |
8 | * |
9 | * 1. Copyright Notice |
9 | * 1. Copyright Notice |
10 | * |
10 | * |
11 | * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp. |
11 | * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp. |
12 | * All rights reserved. |
12 | * All rights reserved. |
13 | * |
13 | * |
14 | * 2. License |
14 | * 2. License |
15 | * |
15 | * |
Line 141... | Line 141... | ||
141 | 141 | ||
142 | #define ACPI_COMPILER 0x00001000 |
142 | #define ACPI_COMPILER 0x00001000 |
143 | #define ACPI_TOOLS 0x00002000 |
143 | #define ACPI_TOOLS 0x00002000 |
144 | #define ACPI_EXAMPLE 0x00004000 |
144 | #define ACPI_EXAMPLE 0x00004000 |
- | 145 | #define ACPI_DRIVER 0x00008000 |
|
Line 145... | Line 146... | ||
145 | #define ACPI_DRIVER 0x00008000 |
146 | #define DT_COMPILER 0x00010000 |
146 | 147 | ||
Line 147... | Line 148... | ||
147 | #define ACPI_ALL_COMPONENTS 0x0000FFFF |
148 | #define ACPI_ALL_COMPONENTS 0x0001FFFF |
Line 148... | Line 149... | ||
148 | #define ACPI_COMPONENT_DEFAULT (ACPI_ALL_COMPONENTS) |
149 | #define ACPI_COMPONENT_DEFAULT (ACPI_ALL_COMPONENTS) |
Line 255... | Line 256... | ||
255 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) |
256 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) |
Line 256... | Line 257... | ||
256 | 257 | ||
257 | 258 | ||
258 | #if defined (ACPI_DEBUG_OUTPUT) || !defined (ACPI_NO_ERROR_MESSAGES) |
259 | #if defined (ACPI_DEBUG_OUTPUT) || !defined (ACPI_NO_ERROR_MESSAGES) |
259 | /* |
260 | /* |
260 | * Module name is included in both debug and non-debug versions primarily for |
261 | * The module name is used primarily for error and debug messages. |
- | 262 | * The __FILE__ macro is not very useful for this, because it |
|
261 | * error messages. The __FILE__ macro is not very useful for this, because it |
263 | * usually includes the entire pathname to the module making the |
262 | * often includes the entire pathname to the module |
264 | * debug output difficult to read. |
263 | */ |
265 | */ |
- | 266 | #define ACPI_MODULE_NAME(Name) static const char ACPI_UNUSED_VAR _AcpiModuleName[] = Name; |
|
- | 267 | #else |
|
- | 268 | /* |
|
- | 269 | * For the no-debug and no-error-msg cases, we must at least define |
|
264 | #define ACPI_MODULE_NAME(Name) static const char ACPI_UNUSED_VAR _AcpiModuleName[] = Name; |
270 | * a null module name. |
- | 271 | */ |
|
265 | #else |
272 | #define ACPI_MODULE_NAME(Name) |
Line 266... | Line 273... | ||
266 | #define ACPI_MODULE_NAME(Name) |
273 | #define _AcpiModuleName "" |
267 | #endif |
274 | #endif |
268 | 275 |