Deleted Added
full compact
acglobal.h (123315) acglobal.h (126372)
1/******************************************************************************
2 *
3 * Name: acglobal.h - Declarations for global variables
1/******************************************************************************
2 *
3 * Name: acglobal.h - Declarations for global variables
4 * $Revision: 144 $
4 * $Revision: 147 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
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
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;
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;
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 */
173
183
184
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
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
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/*
194/*
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];
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];
241extern const char *AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT];
242extern const char *AcpiGbl_HighestDstateNames[4];
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 ---
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 ---