acglobal.h (57190917) | acglobal.h (26f3cdf0) |
---|---|
1/****************************************************************************** 2 * 3 * Name: acglobal.h - Declarations for global variables 4 * 5 *****************************************************************************/ 6 | 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 - 2009, Intel Corp. | 7/* 8 * Copyright (C) 2000 - 2011, Intel Corp. |
12 * All rights reserved. 13 * | 9 * All rights reserved. 10 * |
14 * 2. License | 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions, and the following disclaimer, 16 * without modification. 17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18 * substantially similar to the "NO WARRANTY" disclaimer below 19 * ("Disclaimer") and any redistribution must be conditioned upon 20 * including a substantially similar Disclaimer requirement for further 21 * binary redistribution. 22 * 3. Neither the names of the above-listed copyright holders nor the names 23 * of any contributors may be used to endorse or promote products derived 24 * from this software without specific prior written permission. |
15 * | 25 * |
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. | 26 * Alternatively, this software may be distributed under the terms of the 27 * GNU General Public License ("GPL") version 2 as published by the Free 28 * Software Foundation. |
20 * | 29 * |
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 *****************************************************************************/ | 30 * NO WARRANTY 31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 * POSSIBILITY OF SUCH DAMAGES. 42 */ |
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 * --- 46 unchanged lines hidden (view full) --- 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/* | 43 44#ifndef __ACGLOBAL_H__ 45#define __ACGLOBAL_H__ 46 47 48/* 49 * Ensure that the globals are actually defined and initialized only once. 50 * --- 46 unchanged lines hidden (view full) --- 97/* 98 * Create the predefined _OSI method in the namespace? Default is TRUE 99 * because ACPI CA is fully compatible with other ACPI implementations. 100 * Changing this will revert ACPI CA (and machine ASL) to pre-OSI behavior. 101 */ 102UINT8 ACPI_INIT_GLOBAL (AcpiGbl_CreateOsiMethod, TRUE); 103 104/* |
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 | 105 * Optionally use default values for the ACPI register widths. Set this to 106 * TRUE to use the defaults, if an FADT contains incorrect widths/lengths. 107 */ 108UINT8 ACPI_INIT_GLOBAL (AcpiGbl_UseDefaultRegisterWidths, TRUE); 109 |
110/* 111 * Optionally enable output from the AML Debug Object. 112 */ 113UINT8 ACPI_INIT_GLOBAL (AcpiGbl_EnableAmlDebugObject, FALSE); |
|
189 | 114 |
115/* 116 * Optionally copy the entire DSDT to local memory (instead of simply 117 * mapping it.) There are some BIOSs that corrupt or replace the original 118 * DSDT, creating the need for this option. Default is FALSE, do not copy 119 * the DSDT. 120 */ 121UINT8 ACPI_INIT_GLOBAL (AcpiGbl_CopyDsdtLocally, FALSE); 122 123/* 124 * Optionally truncate I/O addresses to 16 bits. Provides compatibility 125 * with other ACPI implementations. NOTE: During ACPICA initialization, 126 * this value is set to TRUE if any Windows OSI strings have been 127 * requested by the BIOS. 128 */ 129UINT8 ACPI_INIT_GLOBAL (AcpiGbl_TruncateIoAddresses, FALSE); 130 131 |
|
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; | 132/* AcpiGbl_FADT is a local copy of the FADT, converted to a common format. */ 133 134ACPI_TABLE_FADT AcpiGbl_FADT; 135UINT32 AcpiCurrentGpeCount; 136UINT32 AcpiGbl_TraceFlags; 137ACPI_NAME AcpiGbl_TraceMethodName; |
138BOOLEAN AcpiGbl_SystemAwakeAndRunning; |
|
196 197#endif 198 199/***************************************************************************** 200 * 201 * ACPI Table globals 202 * 203 ****************************************************************************/ 204 205/* | 139 140#endif 141 142/***************************************************************************** 143 * 144 * ACPI Table globals 145 * 146 ****************************************************************************/ 147 148/* |
206 * AcpiGbl_RootTableList is the master list of ACPI tables found in the 207 * RSDT/XSDT. 208 * | 149 * AcpiGbl_RootTableList is the master list of ACPI tables that were 150 * found in the RSDT/XSDT. |
209 */ | 151 */ |
210ACPI_EXTERN ACPI_INTERNAL_RSDT AcpiGbl_RootTableList; | 152ACPI_EXTERN ACPI_TABLE_LIST 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 | 153ACPI_EXTERN ACPI_TABLE_FACS *AcpiGbl_FACS; 154 155/* These addresses are calculated from the FADT Event Block addresses */ 156 157ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aStatus; 158ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aEnable; 159 160ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bStatus; 161ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bEnable; 162 |
163/* DSDT information. Used to check for DSDT corruption */ 164 165ACPI_EXTERN ACPI_TABLE_HEADER *AcpiGbl_DSDT; 166ACPI_EXTERN ACPI_TABLE_HEADER AcpiGbl_OriginalDsdtHeader; 167 |
|
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; --- 9 unchanged lines hidden (view full) --- 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 | 168/* 169 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths. The integer width is 170 * determined by the revision of the DSDT: If the DSDT revision is less than 171 * 2, use only the lower 32 bits of the internal 64-bit Integer. 172 */ 173ACPI_EXTERN UINT8 AcpiGbl_IntegerBitWidth; 174ACPI_EXTERN UINT8 AcpiGbl_IntegerByteWidth; 175ACPI_EXTERN UINT8 AcpiGbl_IntegerNybbleWidth; --- 9 unchanged lines hidden (view full) --- 185 * Predefined mutex objects. This array contains the 186 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs. 187 * (The table maps local handles to the real OS handles) 188 */ 189ACPI_EXTERN ACPI_MUTEX_INFO AcpiGbl_MutexInfo[ACPI_NUM_MUTEX]; 190 191/* 192 * Global lock mutex is an actual AML mutex object |
246 * Global lock semaphore works in conjunction with the HW global lock | 193 * Global lock semaphore works in conjunction with the actual global lock 194 * Global lock spinlock is used for "pending" handshake |
247 */ 248ACPI_EXTERN ACPI_OPERAND_OBJECT *AcpiGbl_GlobalLockMutex; 249ACPI_EXTERN ACPI_SEMAPHORE AcpiGbl_GlobalLockSemaphore; | 195 */ 196ACPI_EXTERN ACPI_OPERAND_OBJECT *AcpiGbl_GlobalLockMutex; 197ACPI_EXTERN ACPI_SEMAPHORE AcpiGbl_GlobalLockSemaphore; |
198ACPI_EXTERN ACPI_SPINLOCK AcpiGbl_GlobalLockPendingLock; |
|
250ACPI_EXTERN UINT16 AcpiGbl_GlobalLockHandle; 251ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockAcquired; 252ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockPresent; | 199ACPI_EXTERN UINT16 AcpiGbl_GlobalLockHandle; 200ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockAcquired; 201ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockPresent; |
202ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockPending; |
|
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 | 203 204/* 205 * Spinlocks are used for interfaces that can be possibly called at 206 * interrupt level 207 */ 208ACPI_EXTERN ACPI_SPINLOCK AcpiGbl_GpeLock; /* For GPE data structs and registers */ 209ACPI_EXTERN ACPI_SPINLOCK AcpiGbl_HardwareLock; /* For ACPI H/W except GPE registers */ 210 |
211/* Mutex for _OSI support */ 212 213ACPI_EXTERN ACPI_MUTEX AcpiGbl_OsiMutex; 214 |
|
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 --- 12 unchanged lines hidden (view full) --- 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; | 215/* Reader/Writer lock is used for namespace walk and dynamic table unload */ 216 217ACPI_EXTERN ACPI_RW_LOCK AcpiGbl_NamespaceRwLock; 218 219 220/***************************************************************************** 221 * 222 * Miscellaneous globals --- 12 unchanged lines hidden (view full) --- 235 236ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER AcpiGbl_DeviceNotify; 237ACPI_EXTERN ACPI_OBJECT_NOTIFY_HANDLER AcpiGbl_SystemNotify; 238ACPI_EXTERN ACPI_EXCEPTION_HANDLER AcpiGbl_ExceptionHandler; 239ACPI_EXTERN ACPI_INIT_HANDLER AcpiGbl_InitHandler; 240ACPI_EXTERN ACPI_TABLE_HANDLER AcpiGbl_TableHandler; 241ACPI_EXTERN void *AcpiGbl_TableHandlerContext; 242ACPI_EXTERN ACPI_WALK_STATE *AcpiGbl_BreakpointWalk; |
243ACPI_EXTERN ACPI_INTERFACE_HANDLER AcpiGbl_InterfaceHandler; |
|
289 | 244 |
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 | 245/* Owner ID support */ 246 247ACPI_EXTERN UINT32 AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS]; 248ACPI_EXTERN UINT8 AcpiGbl_LastOwnerIdIndex; 249ACPI_EXTERN UINT8 AcpiGbl_NextOwnerIdOffset; 250 |
251/* Initialization sequencing */ 252 253ACPI_EXTERN BOOLEAN AcpiGbl_RegMethodsExecuted; 254 |
|
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; | 255/* Misc */ 256 257ACPI_EXTERN UINT32 AcpiGbl_OriginalMode; 258ACPI_EXTERN UINT32 AcpiGbl_RsdpOriginalLocation; 259ACPI_EXTERN UINT32 AcpiGbl_NsLookupCount; 260ACPI_EXTERN UINT32 AcpiGbl_PsFindCount; 261ACPI_EXTERN UINT16 AcpiGbl_Pm1EnableRegisterSave; 262ACPI_EXTERN UINT8 AcpiGbl_DebuggerConfiguration; 263ACPI_EXTERN BOOLEAN AcpiGbl_StepToNextCall; 264ACPI_EXTERN BOOLEAN AcpiGbl_AcpiHardwarePresent; 265ACPI_EXTERN BOOLEAN AcpiGbl_EventsInitialized; |
308ACPI_EXTERN BOOLEAN AcpiGbl_SystemAwakeAndRunning; | |
309ACPI_EXTERN UINT8 AcpiGbl_OsiData; | 266ACPI_EXTERN UINT8 AcpiGbl_OsiData; |
267ACPI_EXTERN ACPI_INTERFACE_INFO *AcpiGbl_SupportedInterfaces; |
|
310 311 312#ifndef DEFINE_ACPI_GLOBALS 313 314/* Exception codes */ 315 316extern char const *AcpiGbl_ExceptionNames_Env[]; 317extern char const *AcpiGbl_ExceptionNames_Pgm[]; --- 15 unchanged lines hidden (view full) --- 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; | 268 269 270#ifndef DEFINE_ACPI_GLOBALS 271 272/* Exception codes */ 273 274extern char const *AcpiGbl_ExceptionNames_Env[]; 275extern char const *AcpiGbl_ExceptionNames_Pgm[]; --- 15 unchanged lines hidden (view full) --- 291 292#ifdef ACPI_DBG_TRACK_ALLOCATIONS 293 294/* Lists for tracking memory allocations */ 295 296ACPI_EXTERN ACPI_MEMORY_LIST *AcpiGbl_GlobalList; 297ACPI_EXTERN ACPI_MEMORY_LIST *AcpiGbl_NsNodeList; 298ACPI_EXTERN BOOLEAN AcpiGbl_DisplayFinalMemStats; |
299ACPI_EXTERN BOOLEAN AcpiGbl_DisableMemTracking; |
|
341#endif 342 343 344/***************************************************************************** 345 * 346 * Namespace globals 347 * 348 ****************************************************************************/ --- 49 unchanged lines hidden (view full) --- 398 399 400/***************************************************************************** 401 * 402 * Event and GPE globals 403 * 404 ****************************************************************************/ 405 | 300#endif 301 302 303/***************************************************************************** 304 * 305 * Namespace globals 306 * 307 ****************************************************************************/ --- 49 unchanged lines hidden (view full) --- 357 358 359/***************************************************************************** 360 * 361 * Event and GPE globals 362 * 363 ****************************************************************************/ 364 |
406extern ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]; 407ACPI_EXTERN ACPI_FIXED_EVENT_HANDLER AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS]; | 365ACPI_EXTERN UINT8 AcpiGbl_AllGpesInitialized; |
408ACPI_EXTERN ACPI_GPE_XRUPT_INFO *AcpiGbl_GpeXruptListHead; 409ACPI_EXTERN ACPI_GPE_BLOCK_INFO *AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS]; | 366ACPI_EXTERN ACPI_GPE_XRUPT_INFO *AcpiGbl_GpeXruptListHead; 367ACPI_EXTERN ACPI_GPE_BLOCK_INFO *AcpiGbl_GpeFadtBlocks[ACPI_MAX_GPE_BLOCKS]; |
368ACPI_EXTERN ACPI_GBL_EVENT_HANDLER AcpiGbl_GlobalEventHandler; 369ACPI_EXTERN void *AcpiGbl_GlobalEventHandlerContext; 370ACPI_EXTERN ACPI_FIXED_EVENT_HANDLER AcpiGbl_FixedEventHandlers[ACPI_NUM_FIXED_EVENTS]; 371extern ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]; |
|
410 411 412/***************************************************************************** 413 * 414 * Debug support 415 * 416 ****************************************************************************/ 417 --- 24 unchanged lines hidden (view full) --- 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; | 372 373 374/***************************************************************************** 375 * 376 * Debug support 377 * 378 ****************************************************************************/ 379 --- 24 unchanged lines hidden (view full) --- 404 405ACPI_EXTERN UINT8 AcpiGbl_DbOutputFlags; 406 407#ifdef ACPI_DISASSEMBLER 408 409ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_disasm; 410ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_verbose; 411ACPI_EXTERN ACPI_EXTERNAL_LIST *AcpiGbl_ExternalList; |
412ACPI_EXTERN ACPI_EXTERNAL_FILE *AcpiGbl_ExternalFileList; |
|
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]; | 413#endif 414 415 416#ifdef ACPI_DEBUGGER 417 418extern BOOLEAN AcpiGbl_MethodExecuting; 419extern BOOLEAN AcpiGbl_AbortMethod; 420extern BOOLEAN AcpiGbl_DbTerminateThreads; 421 422ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_tables; 423ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_stats; 424ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_ini_methods; 425ACPI_EXTERN BOOLEAN AcpiGbl_DbOpt_NoRegionSupport; 426 427ACPI_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]; | 428ACPI_EXTERN ACPI_OBJECT_TYPE AcpiGbl_DbArgTypes[ACPI_DEBUGGER_MAX_ARGS]; 429ACPI_EXTERN char AcpiGbl_DbLineBuf[ACPI_DB_LINE_BUFFER_SIZE]; 430ACPI_EXTERN char AcpiGbl_DbParsedBuf[ACPI_DB_LINE_BUFFER_SIZE]; 431ACPI_EXTERN char AcpiGbl_DbScopeBuf[80]; 432ACPI_EXTERN char AcpiGbl_DbDebugFilename[80]; |
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/* --- 18 unchanged lines hidden --- | 433ACPI_EXTERN BOOLEAN AcpiGbl_DbOutputToFile; 434ACPI_EXTERN char *AcpiGbl_DbBuffer; 435ACPI_EXTERN char *AcpiGbl_DbFilename; 436ACPI_EXTERN UINT32 AcpiGbl_DbDebugLevel; 437ACPI_EXTERN UINT32 AcpiGbl_DbConsoleDebugLevel; 438ACPI_EXTERN ACPI_NAMESPACE_NODE *AcpiGbl_DbScopeNode; 439 440/* --- 18 unchanged lines hidden --- |