167754Smsmith/****************************************************************************** 267754Smsmith * 367754Smsmith * Name: acglobal.h - Declarations for global variables 467754Smsmith * 567754Smsmith *****************************************************************************/ 667754Smsmith 7217365Sjkim/* 8281075Sdim * Copyright (C) 2000 - 2015, Intel Corp. 970243Smsmith * All rights reserved. 1067754Smsmith * 11217365Sjkim * Redistribution and use in source and binary forms, with or without 12217365Sjkim * modification, are permitted provided that the following conditions 13217365Sjkim * are met: 14217365Sjkim * 1. Redistributions of source code must retain the above copyright 15217365Sjkim * notice, this list of conditions, and the following disclaimer, 16217365Sjkim * without modification. 17217365Sjkim * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18217365Sjkim * substantially similar to the "NO WARRANTY" disclaimer below 19217365Sjkim * ("Disclaimer") and any redistribution must be conditioned upon 20217365Sjkim * including a substantially similar Disclaimer requirement for further 21217365Sjkim * binary redistribution. 22217365Sjkim * 3. Neither the names of the above-listed copyright holders nor the names 23217365Sjkim * of any contributors may be used to endorse or promote products derived 24217365Sjkim * from this software without specific prior written permission. 2567754Smsmith * 26217365Sjkim * Alternatively, this software may be distributed under the terms of the 27217365Sjkim * GNU General Public License ("GPL") version 2 as published by the Free 28217365Sjkim * Software Foundation. 2967754Smsmith * 30217365Sjkim * NO WARRANTY 31217365Sjkim * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32217365Sjkim * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33217365Sjkim * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 34217365Sjkim * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35217365Sjkim * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36217365Sjkim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37217365Sjkim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38217365Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39217365Sjkim * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40217365Sjkim * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41217365Sjkim * POSSIBILITY OF SUCH DAMAGES. 42217365Sjkim */ 4367754Smsmith 4467754Smsmith#ifndef __ACGLOBAL_H__ 4567754Smsmith#define __ACGLOBAL_H__ 4667754Smsmith 4767754Smsmith 4867754Smsmith/***************************************************************************** 4967754Smsmith * 50281075Sdim * Globals related to the ACPI tables 51127175Snjl * 52127175Snjl ****************************************************************************/ 5367754Smsmith 54281075Sdim/* Master list of all ACPI tables that were found in the RSDT/XSDT */ 55127175Snjl 56281075SdimACPI_GLOBAL (ACPI_TABLE_LIST, AcpiGbl_RootTableList); 57128212Snjl 58281075Sdim/* DSDT information. Used to check for DSDT corruption */ 59138287Smarks 60281075SdimACPI_GLOBAL (ACPI_TABLE_HEADER *, AcpiGbl_DSDT); 61281075SdimACPI_GLOBAL (ACPI_TABLE_HEADER, AcpiGbl_OriginalDsdtHeader); 62128212Snjl 63231844Sjkim#if (!ACPI_REDUCED_HARDWARE) 64281075SdimACPI_GLOBAL (ACPI_TABLE_FACS *, AcpiGbl_FACS); 6569450Smsmith 66231844Sjkim#endif /* !ACPI_REDUCED_HARDWARE */ 67231844Sjkim 68193267Sjkim/* These addresses are calculated from the FADT Event Block addresses */ 69126372Snjl 70281075SdimACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aStatus); 71281075SdimACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aEnable); 72193267Sjkim 73281075SdimACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bStatus); 74281075SdimACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bEnable); 75151937Sjkim 7667754Smsmith/* 77281075Sdim * Handle both ACPI 1.0 and ACPI 2.0+ Integer widths. The integer width is 78167802Sjkim * determined by the revision of the DSDT: If the DSDT revision is less than 79167802Sjkim * 2, use only the lower 32 bits of the internal 64-bit Integer. 8099679Siwasaki */ 81281075SdimACPI_GLOBAL (UINT8, AcpiGbl_IntegerBitWidth); 82281075SdimACPI_GLOBAL (UINT8, AcpiGbl_IntegerByteWidth); 83281075SdimACPI_GLOBAL (UINT8, AcpiGbl_IntegerNybbleWidth); 84123315Snjl 8567754Smsmith 86167802Sjkim/***************************************************************************** 87167802Sjkim * 88228110Sjkim * Mutual exclusion within ACPICA subsystem 89167802Sjkim * 90167802Sjkim ****************************************************************************/ 91167802Sjkim 9267754Smsmith/* 93167802Sjkim * Predefined mutex objects. This array contains the 9467754Smsmith * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs. 9567754Smsmith * (The table maps local handles to the real OS handles) 9667754Smsmith */ 97281075SdimACPI_GLOBAL (ACPI_MUTEX_INFO, AcpiGbl_MutexInfo[ACPI_NUM_MUTEX]); 9867754Smsmith 99167802Sjkim/* 100167802Sjkim * Global lock mutex is an actual AML mutex object 101219707Sjkim * Global lock semaphore works in conjunction with the actual global lock 102219707Sjkim * Global lock spinlock is used for "pending" handshake 103167802Sjkim */ 104281075SdimACPI_GLOBAL (ACPI_OPERAND_OBJECT *, AcpiGbl_GlobalLockMutex); 105281075SdimACPI_GLOBAL (ACPI_SEMAPHORE, AcpiGbl_GlobalLockSemaphore); 106281075SdimACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GlobalLockPendingLock); 107281075SdimACPI_GLOBAL (UINT16, AcpiGbl_GlobalLockHandle); 108281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockAcquired); 109281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPresent); 110281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPending); 11167754Smsmith 112167802Sjkim/* 113167802Sjkim * Spinlocks are used for interfaces that can be possibly called at 114167802Sjkim * interrupt level 115167802Sjkim */ 116281075SdimACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GpeLock); /* For GPE data structs and registers */ 117281075SdimACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_HardwareLock); /* For ACPI H/W except GPE registers */ 118281075SdimACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_ReferenceCountLock); 119167802Sjkim 120210976Sjkim/* Mutex for _OSI support */ 121210976Sjkim 122281075SdimACPI_GLOBAL (ACPI_MUTEX, AcpiGbl_OsiMutex); 123210976Sjkim 124193267Sjkim/* Reader/Writer lock is used for namespace walk and dynamic table unload */ 125167802Sjkim 126281075SdimACPI_GLOBAL (ACPI_RW_LOCK, AcpiGbl_NamespaceRwLock); 127193267Sjkim 128193267Sjkim 12967754Smsmith/***************************************************************************** 13067754Smsmith * 13167754Smsmith * Miscellaneous globals 13267754Smsmith * 13367754Smsmith ****************************************************************************/ 13467754Smsmith 135151937Sjkim/* Object caches */ 136151937Sjkim 137281075SdimACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_NamespaceCache); 138281075SdimACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_StateCache); 139281075SdimACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeCache); 140281075SdimACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeExtCache); 141281075SdimACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_OperandCache); 142151937Sjkim 143281075Sdim/* System */ 144281075Sdim 145281075SdimACPI_INIT_GLOBAL (UINT32, AcpiGbl_StartupFlags, 0); 146281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_Shutdown, TRUE); 147281075Sdim 148151937Sjkim/* Global handlers */ 149151937Sjkim 150281075SdimACPI_GLOBAL (ACPI_GLOBAL_NOTIFY_HANDLER,AcpiGbl_GlobalNotify[2]); 151281075SdimACPI_GLOBAL (ACPI_EXCEPTION_HANDLER, AcpiGbl_ExceptionHandler); 152281075SdimACPI_GLOBAL (ACPI_INIT_HANDLER, AcpiGbl_InitHandler); 153281075SdimACPI_GLOBAL (ACPI_TABLE_HANDLER, AcpiGbl_TableHandler); 154281075SdimACPI_GLOBAL (void *, AcpiGbl_TableHandlerContext); 155281075SdimACPI_GLOBAL (ACPI_INTERFACE_HANDLER, AcpiGbl_InterfaceHandler); 156281075SdimACPI_GLOBAL (ACPI_SCI_HANDLER_INFO *, AcpiGbl_SciHandlerList); 15767754Smsmith 158167802Sjkim/* Owner ID support */ 159167802Sjkim 160281075SdimACPI_GLOBAL (UINT32, AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS]); 161281075SdimACPI_GLOBAL (UINT8, AcpiGbl_LastOwnerIdIndex); 162281075SdimACPI_GLOBAL (UINT8, AcpiGbl_NextOwnerIdOffset); 163167802Sjkim 164218590Sjkim/* Initialization sequencing */ 165218590Sjkim 166281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_RegMethodsExecuted); 167218590Sjkim 168151937Sjkim/* Misc */ 169151937Sjkim 170281075SdimACPI_GLOBAL (UINT32, AcpiGbl_OriginalMode); 171281075SdimACPI_GLOBAL (UINT32, AcpiGbl_NsLookupCount); 172281075SdimACPI_GLOBAL (UINT32, AcpiGbl_PsFindCount); 173281075SdimACPI_GLOBAL (UINT16, AcpiGbl_Pm1EnableRegisterSave); 174281075SdimACPI_GLOBAL (UINT8, AcpiGbl_DebuggerConfiguration); 175281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_StepToNextCall); 176281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_AcpiHardwarePresent); 177281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_EventsInitialized); 178281075SdimACPI_GLOBAL (ACPI_INTERFACE_INFO *, AcpiGbl_SupportedInterfaces); 179281075SdimACPI_GLOBAL (ACPI_ADDRESS_RANGE *, AcpiGbl_AddressRangeList[ACPI_ADDRESS_RANGE_MAX]); 18067754Smsmith 181281075Sdim/* Other miscellaneous, declared and initialized in utglobal */ 182167802Sjkim 183126372Snjlextern const char *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT]; 184197104Sjkimextern const char *AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS]; 185197104Sjkimextern const char *AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS]; 186281075Sdimextern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS]; 18799679Siwasakiextern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES]; 18867754Smsmith 18967754Smsmith 190167802Sjkim#ifdef ACPI_DBG_TRACK_ALLOCATIONS 191167802Sjkim 192281075Sdim/* Lists for tracking memory allocations (debug only) */ 193167802Sjkim 194281075SdimACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_GlobalList); 195281075SdimACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_NsNodeList); 196281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_DisplayFinalMemStats); 197281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_DisableMemTracking); 198167802Sjkim#endif 199167802Sjkim 200167802Sjkim 20167754Smsmith/***************************************************************************** 20267754Smsmith * 20367754Smsmith * Namespace globals 20467754Smsmith * 20567754Smsmith ****************************************************************************/ 20667754Smsmith 207127175Snjl#if !defined (ACPI_NO_METHOD_EXECUTION) || defined (ACPI_CONSTANT_EVAL_ONLY) 208102550Siwasaki#define NUM_PREDEFINED_NAMES 10 209102550Siwasaki#else 21067754Smsmith#define NUM_PREDEFINED_NAMES 9 211102550Siwasaki#endif 21267754Smsmith 213281075SdimACPI_GLOBAL (ACPI_NAMESPACE_NODE, AcpiGbl_RootNodeStruct); 214281075SdimACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_RootNode); 215281075SdimACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_FadtGpeDevice); 216281075SdimACPI_GLOBAL (ACPI_OPERAND_OBJECT *, AcpiGbl_ModuleCodeList); 21767754Smsmith 218197104Sjkim 219193267Sjkimextern const UINT8 AcpiGbl_NsProperties [ACPI_NUM_NS_TYPES]; 22091116Smsmithextern const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames [NUM_PREDEFINED_NAMES]; 22167754Smsmith 222102550Siwasaki#ifdef ACPI_DEBUG_OUTPUT 223281075SdimACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeCount); 224281075SdimACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeSize); 225281075SdimACPI_GLOBAL (UINT32, AcpiGbl_MaxConcurrentNodeCount); 226281075SdimACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_EntryStackPointer); 227281075SdimACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_LowestStackPointer); 228281075SdimACPI_GLOBAL (UINT32, AcpiGbl_DeepestNesting); 229281075SdimACPI_INIT_GLOBAL (UINT32, AcpiGbl_NestingLevel, 0); 23067754Smsmith#endif 23167754Smsmith 232151937Sjkim 23367754Smsmith/***************************************************************************** 23467754Smsmith * 23567754Smsmith * Interpreter globals 23667754Smsmith * 23767754Smsmith ****************************************************************************/ 23867754Smsmith 239281075SdimACPI_GLOBAL (ACPI_THREAD_STATE *, AcpiGbl_CurrentWalkList); 24067754Smsmith 24167754Smsmith/* Control method single step flag */ 24267754Smsmith 243281075SdimACPI_GLOBAL (UINT8, AcpiGbl_CmSingleStep); 24467754Smsmith 24567754Smsmith 24667754Smsmith/***************************************************************************** 24767754Smsmith * 24891116Smsmith * Hardware globals 24991116Smsmith * 25091116Smsmith ****************************************************************************/ 25167754Smsmith 252281075Sdimextern ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG]; 25391116Smsmith 254281075SdimACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeA); 255281075SdimACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeB); 25691116Smsmith 257281075Sdim 25867754Smsmith/***************************************************************************** 25967754Smsmith * 26091116Smsmith * Event and GPE globals 26167754Smsmith * 26267754Smsmith ****************************************************************************/ 26367754Smsmith 264231844Sjkim#if (!ACPI_REDUCED_HARDWARE) 265231844Sjkim 266281075SdimACPI_GLOBAL (UINT8, AcpiGbl_AllGpesInitialized); 267281075SdimACPI_GLOBAL (ACPI_GPE_XRUPT_INFO *, AcpiGbl_GpeXruptListHead); 268281075SdimACPI_GLOBAL (ACPI_GPE_BLOCK_INFO *, AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS]); 269281075SdimACPI_GLOBAL (ACPI_GBL_EVENT_HANDLER, AcpiGbl_GlobalEventHandler); 270281075SdimACPI_GLOBAL (void *, AcpiGbl_GlobalEventHandlerContext); 271281075SdimACPI_GLOBAL (ACPI_FIXED_EVENT_HANDLER, AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS]); 27291116Smsmith 273281075Sdimextern ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]; 274281075Sdim 275231844Sjkim#endif /* !ACPI_REDUCED_HARDWARE */ 27667754Smsmith 27767754Smsmith/***************************************************************************** 27867754Smsmith * 279167802Sjkim * Debug support 280167802Sjkim * 281167802Sjkim ****************************************************************************/ 282167802Sjkim 283167802Sjkim/* Event counters */ 284167802Sjkim 285281075SdimACPI_GLOBAL (UINT32, AcpiMethodCount); 286281075SdimACPI_GLOBAL (UINT32, AcpiGpeCount); 287281075SdimACPI_GLOBAL (UINT32, AcpiSciCount); 288281075SdimACPI_GLOBAL (UINT32, AcpiFixedEventCount[ACPI_NUM_FIXED_EVENTS]); 289167802Sjkim 290167802Sjkim/* Support for dynamic control method tracing mechanism */ 291167802Sjkim 292281075SdimACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLevel); 293281075SdimACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLayer); 294281075SdimACPI_GLOBAL (UINT32, AcpiGbl_TraceDbgLevel); 295281075SdimACPI_GLOBAL (UINT32, AcpiGbl_TraceDbgLayer); 296167802Sjkim 297167802Sjkim 298167802Sjkim/***************************************************************************** 299167802Sjkim * 300245582Sjkim * Debugger and Disassembler globals 30167754Smsmith * 30267754Smsmith ****************************************************************************/ 30367754Smsmith 304281075SdimACPI_INIT_GLOBAL (UINT8, AcpiGbl_DbOutputFlags, ACPI_DB_CONSOLE_OUTPUT); 30591116Smsmith 306100966Siwasaki#ifdef ACPI_DISASSEMBLER 30791116Smsmith 308281075Sdim/* Do not disassemble buffers to resource descriptors */ 309245582Sjkim 310281075SdimACPI_INIT_GLOBAL (UINT8, AcpiGbl_NoResourceDisassembly, FALSE); 311281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_IgnoreNoopOperator, FALSE); 312281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_CstyleDisassembly, TRUE); 313281687SjkimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_ForceAmlDisassembly, FALSE); 314281075Sdim 315281687SjkimACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_Disasm); 316281687SjkimACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_Verbose); 317281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_NumExternalMethods); 318281075SdimACPI_GLOBAL (UINT32, AcpiGbl_ResolvedExternalMethods); 319281075SdimACPI_GLOBAL (ACPI_EXTERNAL_LIST *, AcpiGbl_ExternalList); 320281075SdimACPI_GLOBAL (ACPI_EXTERNAL_FILE *, AcpiGbl_ExternalFileList); 321100966Siwasaki#endif 322100966Siwasaki 323102550Siwasaki#ifdef ACPI_DEBUGGER 32491116Smsmith 325281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DbTerminateThreads, FALSE); 326281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_AbortMethod, FALSE); 327281075SdimACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_MethodExecuting, FALSE); 32867754Smsmith 329281687SjkimACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoIniMethods); 330281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoRegionSupport); 331281075SdimACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOutputToFile); 332281075SdimACPI_GLOBAL (char *, AcpiGbl_DbBuffer); 333281075SdimACPI_GLOBAL (char *, AcpiGbl_DbFilename); 334281075SdimACPI_GLOBAL (UINT32, AcpiGbl_DbDebugLevel); 335281075SdimACPI_GLOBAL (UINT32, AcpiGbl_DbConsoleDebugLevel); 336281075SdimACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_DbScopeNode); 33791116Smsmith 338281075SdimACPI_GLOBAL (char *, AcpiGbl_DbArgs[ACPI_DEBUGGER_MAX_ARGS]); 339281075SdimACPI_GLOBAL (ACPI_OBJECT_TYPE, AcpiGbl_DbArgTypes[ACPI_DEBUGGER_MAX_ARGS]); 340254745Sjkim 341254745Sjkim/* These buffers should all be the same size */ 342254745Sjkim 343281075SdimACPI_GLOBAL (char, AcpiGbl_DbLineBuf[ACPI_DB_LINE_BUFFER_SIZE]); 344281075SdimACPI_GLOBAL (char, AcpiGbl_DbParsedBuf[ACPI_DB_LINE_BUFFER_SIZE]); 345281075SdimACPI_GLOBAL (char, AcpiGbl_DbScopeBuf[ACPI_DB_LINE_BUFFER_SIZE]); 346281075SdimACPI_GLOBAL (char, AcpiGbl_DbDebugFilename[ACPI_DB_LINE_BUFFER_SIZE]); 347254745Sjkim 34891116Smsmith/* 34991116Smsmith * Statistic globals 35091116Smsmith */ 351281075SdimACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCount[ACPI_TYPE_NS_NODE_MAX+1]); 352281075SdimACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCount[ACPI_TYPE_NS_NODE_MAX+1]); 353281075SdimACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCountMisc); 354281075SdimACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCountMisc); 355281075SdimACPI_GLOBAL (UINT32, AcpiGbl_NumNodes); 356281075SdimACPI_GLOBAL (UINT32, AcpiGbl_NumObjects); 35791116Smsmith 358281075Sdim#endif /* ACPI_DEBUGGER */ 35991116Smsmith 36091116Smsmith 361281075Sdim/***************************************************************************** 362281075Sdim * 363281075Sdim * Application globals 364281075Sdim * 365281075Sdim ****************************************************************************/ 36691116Smsmith 367281075Sdim#ifdef ACPI_APPLICATION 368237412Sjkim 369281075SdimACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_DebugFile, NULL); 370281075SdimACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_OutputFile, NULL); 371281075Sdim 372281075Sdim/* Print buffer */ 373281075Sdim 374281075SdimACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_PrintLock); /* For print buffer */ 375281075SdimACPI_GLOBAL (char, AcpiGbl_PrintBuffer[1024]); 376281075Sdim 377281075Sdim#endif /* ACPI_APPLICATION */ 378281075Sdim 379281075Sdim 380237412Sjkim/***************************************************************************** 381237412Sjkim * 382237412Sjkim * Info/help support 383237412Sjkim * 384237412Sjkim ****************************************************************************/ 385237412Sjkim 386281075Sdimextern const AH_PREDEFINED_NAME AslPredefinedInfo[]; 387281075Sdimextern const AH_DEVICE_ID AslDeviceIds[]; 388237412Sjkim 389237412Sjkim 39067754Smsmith#endif /* __ACGLOBAL_H__ */ 391