acglobal.h revision 216471
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 - 2010, 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 * Ensure that the globals are actually defined and initialized only once.
122 *
123 * The use of these macros allows a single list of globals (here) in order
124 * to simplify maintenance of the code.
125 */
126#ifdef DEFINE_ACPI_GLOBALS
127#define ACPI_EXTERN
128#define ACPI_INIT_GLOBAL(a,b) a=b
129#else
130#define ACPI_EXTERN extern
131#define ACPI_INIT_GLOBAL(a,b) a
132#endif
133
134
135#ifdef DEFINE_ACPI_GLOBALS
136
137/* Public globals, available from outside ACPICA subsystem */
138
139/*****************************************************************************
140 *
141 * Runtime configuration (static defaults that can be overriden at runtime)
142 *
143 ****************************************************************************/
144
145/*
146 * Enable "slack" in the AML interpreter?  Default is FALSE, and the
147 * interpreter strictly follows the ACPI specification.  Setting to TRUE
148 * allows the interpreter to ignore certain errors and/or bad AML constructs.
149 *
150 * Currently, these features are enabled by this flag:
151 *
152 * 1) Allow "implicit return" of last value in a control method
153 * 2) Allow access beyond the end of an operation region
154 * 3) Allow access to uninitialized locals/args (auto-init to integer 0)
155 * 4) Allow ANY object type to be a source operand for the Store() operator
156 * 5) Allow unresolved references (invalid target name) in package objects
157 * 6) Enable warning messages for behavior that is not ACPI spec compliant
158 */
159UINT8       ACPI_INIT_GLOBAL (AcpiGbl_EnableInterpreterSlack, FALSE);
160
161/*
162 * Automatically serialize ALL control methods? Default is FALSE, meaning
163 * to use the Serialized/NotSerialized method flags on a per method basis.
164 * Only change this if the ASL code is poorly written and cannot handle
165 * reentrancy even though methods are marked "NotSerialized".
166 */
167UINT8       ACPI_INIT_GLOBAL (AcpiGbl_AllMethodsSerialized, FALSE);
168
169/*
170 * Create the predefined _OSI method in the namespace? Default is TRUE
171 * because ACPI CA is fully compatible with other ACPI implementations.
172 * Changing this will revert ACPI CA (and machine ASL) to pre-OSI behavior.
173 */
174UINT8       ACPI_INIT_GLOBAL (AcpiGbl_CreateOsiMethod, TRUE);
175
176/*
177 * Optionally use default values for the ACPI register widths. Set this to
178 * TRUE to use the defaults, if an FADT contains incorrect widths/lengths.
179 */
180UINT8       ACPI_INIT_GLOBAL (AcpiGbl_UseDefaultRegisterWidths, TRUE);
181
182/*
183 * Optionally enable output from the AML Debug Object.
184 */
185UINT8       ACPI_INIT_GLOBAL (AcpiGbl_EnableAmlDebugObject, FALSE);
186
187/*
188 * Optionally copy the entire DSDT to local memory (instead of simply
189 * mapping it.) There are some BIOSs that corrupt or replace the original
190 * DSDT, creating the need for this option. Default is FALSE, do not copy
191 * the DSDT.
192 */
193UINT8       ACPI_INIT_GLOBAL (AcpiGbl_CopyDsdtLocally, FALSE);
194
195/*
196 * Optionally truncate I/O addresses to 16 bits. Provides compatibility
197 * with other ACPI implementations. NOTE: During ACPICA initialization,
198 * this value is set to TRUE if any Windows OSI strings have been
199 * requested by the BIOS.
200 */
201UINT8       ACPI_INIT_GLOBAL (AcpiGbl_TruncateIoAddresses, FALSE);
202
203
204/* AcpiGbl_FADT is a local copy of the FADT, converted to a common format. */
205
206ACPI_TABLE_FADT             AcpiGbl_FADT;
207UINT32                      AcpiCurrentGpeCount;
208UINT32                      AcpiGbl_TraceFlags;
209ACPI_NAME                   AcpiGbl_TraceMethodName;
210BOOLEAN                     AcpiGbl_SystemAwakeAndRunning;
211
212#endif
213
214/*****************************************************************************
215 *
216 * ACPI Table globals
217 *
218 ****************************************************************************/
219
220/*
221 * AcpiGbl_RootTableList is the master list of ACPI tables that were
222 * found in the RSDT/XSDT.
223 */
224ACPI_EXTERN ACPI_TABLE_LIST             AcpiGbl_RootTableList;
225ACPI_EXTERN ACPI_TABLE_FACS            *AcpiGbl_FACS;
226
227/* These addresses are calculated from the FADT Event Block addresses */
228
229ACPI_EXTERN ACPI_GENERIC_ADDRESS        AcpiGbl_XPm1aStatus;
230ACPI_EXTERN ACPI_GENERIC_ADDRESS        AcpiGbl_XPm1aEnable;
231
232ACPI_EXTERN ACPI_GENERIC_ADDRESS        AcpiGbl_XPm1bStatus;
233ACPI_EXTERN ACPI_GENERIC_ADDRESS        AcpiGbl_XPm1bEnable;
234
235/* DSDT information. Used to check for DSDT corruption */
236
237ACPI_EXTERN ACPI_TABLE_HEADER          *AcpiGbl_DSDT;
238ACPI_EXTERN ACPI_TABLE_HEADER           AcpiGbl_OriginalDsdtHeader;
239
240/*
241 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is
242 * determined by the revision of the DSDT: If the DSDT revision is less than
243 * 2, use only the lower 32 bits of the internal 64-bit Integer.
244 */
245ACPI_EXTERN UINT8                       AcpiGbl_IntegerBitWidth;
246ACPI_EXTERN UINT8                       AcpiGbl_IntegerByteWidth;
247ACPI_EXTERN UINT8                       AcpiGbl_IntegerNybbleWidth;
248
249
250/*****************************************************************************
251 *
252 * Mutual exlusion within ACPICA subsystem
253 *
254 ****************************************************************************/
255
256/*
257 * Predefined mutex objects. This array contains the
258 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs.
259 * (The table maps local handles to the real OS handles)
260 */
261ACPI_EXTERN ACPI_MUTEX_INFO             AcpiGbl_MutexInfo[ACPI_NUM_MUTEX];
262
263/*
264 * Global lock mutex is an actual AML mutex object
265 * Global lock semaphore works in conjunction with the HW global lock
266 */
267ACPI_EXTERN ACPI_OPERAND_OBJECT        *AcpiGbl_GlobalLockMutex;
268ACPI_EXTERN ACPI_SEMAPHORE              AcpiGbl_GlobalLockSemaphore;
269ACPI_EXTERN UINT16                      AcpiGbl_GlobalLockHandle;
270ACPI_EXTERN BOOLEAN                     AcpiGbl_GlobalLockAcquired;
271ACPI_EXTERN BOOLEAN                     AcpiGbl_GlobalLockPresent;
272
273/*
274 * Spinlocks are used for interfaces that can be possibly called at
275 * interrupt level
276 */
277ACPI_EXTERN ACPI_SPINLOCK               AcpiGbl_GpeLock;      /* For GPE data structs and registers */
278ACPI_EXTERN ACPI_SPINLOCK               AcpiGbl_HardwareLock; /* For ACPI H/W except GPE registers */
279
280/* Mutex for _OSI support */
281
282ACPI_EXTERN ACPI_MUTEX                  AcpiGbl_OsiMutex;
283
284/* Reader/Writer lock is used for namespace walk and dynamic table unload */
285
286ACPI_EXTERN ACPI_RW_LOCK                AcpiGbl_NamespaceRwLock;
287
288
289/*****************************************************************************
290 *
291 * Miscellaneous globals
292 *
293 ****************************************************************************/
294
295/* Object caches */
296
297ACPI_EXTERN ACPI_CACHE_T               *AcpiGbl_NamespaceCache;
298ACPI_EXTERN ACPI_CACHE_T               *AcpiGbl_StateCache;
299ACPI_EXTERN ACPI_CACHE_T               *AcpiGbl_PsNodeCache;
300ACPI_EXTERN ACPI_CACHE_T               *AcpiGbl_PsNodeExtCache;
301ACPI_EXTERN ACPI_CACHE_T               *AcpiGbl_OperandCache;
302
303/* Global handlers */
304
305ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER  AcpiGbl_DeviceNotify;
306ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER  AcpiGbl_SystemNotify;
307ACPI_EXTERN ACPI_EXCEPTION_HANDLER      AcpiGbl_ExceptionHandler;
308ACPI_EXTERN ACPI_INIT_HANDLER           AcpiGbl_InitHandler;
309ACPI_EXTERN ACPI_TABLE_HANDLER          AcpiGbl_TableHandler;
310ACPI_EXTERN void                       *AcpiGbl_TableHandlerContext;
311ACPI_EXTERN ACPI_WALK_STATE            *AcpiGbl_BreakpointWalk;
312ACPI_EXTERN ACPI_INTERFACE_HANDLER      AcpiGbl_InterfaceHandler;
313
314/* Owner ID support */
315
316ACPI_EXTERN UINT32                      AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS];
317ACPI_EXTERN UINT8                       AcpiGbl_LastOwnerIdIndex;
318ACPI_EXTERN UINT8                       AcpiGbl_NextOwnerIdOffset;
319
320/* Misc */
321
322ACPI_EXTERN UINT32                      AcpiGbl_OriginalMode;
323ACPI_EXTERN UINT32                      AcpiGbl_RsdpOriginalLocation;
324ACPI_EXTERN UINT32                      AcpiGbl_NsLookupCount;
325ACPI_EXTERN UINT32                      AcpiGbl_PsFindCount;
326ACPI_EXTERN UINT16                      AcpiGbl_Pm1EnableRegisterSave;
327ACPI_EXTERN UINT8                       AcpiGbl_DebuggerConfiguration;
328ACPI_EXTERN BOOLEAN                     AcpiGbl_StepToNextCall;
329ACPI_EXTERN BOOLEAN                     AcpiGbl_AcpiHardwarePresent;
330ACPI_EXTERN BOOLEAN                     AcpiGbl_EventsInitialized;
331ACPI_EXTERN UINT8                       AcpiGbl_OsiData;
332ACPI_EXTERN ACPI_INTERFACE_INFO        *AcpiGbl_SupportedInterfaces;
333
334
335#ifndef DEFINE_ACPI_GLOBALS
336
337/* Exception codes */
338
339extern char const                       *AcpiGbl_ExceptionNames_Env[];
340extern char const                       *AcpiGbl_ExceptionNames_Pgm[];
341extern char const                       *AcpiGbl_ExceptionNames_Tbl[];
342extern char const                       *AcpiGbl_ExceptionNames_Aml[];
343extern char const                       *AcpiGbl_ExceptionNames_Ctrl[];
344
345/* Other miscellaneous */
346
347extern BOOLEAN                          AcpiGbl_Shutdown;
348extern UINT32                           AcpiGbl_StartupFlags;
349extern const char                      *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT];
350extern const char                      *AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS];
351extern const char                      *AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS];
352extern const ACPI_OPCODE_INFO           AcpiGbl_AmlOpInfo[AML_NUM_OPCODES];
353extern const char                      *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS];
354#endif
355
356
357#ifdef ACPI_DBG_TRACK_ALLOCATIONS
358
359/* Lists for tracking memory allocations */
360
361ACPI_EXTERN ACPI_MEMORY_LIST           *AcpiGbl_GlobalList;
362ACPI_EXTERN ACPI_MEMORY_LIST           *AcpiGbl_NsNodeList;
363ACPI_EXTERN BOOLEAN                     AcpiGbl_DisplayFinalMemStats;
364ACPI_EXTERN BOOLEAN                     AcpiGbl_DisableMemTracking;
365#endif
366
367
368/*****************************************************************************
369 *
370 * Namespace globals
371 *
372 ****************************************************************************/
373
374#if !defined (ACPI_NO_METHOD_EXECUTION) || defined (ACPI_CONSTANT_EVAL_ONLY)
375#define NUM_PREDEFINED_NAMES            10
376#else
377#define NUM_PREDEFINED_NAMES            9
378#endif
379
380ACPI_EXTERN ACPI_NAMESPACE_NODE         AcpiGbl_RootNodeStruct;
381ACPI_EXTERN ACPI_NAMESPACE_NODE        *AcpiGbl_RootNode;
382ACPI_EXTERN ACPI_NAMESPACE_NODE        *AcpiGbl_FadtGpeDevice;
383ACPI_EXTERN ACPI_OPERAND_OBJECT        *AcpiGbl_ModuleCodeList;
384
385
386extern const UINT8                      AcpiGbl_NsProperties [ACPI_NUM_NS_TYPES];
387extern const ACPI_PREDEFINED_NAMES      AcpiGbl_PreDefinedNames [NUM_PREDEFINED_NAMES];
388
389#ifdef ACPI_DEBUG_OUTPUT
390ACPI_EXTERN UINT32                      AcpiGbl_CurrentNodeCount;
391ACPI_EXTERN UINT32                      AcpiGbl_CurrentNodeSize;
392ACPI_EXTERN UINT32                      AcpiGbl_MaxConcurrentNodeCount;
393ACPI_EXTERN ACPI_SIZE                  *AcpiGbl_EntryStackPointer;
394ACPI_EXTERN ACPI_SIZE                  *AcpiGbl_LowestStackPointer;
395ACPI_EXTERN UINT32                      AcpiGbl_DeepestNesting;
396#endif
397
398
399/*****************************************************************************
400 *
401 * Interpreter globals
402 *
403 ****************************************************************************/
404
405
406ACPI_EXTERN ACPI_THREAD_STATE          *AcpiGbl_CurrentWalkList;
407
408/* Control method single step flag */
409
410ACPI_EXTERN UINT8                       AcpiGbl_CmSingleStep;
411
412
413/*****************************************************************************
414 *
415 * Hardware globals
416 *
417 ****************************************************************************/
418
419extern      ACPI_BIT_REGISTER_INFO      AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG];
420ACPI_EXTERN UINT8                       AcpiGbl_SleepTypeA;
421ACPI_EXTERN UINT8                       AcpiGbl_SleepTypeB;
422
423
424/*****************************************************************************
425 *
426 * Event and GPE globals
427 *
428 ****************************************************************************/
429
430ACPI_EXTERN UINT8                       AcpiGbl_AllGpesInitialized;
431ACPI_EXTERN ACPI_GPE_XRUPT_INFO        *AcpiGbl_GpeXruptListHead;
432ACPI_EXTERN ACPI_GPE_BLOCK_INFO        *AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS];
433ACPI_EXTERN ACPI_GBL_EVENT_HANDLER      AcpiGbl_GlobalEventHandler;
434ACPI_EXTERN void                       *AcpiGbl_GlobalEventHandlerContext;
435ACPI_EXTERN ACPI_FIXED_EVENT_HANDLER    AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS];
436extern      ACPI_FIXED_EVENT_INFO       AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS];
437
438
439/*****************************************************************************
440 *
441 * Debug support
442 *
443 ****************************************************************************/
444
445/* Procedure nesting level for debug output */
446
447extern      UINT32                      AcpiGbl_NestingLevel;
448
449/* Event counters */
450
451ACPI_EXTERN UINT32                      AcpiMethodCount;
452ACPI_EXTERN UINT32                      AcpiGpeCount;
453ACPI_EXTERN UINT32                      AcpiSciCount;
454ACPI_EXTERN UINT32                      AcpiFixedEventCount[ACPI_NUM_FIXED_EVENTS];
455
456/* Support for dynamic control method tracing mechanism */
457
458ACPI_EXTERN UINT32                      AcpiGbl_OriginalDbgLevel;
459ACPI_EXTERN UINT32                      AcpiGbl_OriginalDbgLayer;
460ACPI_EXTERN UINT32                      AcpiGbl_TraceDbgLevel;
461ACPI_EXTERN UINT32                      AcpiGbl_TraceDbgLayer;
462
463
464/*****************************************************************************
465 *
466 * Debugger globals
467 *
468 ****************************************************************************/
469
470ACPI_EXTERN UINT8                       AcpiGbl_DbOutputFlags;
471
472#ifdef ACPI_DISASSEMBLER
473
474ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_disasm;
475ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_verbose;
476ACPI_EXTERN ACPI_EXTERNAL_LIST         *AcpiGbl_ExternalList;
477ACPI_EXTERN ACPI_EXTERNAL_FILE         *AcpiGbl_ExternalFileList;
478#endif
479
480
481#ifdef ACPI_DEBUGGER
482
483extern      BOOLEAN                     AcpiGbl_MethodExecuting;
484extern      BOOLEAN                     AcpiGbl_AbortMethod;
485extern      BOOLEAN                     AcpiGbl_DbTerminateThreads;
486
487ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_tables;
488ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_stats;
489ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_ini_methods;
490ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOpt_NoRegionSupport;
491
492ACPI_EXTERN char                       *AcpiGbl_DbArgs[ACPI_DEBUGGER_MAX_ARGS];
493ACPI_EXTERN char                        AcpiGbl_DbLineBuf[80];
494ACPI_EXTERN char                        AcpiGbl_DbParsedBuf[80];
495ACPI_EXTERN char                        AcpiGbl_DbScopeBuf[40];
496ACPI_EXTERN char                        AcpiGbl_DbDebugFilename[40];
497ACPI_EXTERN BOOLEAN                     AcpiGbl_DbOutputToFile;
498ACPI_EXTERN char                       *AcpiGbl_DbBuffer;
499ACPI_EXTERN char                       *AcpiGbl_DbFilename;
500ACPI_EXTERN UINT32                      AcpiGbl_DbDebugLevel;
501ACPI_EXTERN UINT32                      AcpiGbl_DbConsoleDebugLevel;
502ACPI_EXTERN ACPI_NAMESPACE_NODE        *AcpiGbl_DbScopeNode;
503
504/*
505 * Statistic globals
506 */
507ACPI_EXTERN UINT16                      AcpiGbl_ObjTypeCount[ACPI_TYPE_NS_NODE_MAX+1];
508ACPI_EXTERN UINT16                      AcpiGbl_NodeTypeCount[ACPI_TYPE_NS_NODE_MAX+1];
509ACPI_EXTERN UINT16                      AcpiGbl_ObjTypeCountMisc;
510ACPI_EXTERN UINT16                      AcpiGbl_NodeTypeCountMisc;
511ACPI_EXTERN UINT32                      AcpiGbl_NumNodes;
512ACPI_EXTERN UINT32                      AcpiGbl_NumObjects;
513
514
515ACPI_EXTERN UINT32                      AcpiGbl_SizeOfParseTree;
516ACPI_EXTERN UINT32                      AcpiGbl_SizeOfMethodTrees;
517ACPI_EXTERN UINT32                      AcpiGbl_SizeOfNodeEntries;
518ACPI_EXTERN UINT32                      AcpiGbl_SizeOfAcpiObjects;
519
520#endif /* ACPI_DEBUGGER */
521
522#endif /* __ACGLOBAL_H__ */
523