1/****************************************************************************** 2 * 3 * Name: acglobal.h - Declarations for global variables |
4 * $Revision: 147 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * |
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. |
13 * All rights reserved. 14 * 15 * 2. License 16 * 17 * 2.1. This is your license from Intel Corp. under its intellectual property 18 * rights. You may have additional license terms from the party that provided 19 * you this software, covering your right to use that party's intellectual 20 * property rights. --- 104 unchanged lines hidden (view full) --- 125 * to simplify maintenance of the code. 126 */ 127#ifdef DEFINE_ACPI_GLOBALS 128#define ACPI_EXTERN 129#else 130#define ACPI_EXTERN extern 131#endif 132 |
133/* 134 * Keep local copies of these FADT-based registers. NOTE: These globals 135 * are first in this file for alignment reasons on 64-bit systems. 136 */ 137ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aEnable; 138ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bEnable; |
139 140/***************************************************************************** 141 * 142 * Debug support 143 * 144 ****************************************************************************/ 145 146/* Runtime configuration of debug print levels */ --- 24 unchanged lines hidden (view full) --- 171ACPI_EXTERN UINT32 AcpiGbl_TableFlags; 172ACPI_EXTERN UINT32 AcpiGbl_RsdtTableCount; 173ACPI_EXTERN RSDP_DESCRIPTOR *AcpiGbl_RSDP; 174ACPI_EXTERN XSDT_DESCRIPTOR *AcpiGbl_XSDT; 175ACPI_EXTERN FADT_DESCRIPTOR *AcpiGbl_FADT; 176ACPI_EXTERN ACPI_TABLE_HEADER *AcpiGbl_DSDT; 177ACPI_EXTERN FACS_DESCRIPTOR *AcpiGbl_FACS; 178ACPI_EXTERN ACPI_COMMON_FACS AcpiGbl_CommonFACS; |
179/* 180 * Since there may be multiple SSDTs and PSDTS, a single pointer is not 181 * sufficient; Therefore, there isn't one! 182 */ |
183 |
184 |
185/* 186 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths 187 * If we are running a method that exists in a 32-bit ACPI table. 188 * Use only 32 bits of the Integer for conversion. 189 */ 190ACPI_EXTERN UINT8 AcpiGbl_IntegerBitWidth; 191ACPI_EXTERN UINT8 AcpiGbl_IntegerByteWidth; 192ACPI_EXTERN UINT8 AcpiGbl_IntegerNybbleWidth; 193 |
194/* |
195 * ACPI Table info arrays 196 */ 197extern ACPI_TABLE_LIST AcpiGbl_TableLists[NUM_ACPI_TABLE_TYPES]; 198extern ACPI_TABLE_SUPPORT AcpiGbl_TableData[NUM_ACPI_TABLE_TYPES]; 199 200/* 201 * Predefined mutex objects. This array contains the 202 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs. --- 30 unchanged lines hidden (view full) --- 233ACPI_EXTERN BOOLEAN AcpiGbl_StepToNextCall; 234ACPI_EXTERN BOOLEAN AcpiGbl_AcpiHardwarePresent; 235ACPI_EXTERN BOOLEAN AcpiGbl_GlobalLockPresent; 236ACPI_EXTERN BOOLEAN AcpiGbl_EventsInitialized; 237 238extern BOOLEAN AcpiGbl_Shutdown; 239extern UINT32 AcpiGbl_StartupFlags; 240extern const UINT8 AcpiGbl_DecodeTo8bit[8]; |
241extern const char *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT]; 242extern const char *AcpiGbl_HighestDstateNames[4]; |
243extern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES]; 244extern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS]; 245 246 247/***************************************************************************** 248 * 249 * Namespace globals 250 * --- 134 unchanged lines hidden --- |