1/******************************************************************************
2 *
3 * Name: acglobal.h - Declarations for global variables
4 * $Revision: 144 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2003, 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/*****************************************************************************
135 *
136 * Debug support
137 *
138 ****************************************************************************/
139
140/* Runtime configuration of debug print levels */
--- 24 unchanged lines hidden (view full) ---
165ACPI_EXTERN UINT32 AcpiGbl_TableFlags;
166ACPI_EXTERN UINT32 AcpiGbl_RsdtTableCount;
167ACPI_EXTERN RSDP_DESCRIPTOR *AcpiGbl_RSDP;
168ACPI_EXTERN XSDT_DESCRIPTOR *AcpiGbl_XSDT;
169ACPI_EXTERN FADT_DESCRIPTOR *AcpiGbl_FADT;
170ACPI_EXTERN ACPI_TABLE_HEADER *AcpiGbl_DSDT;
171ACPI_EXTERN FACS_DESCRIPTOR *AcpiGbl_FACS;
172ACPI_EXTERN ACPI_COMMON_FACS AcpiGbl_CommonFACS;
173
174/*
175 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths
176 * If we are running a method that exists in a 32-bit ACPI table.
177 * Use only 32 bits of the Integer for conversion.
178 */
179ACPI_EXTERN UINT8 AcpiGbl_IntegerBitWidth;
180ACPI_EXTERN UINT8 AcpiGbl_IntegerByteWidth;
181ACPI_EXTERN UINT8 AcpiGbl_IntegerNybbleWidth;
182
183/* Keep local copies of these FADT-based registers */
184
185ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aEnable;
186ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bEnable;
187
188/*
189 * Since there may be multiple SSDTs and PSDTS, a single pointer is not
190 * sufficient; Therefore, there isn't one!
191 */
192
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_DbSleepStates[ACPI_S_STATE_COUNT];
242extern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES];
243extern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS];
244
245
246/*****************************************************************************
247 *
248 * Namespace globals
249 *
--- 134 unchanged lines hidden ---
2 *
3 * Name: acglobal.h - Declarations for global variables
4 * $Revision: 144 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2003, 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/*****************************************************************************
135 *
136 * Debug support
137 *
138 ****************************************************************************/
139
140/* Runtime configuration of debug print levels */
--- 24 unchanged lines hidden (view full) ---
165ACPI_EXTERN UINT32 AcpiGbl_TableFlags;
166ACPI_EXTERN UINT32 AcpiGbl_RsdtTableCount;
167ACPI_EXTERN RSDP_DESCRIPTOR *AcpiGbl_RSDP;
168ACPI_EXTERN XSDT_DESCRIPTOR *AcpiGbl_XSDT;
169ACPI_EXTERN FADT_DESCRIPTOR *AcpiGbl_FADT;
170ACPI_EXTERN ACPI_TABLE_HEADER *AcpiGbl_DSDT;
171ACPI_EXTERN FACS_DESCRIPTOR *AcpiGbl_FACS;
172ACPI_EXTERN ACPI_COMMON_FACS AcpiGbl_CommonFACS;
173
174/*
175 * Handle both ACPI 1.0 and ACPI 2.0 Integer widths
176 * If we are running a method that exists in a 32-bit ACPI table.
177 * Use only 32 bits of the Integer for conversion.
178 */
179ACPI_EXTERN UINT8 AcpiGbl_IntegerBitWidth;
180ACPI_EXTERN UINT8 AcpiGbl_IntegerByteWidth;
181ACPI_EXTERN UINT8 AcpiGbl_IntegerNybbleWidth;
182
183/* Keep local copies of these FADT-based registers */
184
185ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1aEnable;
186ACPI_EXTERN ACPI_GENERIC_ADDRESS AcpiGbl_XPm1bEnable;
187
188/*
189 * Since there may be multiple SSDTs and PSDTS, a single pointer is not
190 * sufficient; Therefore, there isn't one!
191 */
192
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_DbSleepStates[ACPI_S_STATE_COUNT];
242extern const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES];
243extern const char *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS];
244
245
246/*****************************************************************************
247 *
248 * Namespace globals
249 *
--- 134 unchanged lines hidden ---