91712b47da9777f91e4de5cbc0d710c71b154219
[reactos.git] / reactos / drivers / bus / acpi / acpica / include / acglobal.h
1 /******************************************************************************
2 *
3 * Name: acglobal.h - Declarations for global variables
4 *
5 *****************************************************************************/
6
7 /******************************************************************************
8 *
9 * 1. Copyright Notice
10 *
11 * Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
12 * All rights reserved.
13 *
14 * 2. License
15 *
16 * 2.1. This is your license from Intel Corp. under its intellectual property
17 * rights. You may have additional license terms from the party that provided
18 * you this software, covering your right to use that party's intellectual
19 * property rights.
20 *
21 * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22 * copy of the source code appearing in this file ("Covered Code") an
23 * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24 * base code distributed originally by Intel ("Original Intel Code") to copy,
25 * make derivatives, distribute, use and display any portion of the Covered
26 * Code in any form, with the right to sublicense such rights; and
27 *
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29 * license (with the right to sublicense), under only those claims of Intel
30 * patents that are infringed by the Original Intel Code, to make, use, sell,
31 * offer to sell, and import the Covered Code and derivative works thereof
32 * solely to the minimum extent necessary to exercise the above copyright
33 * license, and in no event shall the patent license extend to any additions
34 * to or modifications of the Original Intel Code. No other license or right
35 * is granted directly or by implication, estoppel or otherwise;
36 *
37 * The above copyright and patent license is granted only if the following
38 * conditions are met:
39 *
40 * 3. Conditions
41 *
42 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43 * Redistribution of source code of any substantial portion of the Covered
44 * Code or modification with rights to further distribute source must include
45 * the above Copyright Notice, the above License, this list of Conditions,
46 * and the following Disclaimer and Export Compliance provision. In addition,
47 * Licensee must cause all Covered Code to which Licensee contributes to
48 * contain a file documenting the changes Licensee made to create that Covered
49 * Code and the date of any change. Licensee must include in that file the
50 * documentation of any changes made by any predecessor Licensee. Licensee
51 * must include a prominent statement that the modification is derived,
52 * directly or indirectly, from Original Intel Code.
53 *
54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55 * Redistribution of source code of any substantial portion of the Covered
56 * Code or modification without rights to further distribute source must
57 * include the following Disclaimer and Export Compliance provision in the
58 * documentation and/or other materials provided with distribution. In
59 * addition, Licensee may not authorize further sublicense of source of any
60 * portion of the Covered Code, and must include terms to the effect that the
61 * license from Licensee to its licensee is limited to the intellectual
62 * property embodied in the software Licensee provides to its licensee, and
63 * not to intellectual property embodied in modifications its licensee may
64 * make.
65 *
66 * 3.3. Redistribution of Executable. Redistribution in executable form of any
67 * substantial portion of the Covered Code or modification must reproduce the
68 * above Copyright Notice, and the following Disclaimer and Export Compliance
69 * provision in the documentation and/or other materials provided with the
70 * distribution.
71 *
72 * 3.4. Intel retains all right, title, and interest in and to the Original
73 * Intel Code.
74 *
75 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76 * Intel shall be used in advertising or otherwise to promote the sale, use or
77 * other dealings in products derived from or relating to the Covered Code
78 * without prior written authorization from Intel.
79 *
80 * 4. Disclaimer and Export Compliance
81 *
82 * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83 * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84 * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85 * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86 * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87 * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88 * PARTICULAR PURPOSE.
89 *
90 * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92 * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93 * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94 * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95 * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96 * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97 * LIMITED REMEDY.
98 *
99 * 4.3. Licensee shall not export, either directly or indirectly, any of this
100 * software or system incorporating such software without first obtaining any
101 * required license or other approval from the U. S. Department of Commerce or
102 * any other agency or department of the United States Government. In the
103 * event Licensee exports any such software from the United States or
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
106 * compliance with all laws, regulations, orders, or other restrictions of the
107 * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108 * any of its subsidiaries will export/re-export any technical data, process,
109 * software, or service, directly or indirectly, to any country for which the
110 * United States government or any agency thereof requires an export license,
111 * other governmental approval, or letter of assurance, without first obtaining
112 * such license, approval or letter.
113 *
114 *****************************************************************************/
115
116 #ifndef __ACGLOBAL_H__
117 #define __ACGLOBAL_H__
118
119
120 /*****************************************************************************
121 *
122 * Globals related to the ACPI tables
123 *
124 ****************************************************************************/
125
126 /* Master list of all ACPI tables that were found in the RSDT/XSDT */
127
128 ACPI_GLOBAL (ACPI_TABLE_LIST, AcpiGbl_RootTableList);
129
130 /* DSDT information. Used to check for DSDT corruption */
131
132 ACPI_GLOBAL (ACPI_TABLE_HEADER *, AcpiGbl_DSDT);
133 ACPI_GLOBAL (ACPI_TABLE_HEADER, AcpiGbl_OriginalDsdtHeader);
134
135 #if (!ACPI_REDUCED_HARDWARE)
136 ACPI_GLOBAL (ACPI_TABLE_FACS *, AcpiGbl_FACS);
137
138 #endif /* !ACPI_REDUCED_HARDWARE */
139
140 /* These addresses are calculated from the FADT Event Block addresses */
141
142 ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aStatus);
143 ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aEnable);
144
145 ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bStatus);
146 ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bEnable);
147
148 /*
149 * Handle both ACPI 1.0 and ACPI 2.0+ Integer widths. The integer width is
150 * determined by the revision of the DSDT: If the DSDT revision is less than
151 * 2, use only the lower 32 bits of the internal 64-bit Integer.
152 */
153 ACPI_GLOBAL (UINT8, AcpiGbl_IntegerBitWidth);
154 ACPI_GLOBAL (UINT8, AcpiGbl_IntegerByteWidth);
155 ACPI_GLOBAL (UINT8, AcpiGbl_IntegerNybbleWidth);
156
157
158 /*****************************************************************************
159 *
160 * Mutual exclusion within ACPICA subsystem
161 *
162 ****************************************************************************/
163
164 /*
165 * Predefined mutex objects. This array contains the
166 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs.
167 * (The table maps local handles to the real OS handles)
168 */
169 ACPI_GLOBAL (ACPI_MUTEX_INFO, AcpiGbl_MutexInfo[ACPI_NUM_MUTEX]);
170
171 /*
172 * Global lock mutex is an actual AML mutex object
173 * Global lock semaphore works in conjunction with the actual global lock
174 * Global lock spinlock is used for "pending" handshake
175 */
176 ACPI_GLOBAL (ACPI_OPERAND_OBJECT *, AcpiGbl_GlobalLockMutex);
177 ACPI_GLOBAL (ACPI_SEMAPHORE, AcpiGbl_GlobalLockSemaphore);
178 ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GlobalLockPendingLock);
179 ACPI_GLOBAL (UINT16, AcpiGbl_GlobalLockHandle);
180 ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockAcquired);
181 ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPresent);
182 ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPending);
183
184 /*
185 * Spinlocks are used for interfaces that can be possibly called at
186 * interrupt level
187 */
188 ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GpeLock); /* For GPE data structs and registers */
189 ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_HardwareLock); /* For ACPI H/W except GPE registers */
190 ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_ReferenceCountLock);
191
192 /* Mutex for _OSI support */
193
194 ACPI_GLOBAL (ACPI_MUTEX, AcpiGbl_OsiMutex);
195
196 /* Reader/Writer lock is used for namespace walk and dynamic table unload */
197
198 ACPI_GLOBAL (ACPI_RW_LOCK, AcpiGbl_NamespaceRwLock);
199
200
201 /*****************************************************************************
202 *
203 * Miscellaneous globals
204 *
205 ****************************************************************************/
206
207 /* Object caches */
208
209 ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_NamespaceCache);
210 ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_StateCache);
211 ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeCache);
212 ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeExtCache);
213 ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_OperandCache);
214
215 /* System */
216
217 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_StartupFlags, 0);
218 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_Shutdown, TRUE);
219
220 /* Global handlers */
221
222 ACPI_GLOBAL (ACPI_GLOBAL_NOTIFY_HANDLER,AcpiGbl_GlobalNotify[2]);
223 ACPI_GLOBAL (ACPI_EXCEPTION_HANDLER, AcpiGbl_ExceptionHandler);
224 ACPI_GLOBAL (ACPI_INIT_HANDLER, AcpiGbl_InitHandler);
225 ACPI_GLOBAL (ACPI_TABLE_HANDLER, AcpiGbl_TableHandler);
226 ACPI_GLOBAL (void *, AcpiGbl_TableHandlerContext);
227 ACPI_GLOBAL (ACPI_INTERFACE_HANDLER, AcpiGbl_InterfaceHandler);
228 ACPI_GLOBAL (ACPI_SCI_HANDLER_INFO *, AcpiGbl_SciHandlerList);
229
230 /* Owner ID support */
231
232 ACPI_GLOBAL (UINT32, AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS]);
233 ACPI_GLOBAL (UINT8, AcpiGbl_LastOwnerIdIndex);
234 ACPI_GLOBAL (UINT8, AcpiGbl_NextOwnerIdOffset);
235
236 /* Initialization sequencing */
237
238 ACPI_GLOBAL (BOOLEAN, AcpiGbl_RegMethodsExecuted);
239
240 /* Misc */
241
242 ACPI_GLOBAL (UINT32, AcpiGbl_OriginalMode);
243 ACPI_GLOBAL (UINT32, AcpiGbl_NsLookupCount);
244 ACPI_GLOBAL (UINT32, AcpiGbl_PsFindCount);
245 ACPI_GLOBAL (UINT16, AcpiGbl_Pm1EnableRegisterSave);
246 ACPI_GLOBAL (UINT8, AcpiGbl_DebuggerConfiguration);
247 ACPI_GLOBAL (BOOLEAN, AcpiGbl_StepToNextCall);
248 ACPI_GLOBAL (BOOLEAN, AcpiGbl_AcpiHardwarePresent);
249 ACPI_GLOBAL (BOOLEAN, AcpiGbl_EventsInitialized);
250 ACPI_GLOBAL (ACPI_INTERFACE_INFO *, AcpiGbl_SupportedInterfaces);
251 ACPI_GLOBAL (ACPI_ADDRESS_RANGE *, AcpiGbl_AddressRangeList[ACPI_ADDRESS_RANGE_MAX]);
252
253 /* Other miscellaneous, declared and initialized in utglobal */
254
255 extern const char *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT];
256 extern const char *AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS];
257 extern const char *AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS];
258 extern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS];
259 extern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES];
260
261
262 #ifdef ACPI_DBG_TRACK_ALLOCATIONS
263
264 /* Lists for tracking memory allocations (debug only) */
265
266 ACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_GlobalList);
267 ACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_NsNodeList);
268 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DisplayFinalMemStats);
269 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DisableMemTracking);
270 #endif
271
272
273 /*****************************************************************************
274 *
275 * Namespace globals
276 *
277 ****************************************************************************/
278
279 #if !defined (ACPI_NO_METHOD_EXECUTION) || defined (ACPI_CONSTANT_EVAL_ONLY)
280 #define NUM_PREDEFINED_NAMES 10
281 #else
282 #define NUM_PREDEFINED_NAMES 9
283 #endif
284
285 ACPI_GLOBAL (ACPI_NAMESPACE_NODE, AcpiGbl_RootNodeStruct);
286 ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_RootNode);
287 ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_FadtGpeDevice);
288 ACPI_GLOBAL (ACPI_OPERAND_OBJECT *, AcpiGbl_ModuleCodeList);
289
290
291 extern const UINT8 AcpiGbl_NsProperties [ACPI_NUM_NS_TYPES];
292 extern const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames [NUM_PREDEFINED_NAMES];
293
294 #ifdef ACPI_DEBUG_OUTPUT
295 ACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeCount);
296 ACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeSize);
297 ACPI_GLOBAL (UINT32, AcpiGbl_MaxConcurrentNodeCount);
298 ACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_EntryStackPointer);
299 ACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_LowestStackPointer);
300 ACPI_GLOBAL (UINT32, AcpiGbl_DeepestNesting);
301 ACPI_INIT_GLOBAL (UINT32, AcpiGbl_NestingLevel, 0);
302 #endif
303
304
305 /*****************************************************************************
306 *
307 * Interpreter globals
308 *
309 ****************************************************************************/
310
311 ACPI_GLOBAL (ACPI_THREAD_STATE *, AcpiGbl_CurrentWalkList);
312
313 /* Control method single step flag */
314
315 ACPI_GLOBAL (UINT8, AcpiGbl_CmSingleStep);
316
317
318 /*****************************************************************************
319 *
320 * Hardware globals
321 *
322 ****************************************************************************/
323
324 extern ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG];
325
326 ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeA);
327 ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeB);
328
329
330 /*****************************************************************************
331 *
332 * Event and GPE globals
333 *
334 ****************************************************************************/
335
336 #if (!ACPI_REDUCED_HARDWARE)
337
338 ACPI_GLOBAL (UINT8, AcpiGbl_AllGpesInitialized);
339 ACPI_GLOBAL (ACPI_GPE_XRUPT_INFO *, AcpiGbl_GpeXruptListHead);
340 ACPI_GLOBAL (ACPI_GPE_BLOCK_INFO *, AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS]);
341 ACPI_GLOBAL (ACPI_GBL_EVENT_HANDLER, AcpiGbl_GlobalEventHandler);
342 ACPI_GLOBAL (void *, AcpiGbl_GlobalEventHandlerContext);
343 ACPI_GLOBAL (ACPI_FIXED_EVENT_HANDLER, AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS]);
344
345 extern ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS];
346
347 #endif /* !ACPI_REDUCED_HARDWARE */
348
349 /*****************************************************************************
350 *
351 * Debug support
352 *
353 ****************************************************************************/
354
355 /* Event counters */
356
357 ACPI_GLOBAL (UINT32, AcpiMethodCount);
358 ACPI_GLOBAL (UINT32, AcpiGpeCount);
359 ACPI_GLOBAL (UINT32, AcpiSciCount);
360 ACPI_GLOBAL (UINT32, AcpiFixedEventCount[ACPI_NUM_FIXED_EVENTS]);
361
362 /* Support for dynamic control method tracing mechanism */
363
364 ACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLevel);
365 ACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLayer);
366 ACPI_GLOBAL (UINT32, AcpiGbl_TraceDbgLevel);
367 ACPI_GLOBAL (UINT32, AcpiGbl_TraceDbgLayer);
368
369
370 /*****************************************************************************
371 *
372 * Debugger and Disassembler globals
373 *
374 ****************************************************************************/
375
376 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_DbOutputFlags, ACPI_DB_CONSOLE_OUTPUT);
377
378 #ifdef ACPI_DISASSEMBLER
379
380 /* Do not disassemble buffers to resource descriptors */
381
382 ACPI_INIT_GLOBAL (UINT8, AcpiGbl_NoResourceDisassembly, FALSE);
383 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_IgnoreNoopOperator, FALSE);
384 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_CstyleDisassembly, TRUE);
385
386 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_disasm);
387 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_verbose);
388 ACPI_GLOBAL (BOOLEAN, AcpiGbl_NumExternalMethods);
389 ACPI_GLOBAL (UINT32, AcpiGbl_ResolvedExternalMethods);
390 ACPI_GLOBAL (ACPI_EXTERNAL_LIST *, AcpiGbl_ExternalList);
391 ACPI_GLOBAL (ACPI_EXTERNAL_FILE *, AcpiGbl_ExternalFileList);
392 #endif
393
394 #ifdef ACPI_DEBUGGER
395
396 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DbTerminateThreads, FALSE);
397 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_AbortMethod, FALSE);
398 ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_MethodExecuting, FALSE);
399
400 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_tables);
401 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_stats);
402 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_ini_methods);
403 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoRegionSupport);
404 ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOutputToFile);
405 ACPI_GLOBAL (char *, AcpiGbl_DbBuffer);
406 ACPI_GLOBAL (char *, AcpiGbl_DbFilename);
407 ACPI_GLOBAL (UINT32, AcpiGbl_DbDebugLevel);
408 ACPI_GLOBAL (UINT32, AcpiGbl_DbConsoleDebugLevel);
409 ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_DbScopeNode);
410
411 ACPI_GLOBAL (char *, AcpiGbl_DbArgs[ACPI_DEBUGGER_MAX_ARGS]);
412 ACPI_GLOBAL (ACPI_OBJECT_TYPE, AcpiGbl_DbArgTypes[ACPI_DEBUGGER_MAX_ARGS]);
413
414 /* These buffers should all be the same size */
415
416 ACPI_GLOBAL (char, AcpiGbl_DbLineBuf[ACPI_DB_LINE_BUFFER_SIZE]);
417 ACPI_GLOBAL (char, AcpiGbl_DbParsedBuf[ACPI_DB_LINE_BUFFER_SIZE]);
418 ACPI_GLOBAL (char, AcpiGbl_DbScopeBuf[ACPI_DB_LINE_BUFFER_SIZE]);
419 ACPI_GLOBAL (char, AcpiGbl_DbDebugFilename[ACPI_DB_LINE_BUFFER_SIZE]);
420
421 /*
422 * Statistic globals
423 */
424 ACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCount[ACPI_TYPE_NS_NODE_MAX+1]);
425 ACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCount[ACPI_TYPE_NS_NODE_MAX+1]);
426 ACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCountMisc);
427 ACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCountMisc);
428 ACPI_GLOBAL (UINT32, AcpiGbl_NumNodes);
429 ACPI_GLOBAL (UINT32, AcpiGbl_NumObjects);
430
431 #endif /* ACPI_DEBUGGER */
432
433
434 /*****************************************************************************
435 *
436 * Application globals
437 *
438 ****************************************************************************/
439
440 #ifdef ACPI_APPLICATION
441
442 ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_DebugFile, NULL);
443 ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_OutputFile, NULL);
444
445 /* Print buffer */
446
447 ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_PrintLock); /* For print buffer */
448 ACPI_GLOBAL (char, AcpiGbl_PrintBuffer[1024]);
449
450 #endif /* ACPI_APPLICATION */
451
452
453 /*****************************************************************************
454 *
455 * Info/help support
456 *
457 ****************************************************************************/
458
459 extern const AH_PREDEFINED_NAME AslPredefinedInfo[];
460 extern const AH_DEVICE_ID AslDeviceIds[];
461
462
463 #endif /* __ACGLOBAL_H__ */