acglobal.h revision 198237
124139Sjoerg/****************************************************************************** 224139Sjoerg * 324139Sjoerg * Name: acglobal.h - Declarations for global variables 424139Sjoerg * 524139Sjoerg *****************************************************************************/ 689750Sdwmalone 724139Sjoerg/****************************************************************************** 824139Sjoerg * 924139Sjoerg * 1. Copyright Notice 1024139Sjoerg * 1124139Sjoerg * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp. 1224139Sjoerg * All rights reserved. 1324139Sjoerg * 1424139Sjoerg * 2. License 1524139Sjoerg * 1624139Sjoerg * 2.1. This is your license from Intel Corp. under its intellectual property 1724139Sjoerg * rights. You may have additional license terms from the party that provided 1824139Sjoerg * you this software, covering your right to use that party's intellectual 1924139Sjoerg * property rights. 2024139Sjoerg * 2124139Sjoerg * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 2224139Sjoerg * copy of the source code appearing in this file ("Covered Code") an 2324139Sjoerg * irrevocable, perpetual, worldwide license under Intel's copyrights in the 2424139Sjoerg * base code distributed originally by Intel ("Original Intel Code") to copy, 2524139Sjoerg * make derivatives, distribute, use and display any portion of the Covered 2624139Sjoerg * Code in any form, with the right to sublicense such rights; and 2724139Sjoerg * 2824139Sjoerg * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 2924139Sjoerg * license (with the right to sublicense), under only those claims of Intel 3024139Sjoerg * patents that are infringed by the Original Intel Code, to make, use, sell, 3124139Sjoerg * offer to sell, and import the Covered Code and derivative works thereof 3224139Sjoerg * solely to the minimum extent necessary to exercise the above copyright 3324139Sjoerg * license, and in no event shall the patent license extend to any additions 3424139Sjoerg * to or modifications of the Original Intel Code. No other license or right 3524139Sjoerg * is granted directly or by implication, estoppel or otherwise; 3624139Sjoerg * 3724139Sjoerg * The above copyright and patent license is granted only if the following 3824139Sjoerg * conditions are met: 3924139Sjoerg * 4024139Sjoerg * 3. Conditions 4124139Sjoerg * 4224139Sjoerg * 3.1. Redistribution of Source with Rights to Further Distribute Source. 4324139Sjoerg * Redistribution of source code of any substantial portion of the Covered 4424139Sjoerg * Code or modification with rights to further distribute source must include 4524139Sjoerg * the above Copyright Notice, the above License, this list of Conditions, 4624139Sjoerg * and the following Disclaimer and Export Compliance provision. In addition, 4724139Sjoerg * Licensee must cause all Covered Code to which Licensee contributes to 4824139Sjoerg * contain a file documenting the changes Licensee made to create that Covered 4924139Sjoerg * Code and the date of any change. Licensee must include in that file the 5024139Sjoerg * documentation of any changes made by any predecessor Licensee. Licensee 5124139Sjoerg * must include a prominent statement that the modification is derived, 5224139Sjoerg * directly or indirectly, from Original Intel Code. 5324139Sjoerg * 5424139Sjoerg * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 5524139Sjoerg * Redistribution of source code of any substantial portion of the Covered 5624139Sjoerg * Code or modification without rights to further distribute source must 5724139Sjoerg * include the following Disclaimer and Export Compliance provision in the 5824139Sjoerg * documentation and/or other materials provided with distribution. In 5924139Sjoerg * addition, Licensee may not authorize further sublicense of source of any 6024139Sjoerg * portion of the Covered Code, and must include terms to the effect that the 6124139Sjoerg * license from Licensee to its licensee is limited to the intellectual 6224139Sjoerg * property embodied in the software Licensee provides to its licensee, and 6324139Sjoerg * not to intellectual property embodied in modifications its licensee may 6424139Sjoerg * make. 6524139Sjoerg * 6624139Sjoerg * 3.3. Redistribution of Executable. Redistribution in executable form of any 6724139Sjoerg * substantial portion of the Covered Code or modification must reproduce the 6824139Sjoerg * above Copyright Notice, and the following Disclaimer and Export Compliance 6924139Sjoerg * provision in the documentation and/or other materials provided with the 7024139Sjoerg * distribution. 7124139Sjoerg * 7224139Sjoerg * 3.4. Intel retains all right, title, and interest in and to the Original 7324139Sjoerg * Intel Code. 7424139Sjoerg * 7524139Sjoerg * 3.5. Neither the name Intel nor any other trademark owned or controlled by 7624139Sjoerg * Intel shall be used in advertising or otherwise to promote the sale, use or 7724139Sjoerg * other dealings in products derived from or relating to the Covered Code 7824139Sjoerg * without prior written authorization from Intel. 7924139Sjoerg * 8024139Sjoerg * 4. Disclaimer and Export Compliance 8124139Sjoerg * 8224139Sjoerg * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED 8324139Sjoerg * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE 8424139Sjoerg * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, 8524139Sjoerg * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY 8624139Sjoerg * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY 8724139Sjoerg * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A 8824139Sjoerg * PARTICULAR PURPOSE. 8924139Sjoerg * 9024139Sjoerg * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES 9124139Sjoerg * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR 9224139Sjoerg * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, 9324139Sjoerg * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY 9424139Sjoerg * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL 9524139Sjoerg * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS 9624139Sjoerg * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY 9724139Sjoerg * LIMITED REMEDY. 9824139Sjoerg * 9924139Sjoerg * 4.3. Licensee shall not export, either directly or indirectly, any of this 10024139Sjoerg * software or system incorporating such software without first obtaining any 10124139Sjoerg * required license or other approval from the U. S. Department of Commerce or 10224139Sjoerg * any other agency or department of the United States Government. In the 10324139Sjoerg * event Licensee exports any such software from the United States or 10424139Sjoerg * re-exports any such software from a foreign destination, Licensee shall 10524139Sjoerg * ensure that the distribution and export/re-export of the software is in 10624139Sjoerg * compliance with all laws, regulations, orders, or other restrictions of the 10724139Sjoerg * U.S. Export Administration Regulations. Licensee agrees that neither it nor 10824139Sjoerg * any of its subsidiaries will export/re-export any technical data, process, 10924139Sjoerg * software, or service, directly or indirectly, to any country for which the 11024139Sjoerg * United States government or any agency thereof requires an export license, 11124139Sjoerg * other governmental approval, or letter of assurance, without first obtaining 11224139Sjoerg * such license, approval or letter. 11324139Sjoerg * 11424139Sjoerg *****************************************************************************/ 11524139Sjoerg 11624139Sjoerg#ifndef __ACGLOBAL_H__ 11724139Sjoerg#define __ACGLOBAL_H__ 11824139Sjoerg 11924139Sjoerg 12024139Sjoerg/* 12124139Sjoerg * Ensure that the globals are actually defined and initialized only once. 12224139Sjoerg * 12324139Sjoerg * The use of these macros allows a single list of globals (here) in order 12424139Sjoerg * to simplify maintenance of the code. 12524139Sjoerg */ 12624139Sjoerg#ifdef DEFINE_ACPI_GLOBALS 12724139Sjoerg#define ACPI_EXTERN 12824139Sjoerg#define ACPI_INIT_GLOBAL(a,b) a=b 12924139Sjoerg#else 13024139Sjoerg#define ACPI_EXTERN extern 13124139Sjoerg#define ACPI_INIT_GLOBAL(a,b) a 13224139Sjoerg#endif 13324139Sjoerg 13424139Sjoerg 13524139Sjoerg#ifdef DEFINE_ACPI_GLOBALS 13624139Sjoerg 13724139Sjoerg/* Public globals, available from outside ACPICA subsystem */ 13824139Sjoerg 13924139Sjoerg/***************************************************************************** 14024139Sjoerg * 14124139Sjoerg * Runtime configuration (static defaults that can be overriden at runtime) 14224139Sjoerg * 14324139Sjoerg ****************************************************************************/ 14424139Sjoerg 14524139Sjoerg/* 14624139Sjoerg * Enable "slack" in the AML interpreter? Default is FALSE, and the 14724139Sjoerg * interpreter strictly follows the ACPI specification. Setting to TRUE 14824139Sjoerg * allows the interpreter to ignore certain errors and/or bad AML constructs. 14924139Sjoerg * 15024139Sjoerg * Currently, these features are enabled by this flag: 15124139Sjoerg * 15224139Sjoerg * 1) Allow "implicit return" of last value in a control method 15324139Sjoerg * 2) Allow access beyond the end of an operation region 15424139Sjoerg * 3) Allow access to uninitialized locals/args (auto-init to integer 0) 15524139Sjoerg * 4) Allow ANY object type to be a source operand for the Store() operator 15624139Sjoerg * 5) Allow unresolved references (invalid target name) in package objects 15724139Sjoerg * 6) Enable warning messages for behavior that is not ACPI spec compliant 15824139Sjoerg */ 15924139SjoergUINT8 ACPI_INIT_GLOBAL (AcpiGbl_EnableInterpreterSlack, FALSE); 16024139Sjoerg 16124139Sjoerg/* 16224139Sjoerg * Automatically serialize ALL control methods? Default is FALSE, meaning 16324139Sjoerg * to use the Serialized/NotSerialized method flags on a per method basis. 16424139Sjoerg * Only change this if the ASL code is poorly written and cannot handle 16524139Sjoerg * 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 * Disable wakeup GPEs during runtime? Default is TRUE because WAKE and 178 * RUNTIME GPEs should never be shared, and WAKE GPEs should typically only 179 * be enabled just before going to sleep. 180 */ 181UINT8 ACPI_INIT_GLOBAL (AcpiGbl_LeaveWakeGpesDisabled, TRUE); 182 183/* 184 * Optionally use default values for the ACPI register widths. Set this to 185 * TRUE to use the defaults, if an FADT contains incorrect widths/lengths. 186 */ 187UINT8 ACPI_INIT_GLOBAL (AcpiGbl_UseDefaultRegisterWidths, TRUE); 188 189 190/* AcpiGbl_FADT is a local copy of the FADT, converted to a common format. */ 191 192ACPI_TABLE_FADT AcpiGbl_FADT; 193UINT32 AcpiCurrentGpeCount; 194UINT32 AcpiGbl_TraceFlags; 195ACPI_NAME AcpiGbl_TraceMethodName; 196 197#endif 198 199/***************************************************************************** 200 * 201 * ACPI Table globals 202 * 203 ****************************************************************************/ 204 205/* 206 * AcpiGbl_RootTableList is the master list of ACPI tables found in the 207 * RSDT/XSDT. 208 * 209 */ 210ACPI_EXTERN ACPI_INTERNAL_RSDT AcpiGbl_RootTableList; 211ACPI_EXTERN ACPI_TABLE_FACS *AcpiGbl_FACS; 212 213/* These addresses are calculated from the FADT Event Block addresses */ 214 215ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aStatus; 216ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aEnable; 217 218ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bStatus; 219ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bEnable; 220 221/* 222 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is 223 * determined by the revision of the DSDT: If the DSDT revision is less than 224 * 2, use only the lower 32 bits of the internal 64-bit Integer. 225 */ 226ACPI_EXTERN UINT8 AcpiGbl_IntegerBitWidth; 227ACPI_EXTERN UINT8 AcpiGbl_IntegerByteWidth; 228ACPI_EXTERN UINT8 AcpiGbl_IntegerNybbleWidth; 229 230 231/***************************************************************************** 232 * 233 * Mutual exlusion within ACPICA subsystem 234 * 235 ****************************************************************************/ 236 237/* 238 * Predefined mutex objects. This array contains the 239 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs. 240 * (The table maps local handles to the real OS handles) 241 */ 242ACPI_EXTERN ACPI_MUTEX_INFO AcpiGbl_MutexInfo[ACPI_NUM_MUTEX]; 243 244/* 245 * Global lock mutex is an actual AML mutex object 246 * Global lock semaphore works in conjunction with the HW global lock 247 */ 248ACPI_EXTERN ACPI_OPERAND_OBJECT *AcpiGbl_GlobalLockMutex; 249ACPI_EXTERN ACPI_SEMAPHORE AcpiGbl_GlobalLockSemaphore; 250ACPI_EXTERN UINT16 AcpiGbl_GlobalLockHandle; 251ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockAcquired; 252ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockPresent; 253 254/* 255 * Spinlocks are used for interfaces that can be possibly called at 256 * interrupt level 257 */ 258ACPI_EXTERN ACPI_SPINLOCK AcpiGbl_GpeLock; /* For GPE data structs and registers */ 259ACPI_EXTERN ACPI_SPINLOCK AcpiGbl_HardwareLock; /* For ACPI H/W except GPE registers */ 260 261/* Reader/Writer lock is used for namespace walk and dynamic table unload */ 262 263ACPI_EXTERN ACPI_RW_LOCK AcpiGbl_NamespaceRwLock; 264 265 266/***************************************************************************** 267 * 268 * Miscellaneous globals 269 * 270 ****************************************************************************/ 271 272/* Object caches */ 273 274ACPI_EXTERN ACPI_CACHE_T *AcpiGbl_NamespaceCache; 275ACPI_EXTERN ACPI_CACHE_T *AcpiGbl_StateCache; 276ACPI_EXTERN ACPI_CACHE_T *AcpiGbl_PsNodeCache; 277ACPI_EXTERN ACPI_CACHE_T *AcpiGbl_PsNodeExtCache; 278ACPI_EXTERN ACPI_CACHE_T *AcpiGbl_OperandCache; 279 280/* Global handlers */ 281 282ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER AcpiGbl_DeviceNotify; 283ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER AcpiGbl_SystemNotify; 284ACPI_EXTERN ACPI_EXCEPTION_HANDLER AcpiGbl_ExceptionHandler; 285ACPI_EXTERN ACPI_INIT_HANDLER AcpiGbl_InitHandler; 286ACPI_EXTERN ACPI_TABLE_HANDLER AcpiGbl_TableHandler; 287ACPI_EXTERN void *AcpiGbl_TableHandlerContext; 288ACPI_EXTERN ACPI_WALK_STATE *AcpiGbl_BreakpointWalk; 289 290 291/* Owner ID support */ 292 293ACPI_EXTERN UINT32 AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS]; 294ACPI_EXTERN UINT8 AcpiGbl_LastOwnerIdIndex; 295ACPI_EXTERN UINT8 AcpiGbl_NextOwnerIdOffset; 296 297/* Misc */ 298 299ACPI_EXTERN UINT32 AcpiGbl_OriginalMode; 300ACPI_EXTERN UINT32 AcpiGbl_RsdpOriginalLocation; 301ACPI_EXTERN UINT32 AcpiGbl_NsLookupCount; 302ACPI_EXTERN UINT32 AcpiGbl_PsFindCount; 303ACPI_EXTERN UINT16 AcpiGbl_Pm1EnableRegisterSave; 304ACPI_EXTERN UINT8 AcpiGbl_DebuggerConfiguration; 305ACPI_EXTERN BOOLEAN AcpiGbl_StepToNextCall; 306ACPI_EXTERN BOOLEAN AcpiGbl_AcpiHardwarePresent; 307ACPI_EXTERN BOOLEAN AcpiGbl_EventsInitialized; 308ACPI_EXTERN BOOLEAN AcpiGbl_SystemAwakeAndRunning; 309ACPI_EXTERN UINT8 AcpiGbl_OsiData; 310 311 312#ifndef DEFINE_ACPI_GLOBALS 313 314/* Exception codes */ 315 316extern char const *AcpiGbl_ExceptionNames_Env[]; 317extern char const *AcpiGbl_ExceptionNames_Pgm[]; 318extern char const *AcpiGbl_ExceptionNames_Tbl[]; 319extern char const *AcpiGbl_ExceptionNames_Aml[]; 320extern char const *AcpiGbl_ExceptionNames_Ctrl[]; 321 322/* Other miscellaneous */ 323 324extern BOOLEAN AcpiGbl_Shutdown; 325extern UINT32 AcpiGbl_StartupFlags; 326extern const char *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT]; 327extern const char *AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS]; 328extern const char *AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS]; 329extern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES]; 330extern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS]; 331#endif 332 333 334#ifdef ACPI_DBG_TRACK_ALLOCATIONS 335 336/* Lists for tracking memory allocations */ 337 338ACPI_EXTERN ACPI_MEMORY_LIST *AcpiGbl_GlobalList; 339ACPI_EXTERN ACPI_MEMORY_LIST *AcpiGbl_NsNodeList; 340ACPI_EXTERN BOOLEAN AcpiGbl_DisplayFinalMemStats; 341#endif 342 343 344/***************************************************************************** 345 * 346 * Namespace globals 347 * 348 ****************************************************************************/ 349 350#if !defined (ACPI_NO_METHOD_EXECUTION) || defined (ACPI_CONSTANT_EVAL_ONLY) 351#define NUM_PREDEFINED_NAMES 10 352#else 353#define NUM_PREDEFINED_NAMES 9 354#endif 355 356ACPI_EXTERN ACPI_NAMESPACE_NODE AcpiGbl_RootNodeStruct; 357ACPI_EXTERN ACPI_NAMESPACE_NODE *AcpiGbl_RootNode; 358ACPI_EXTERN ACPI_NAMESPACE_NODE *AcpiGbl_FadtGpeDevice; 359ACPI_EXTERN ACPI_OPERAND_OBJECT *AcpiGbl_ModuleCodeList; 360 361 362extern const UINT8 AcpiGbl_NsProperties [ACPI_NUM_NS_TYPES]; 363extern const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames [NUM_PREDEFINED_NAMES]; 364 365#ifdef ACPI_DEBUG_OUTPUT 366ACPI_EXTERN UINT32 AcpiGbl_CurrentNodeCount; 367ACPI_EXTERN UINT32 AcpiGbl_CurrentNodeSize; 368ACPI_EXTERN UINT32 AcpiGbl_MaxConcurrentNodeCount; 369ACPI_EXTERN ACPI_SIZE *AcpiGbl_EntryStackPointer; 370ACPI_EXTERN ACPI_SIZE *AcpiGbl_LowestStackPointer; 371ACPI_EXTERN UINT32 AcpiGbl_DeepestNesting; 372#endif 373 374 375/***************************************************************************** 376 * 377 * Interpreter globals 378 * 379 ****************************************************************************/ 380 381 382ACPI_EXTERN ACPI_THREAD_STATE *AcpiGbl_CurrentWalkList; 383 384/* Control method single step flag */ 385 386ACPI_EXTERN UINT8 AcpiGbl_CmSingleStep; 387 388 389/***************************************************************************** 390 * 391 * Hardware globals 392 * 393 ****************************************************************************/ 394 395extern ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG]; 396ACPI_EXTERN UINT8 AcpiGbl_SleepTypeA; 397ACPI_EXTERN UINT8 AcpiGbl_SleepTypeB; 398 399 400/***************************************************************************** 401 * 402 * Event and GPE globals 403 * 404 ****************************************************************************/ 405 406extern ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]; 407ACPI_EXTERN ACPI_FIXED_EVENT_HANDLER AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS]; 408ACPI_EXTERN ACPI_GPE_XRUPT_INFO *AcpiGbl_GpeXruptListHead; 409ACPI_EXTERN ACPI_GPE_BLOCK_INFO *AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS]; 410 411 412/***************************************************************************** 413 * 414 * Debug support 415 * 416 ****************************************************************************/ 417 418/* Procedure nesting level for debug output */ 419 420extern UINT32 AcpiGbl_NestingLevel; 421 422/* Event counters */ 423 424ACPI_EXTERN UINT32 AcpiMethodCount; 425ACPI_EXTERN UINT32 AcpiGpeCount; 426ACPI_EXTERN UINT32 AcpiSciCount; 427ACPI_EXTERN UINT32 AcpiFixedEventCount[ACPI_NUM_FIXED_EVENTS]; 428 429/* Support for dynamic control method tracing mechanism */ 430 431ACPI_EXTERN UINT32 AcpiGbl_OriginalDbgLevel; 432ACPI_EXTERN UINT32 AcpiGbl_OriginalDbgLayer; 433ACPI_EXTERN UINT32 AcpiGbl_TraceDbgLevel; 434ACPI_EXTERN UINT32 AcpiGbl_TraceDbgLayer; 435 436 437/***************************************************************************** 438 * 439 * Debugger globals 440 * 441 ****************************************************************************/ 442 443ACPI_EXTERN UINT8 AcpiGbl_DbOutputFlags; 444 445#ifdef ACPI_DISASSEMBLER 446 447ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_disasm; 448ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_verbose; 449ACPI_EXTERN ACPI_EXTERNAL_LIST *AcpiGbl_ExternalList; 450#endif 451 452 453#ifdef ACPI_DEBUGGER 454 455extern BOOLEAN AcpiGbl_MethodExecuting; 456extern BOOLEAN AcpiGbl_AbortMethod; 457extern BOOLEAN AcpiGbl_DbTerminateThreads; 458 459ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_tables; 460ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_stats; 461ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_ini_methods; 462ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_NoRegionSupport; 463 464ACPI_EXTERN char *AcpiGbl_DbArgs[ACPI_DEBUGGER_MAX_ARGS]; 465ACPI_EXTERN char AcpiGbl_DbLineBuf[80]; 466ACPI_EXTERN char AcpiGbl_DbParsedBuf[80]; 467ACPI_EXTERN char AcpiGbl_DbScopeBuf[40]; 468ACPI_EXTERN char AcpiGbl_DbDebugFilename[40]; 469ACPI_EXTERN BOOLEAN AcpiGbl_DbOutputToFile; 470ACPI_EXTERN char *AcpiGbl_DbBuffer; 471ACPI_EXTERN char *AcpiGbl_DbFilename; 472ACPI_EXTERN UINT32 AcpiGbl_DbDebugLevel; 473ACPI_EXTERN UINT32 AcpiGbl_DbConsoleDebugLevel; 474ACPI_EXTERN ACPI_NAMESPACE_NODE *AcpiGbl_DbScopeNode; 475 476/* 477 * Statistic globals 478 */ 479ACPI_EXTERN UINT16 AcpiGbl_ObjTypeCount[ACPI_TYPE_NS_NODE_MAX+1]; 480ACPI_EXTERN UINT16 AcpiGbl_NodeTypeCount[ACPI_TYPE_NS_NODE_MAX+1]; 481ACPI_EXTERN UINT16 AcpiGbl_ObjTypeCountMisc; 482ACPI_EXTERN UINT16 AcpiGbl_NodeTypeCountMisc; 483ACPI_EXTERN UINT32 AcpiGbl_NumNodes; 484ACPI_EXTERN UINT32 AcpiGbl_NumObjects; 485 486 487ACPI_EXTERN UINT32 AcpiGbl_SizeOfParseTree; 488ACPI_EXTERN UINT32 AcpiGbl_SizeOfMethodTrees; 489ACPI_EXTERN UINT32 AcpiGbl_SizeOfNodeEntries; 490ACPI_EXTERN UINT32 AcpiGbl_SizeOfAcpiObjects; 491 492#endif /* ACPI_DEBUGGER */ 493 494#endif /* __ACGLOBAL_H__ */ 495