ReactOS 0.4.16-dev-306-g647d351
acglobal.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Name: acglobal.h - Declarations for global variables
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2022, Intel Corp.
9 * All rights reserved.
10 *
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.
25 *
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.
29 *
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 MERCHANTABILITY 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 */
43
44#ifndef __ACGLOBAL_H__
45#define __ACGLOBAL_H__
46
47
48/*****************************************************************************
49 *
50 * Globals related to the incoming ACPI tables
51 *
52 ****************************************************************************/
53
54/* Master list of all ACPI tables that were found in the RSDT/XSDT */
55
56ACPI_GLOBAL (ACPI_TABLE_LIST, AcpiGbl_RootTableList);
57
58/* DSDT information. Used to check for DSDT corruption */
59
61ACPI_GLOBAL (ACPI_TABLE_HEADER, AcpiGbl_OriginalDsdtHeader);
62ACPI_INIT_GLOBAL (char *, AcpiGbl_CDAT, NULL);
67
68#if (!ACPI_REDUCED_HARDWARE)
69ACPI_GLOBAL (ACPI_TABLE_FACS *, AcpiGbl_FACS);
70
71#endif /* !ACPI_REDUCED_HARDWARE */
72
73/* These addresses are calculated from the FADT Event Block addresses */
74
75ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aStatus);
76ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1aEnable);
77
78ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bStatus);
79ACPI_GLOBAL (ACPI_GENERIC_ADDRESS, AcpiGbl_XPm1bEnable);
80
81/*
82 * Handle both ACPI 1.0 and ACPI 2.0+ Integer widths. The integer width is
83 * determined by the revision of the DSDT: If the DSDT revision is less than
84 * 2, use only the lower 32 bits of the internal 64-bit Integer.
85 */
86ACPI_GLOBAL (UINT8, AcpiGbl_IntegerBitWidth);
87ACPI_GLOBAL (UINT8, AcpiGbl_IntegerByteWidth);
88ACPI_GLOBAL (UINT8, AcpiGbl_IntegerNybbleWidth);
89
90
91/*****************************************************************************
92 *
93 * Mutual exclusion within the ACPICA subsystem
94 *
95 ****************************************************************************/
96
97/*
98 * Predefined mutex objects. This array contains the
99 * actual OS mutex handles, indexed by the local ACPI_MUTEX_HANDLEs.
100 * (The table maps local handles to the real OS handles)
101 */
103
104/*
105 * Global lock mutex is an actual AML mutex object
106 * Global lock semaphore works in conjunction with the actual global lock
107 * Global lock spinlock is used for "pending" handshake
108 */
109ACPI_GLOBAL (ACPI_OPERAND_OBJECT *, AcpiGbl_GlobalLockMutex);
110ACPI_GLOBAL (ACPI_SEMAPHORE, AcpiGbl_GlobalLockSemaphore);
111ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GlobalLockPendingLock);
112ACPI_GLOBAL (UINT16, AcpiGbl_GlobalLockHandle);
113ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockAcquired);
114ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPresent);
115ACPI_GLOBAL (BOOLEAN, AcpiGbl_GlobalLockPending);
116
117/*
118 * Spinlocks are used for interfaces that can be possibly called at
119 * interrupt level
120 */
121ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_GpeLock); /* For GPE data structs and registers */
122ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_HardwareLock); /* For ACPI H/W except GPE registers */
123ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_ReferenceCountLock);
124
125/* Mutex for _OSI support */
126
127ACPI_GLOBAL (ACPI_MUTEX, AcpiGbl_OsiMutex);
128
129/* Reader/Writer lock is used for namespace walk and dynamic table unload */
130
131ACPI_GLOBAL (ACPI_RW_LOCK, AcpiGbl_NamespaceRwLock);
132
133
134/*****************************************************************************
135 *
136 * Miscellaneous globals
137 *
138 ****************************************************************************/
139
140/* Object caches */
141
142ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_NamespaceCache);
143ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_StateCache);
144ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeCache);
145ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_PsNodeExtCache);
146ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_OperandCache);
147
148/* System */
149
150ACPI_INIT_GLOBAL (UINT32, AcpiGbl_StartupFlags, 0);
151ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_Shutdown, TRUE);
152ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_EarlyInitialization, TRUE);
153
154/* Global handlers */
155
156ACPI_GLOBAL (ACPI_GLOBAL_NOTIFY_HANDLER,AcpiGbl_GlobalNotify[2]);
157ACPI_GLOBAL (ACPI_EXCEPTION_HANDLER, AcpiGbl_ExceptionHandler);
158ACPI_GLOBAL (ACPI_INIT_HANDLER, AcpiGbl_InitHandler);
159ACPI_GLOBAL (ACPI_TABLE_HANDLER, AcpiGbl_TableHandler);
160ACPI_GLOBAL (void *, AcpiGbl_TableHandlerContext);
161ACPI_GLOBAL (ACPI_INTERFACE_HANDLER, AcpiGbl_InterfaceHandler);
162ACPI_GLOBAL (ACPI_SCI_HANDLER_INFO *, AcpiGbl_SciHandlerList);
163
164/* Owner ID support */
165
167ACPI_GLOBAL (UINT8, AcpiGbl_LastOwnerIdIndex);
168ACPI_GLOBAL (UINT8, AcpiGbl_NextOwnerIdOffset);
169
170/* Initialization sequencing */
171
172ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_NamespaceInitialized, FALSE);
173
174/* Miscellaneous */
175
176ACPI_GLOBAL (UINT32, AcpiGbl_OriginalMode);
177ACPI_GLOBAL (UINT32, AcpiGbl_NsLookupCount);
178ACPI_GLOBAL (UINT32, AcpiGbl_PsFindCount);
179ACPI_GLOBAL (UINT16, AcpiGbl_Pm1EnableRegisterSave);
180ACPI_GLOBAL (UINT8, AcpiGbl_DebuggerConfiguration);
181ACPI_GLOBAL (BOOLEAN, AcpiGbl_StepToNextCall);
182ACPI_GLOBAL (BOOLEAN, AcpiGbl_AcpiHardwarePresent);
183ACPI_GLOBAL (BOOLEAN, AcpiGbl_EventsInitialized);
184ACPI_GLOBAL (ACPI_INTERFACE_INFO *, AcpiGbl_SupportedInterfaces);
186
187/* Other miscellaneous, declared and initialized in utglobal */
188
193extern const char AcpiGbl_LowerHexDigits[];
194extern const char AcpiGbl_UpperHexDigits[];
196
197/* Lists for tracking memory allocations (debug only) */
198
199#ifdef ACPI_DBG_TRACK_ALLOCATIONS
200ACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_GlobalList);
201ACPI_GLOBAL (ACPI_MEMORY_LIST *, AcpiGbl_NsNodeList);
202ACPI_GLOBAL (BOOLEAN, AcpiGbl_DisplayFinalMemStats);
203ACPI_GLOBAL (BOOLEAN, AcpiGbl_DisableMemTracking);
204ACPI_GLOBAL (BOOLEAN, AcpiGbl_VerboseLeakDump);
205#endif
206
207
208/*****************************************************************************
209 *
210 * ACPI Namespace
211 *
212 ****************************************************************************/
213
214#define NUM_PREDEFINED_NAMES 10
215
216ACPI_GLOBAL (ACPI_NAMESPACE_NODE, AcpiGbl_RootNodeStruct);
217ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_RootNode);
218ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_FadtGpeDevice);
219
222
223#ifdef ACPI_DEBUG_OUTPUT
224ACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeCount);
225ACPI_GLOBAL (UINT32, AcpiGbl_CurrentNodeSize);
226ACPI_GLOBAL (UINT32, AcpiGbl_MaxConcurrentNodeCount);
227ACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_EntryStackPointer);
228ACPI_GLOBAL (ACPI_SIZE *, AcpiGbl_LowestStackPointer);
229ACPI_GLOBAL (UINT32, AcpiGbl_DeepestNesting);
230ACPI_INIT_GLOBAL (UINT32, AcpiGbl_NestingLevel, 0);
231#endif
232
233
234/*****************************************************************************
235 *
236 * Interpreter/Parser globals
237 *
238 ****************************************************************************/
239
240/* Control method single step flag */
241
242ACPI_GLOBAL (UINT8, AcpiGbl_CmSingleStep);
243ACPI_GLOBAL (ACPI_THREAD_STATE *, AcpiGbl_CurrentWalkList);
244ACPI_INIT_GLOBAL (ACPI_PARSE_OBJECT, *AcpiGbl_CurrentScope, NULL);
245
246/* ASL/ASL+ converter */
247
248ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_CaptureComments, FALSE);
249ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_LastListHead, NULL);
250
251
252/*****************************************************************************
253 *
254 * Hardware globals
255 *
256 ****************************************************************************/
257
259ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeA);
260ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeB);
261ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeAS0);
262ACPI_GLOBAL (UINT8, AcpiGbl_SleepTypeBS0);
263
264
265/*****************************************************************************
266 *
267 * Event and GPE globals
268 *
269 ****************************************************************************/
270
271#if (!ACPI_REDUCED_HARDWARE)
272ACPI_GLOBAL (UINT8, AcpiGbl_AllGpesInitialized);
273ACPI_GLOBAL (ACPI_GPE_XRUPT_INFO *, AcpiGbl_GpeXruptListHead);
275ACPI_GLOBAL (ACPI_GBL_EVENT_HANDLER, AcpiGbl_GlobalEventHandler);
276ACPI_GLOBAL (void *, AcpiGbl_GlobalEventHandlerContext);
279#endif /* !ACPI_REDUCED_HARDWARE */
280
281
282/*****************************************************************************
283 *
284 * Debug support
285 *
286 ****************************************************************************/
287
288/* Event counters */
289
290ACPI_GLOBAL (UINT32, AcpiMethodCount);
291ACPI_GLOBAL (UINT32, AcpiGpeCount);
292ACPI_GLOBAL (UINT32, AcpiSciCount);
294
295/* Dynamic control method tracing mechanism */
296
297ACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLevel);
298ACPI_GLOBAL (UINT32, AcpiGbl_OriginalDbgLayer);
299
300
301/*****************************************************************************
302 *
303 * Debugger and Disassembler
304 *
305 ****************************************************************************/
306
308
309
310#ifdef ACPI_DISASSEMBLER
311
312/* Do not disassemble buffers to resource descriptors */
313
314ACPI_INIT_GLOBAL (UINT8, AcpiGbl_NoResourceDisassembly, FALSE);
315ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_IgnoreNoopOperator, FALSE);
316ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_CstyleDisassembly, TRUE);
317ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_ForceAmlDisassembly, FALSE);
318ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DmOpt_Verbose, TRUE);
319ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DmEmitExternalOpcodes, FALSE);
320ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DoDisassemblerOptimizations, TRUE);
321ACPI_INIT_GLOBAL (ACPI_PARSE_OBJECT_LIST, *AcpiGbl_TempListHead, NULL);
322
323ACPI_GLOBAL (BOOLEAN, AcpiGbl_DmOpt_Disasm);
324ACPI_GLOBAL (BOOLEAN, AcpiGbl_DmOpt_Listing);
325ACPI_GLOBAL (BOOLEAN, AcpiGbl_NumExternalMethods);
326ACPI_GLOBAL (UINT32, AcpiGbl_ResolvedExternalMethods);
327ACPI_GLOBAL (ACPI_EXTERNAL_LIST *, AcpiGbl_ExternalList);
328ACPI_GLOBAL (ACPI_EXTERNAL_FILE *, AcpiGbl_ExternalFileList);
329#endif
330
331#ifdef ACPI_DEBUGGER
332ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_AbortMethod, FALSE);
334ACPI_INIT_GLOBAL (UINT32, AcpiGbl_NextCmdNum, 1);
335
336ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoIniMethods);
337ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOpt_NoRegionSupport);
338ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbOutputToFile);
339ACPI_GLOBAL (char *, AcpiGbl_DbBuffer);
340ACPI_GLOBAL (char *, AcpiGbl_DbFilename);
341ACPI_GLOBAL (UINT32, AcpiGbl_DbDebugLevel);
342ACPI_GLOBAL (UINT32, AcpiGbl_DbConsoleDebugLevel);
343ACPI_GLOBAL (ACPI_NAMESPACE_NODE *, AcpiGbl_DbScopeNode);
344ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbTerminateLoop);
345ACPI_GLOBAL (BOOLEAN, AcpiGbl_DbThreadsTerminated);
346ACPI_GLOBAL (char *, AcpiGbl_DbArgs[ACPI_DEBUGGER_MAX_ARGS]);
348
349/* These buffers should all be the same size */
350
351ACPI_GLOBAL (char, AcpiGbl_DbParsedBuf[ACPI_DB_LINE_BUFFER_SIZE]);
352ACPI_GLOBAL (char, AcpiGbl_DbScopeBuf[ACPI_DB_LINE_BUFFER_SIZE]);
353ACPI_GLOBAL (char, AcpiGbl_DbDebugFilename[ACPI_DB_LINE_BUFFER_SIZE]);
354
355/* Statistics globals */
356
357ACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCount[ACPI_TOTAL_TYPES]);
358ACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCount[ACPI_TOTAL_TYPES]);
359ACPI_GLOBAL (UINT16, AcpiGbl_ObjTypeCountMisc);
360ACPI_GLOBAL (UINT16, AcpiGbl_NodeTypeCountMisc);
361ACPI_GLOBAL (UINT32, AcpiGbl_NumNodes);
362ACPI_GLOBAL (UINT32, AcpiGbl_NumObjects);
363#endif /* ACPI_DEBUGGER */
364
365#if defined (ACPI_DISASSEMBLER) || defined (ACPI_ASL_COMPILER)
366ACPI_GLOBAL (const char, *AcpiGbl_PldPanelList[]);
367ACPI_GLOBAL (const char, *AcpiGbl_PldVerticalPositionList[]);
368ACPI_GLOBAL (const char, *AcpiGbl_PldHorizontalPositionList[]);
369ACPI_GLOBAL (const char, *AcpiGbl_PldShapeList[]);
370ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DisasmFlag, FALSE);
371#endif
372
373
374/*****************************************************************************
375 *
376 * ACPICA application-specific globals
377 *
378 ****************************************************************************/
379
380/* ASL-to-ASL+ conversion utility (implemented within the iASL compiler) */
381
382#ifdef ACPI_ASL_COMPILER
383ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentInlineComment, NULL);
384ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentEndNodeComment, NULL);
385ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentOpenBraceComment, NULL);
386ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentCloseBraceComment, NULL);
387
388ACPI_INIT_GLOBAL (char *, AcpiGbl_RootFilename, NULL);
389ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentFilename, NULL);
390ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentParentFilename, NULL);
391ACPI_INIT_GLOBAL (char *, AcpiGbl_CurrentIncludeFilename, NULL);
392
393ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_DefBlkCommentListHead, NULL);
394ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_DefBlkCommentListTail, NULL);
395ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_RegCommentListHead, NULL);
396ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_RegCommentListTail, NULL);
397ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_IncCommentListHead, NULL);
398ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_IncCommentListTail, NULL);
399ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_EndBlkCommentListHead, NULL);
400ACPI_INIT_GLOBAL (ACPI_COMMENT_NODE, *AcpiGbl_EndBlkCommentListTail, NULL);
401
402ACPI_INIT_GLOBAL (ACPI_COMMENT_ADDR_NODE, *AcpiGbl_CommentAddrListHead, NULL);
403ACPI_INIT_GLOBAL (ACPI_FILE_NODE, *AcpiGbl_FileTreeRoot, NULL);
404
405ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_RegCommentCache);
406ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_CommentAddrCache);
407ACPI_GLOBAL (ACPI_CACHE_T *, AcpiGbl_FileCache);
408
409ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DebugAslConversion, FALSE);
410ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_ConvDebugFile, NULL);
411ACPI_GLOBAL (char, AcpiGbl_TableSig[4]);
412#endif
413
414#ifdef ACPI_APPLICATION
415ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_DebugFile, NULL);
416ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_OutputFile, NULL);
417ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DebugTimeout, FALSE);
418
419/* Print buffer */
420
421ACPI_GLOBAL (ACPI_SPINLOCK, AcpiGbl_PrintLock); /* For print buffer */
422ACPI_GLOBAL (char, AcpiGbl_PrintBuffer[1024]);
423#endif /* ACPI_APPLICATION */
424
425#endif /* __ACGLOBAL_H__ */
unsigned short UINT16
unsigned char BOOLEAN
unsigned char UINT8
unsigned int UINT32
#define ACPI_FILE
Definition: acenv.h:404
ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]
Definition: utglobal.c:175
const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames[NUM_PREDEFINED_NAMES]
Definition: utglobal.c:113
const char * AcpiGbl_SleepStateNames[ACPI_S_STATE_COUNT]
Definition: utglobal.c:62
const char * AcpiGbl_LowestDstateNames[ACPI_NUM_SxW_METHODS]
Definition: utglobal.c:72
const char AcpiGbl_LowerHexDigits[]
Definition: utglobal.c:92
const UINT8 AcpiGbl_NsProperties[ACPI_NUM_NS_TYPES]
Definition: utdecode.c:57
const ACPI_OPCODE_INFO AcpiGbl_AmlOpInfo[AML_NUM_OPCODES]
Definition: psopcode.c:188
#define NUM_PREDEFINED_NAMES
Definition: acglobal.h:214
const char * AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS]
Definition: utdecode.c:107
const char AcpiGbl_UpperHexDigits[]
Definition: utglobal.c:93
const char * AcpiGbl_HighestDstateNames[ACPI_NUM_SxD_METHODS]
Definition: utglobal.c:81
ACPI_BIT_REGISTER_INFO AcpiGbl_BitRegisterInfo[ACPI_NUM_BITREG]
Definition: utglobal.c:145
#define ACPI_INVALID_TABLE_INDEX
Definition: aclocal.h:260
#define AML_NUM_OPCODES
Definition: aclocal.h:57
#define ACPI_DB_CONSOLE_OUTPUT
Definition: aclocal.h:1454
#define ACPI_NUM_MUTEX
Definition: aclocal.h:92
#define ACPI_INVALID_THREAD_ID
Definition: aclocal.h:126
#define ACPI_INIT_GLOBAL(type, name, value)
Definition: acpixf.h:84
#define ACPI_GLOBAL(type, name)
Definition: acpixf.h:79
#define ACPI_CACHE_T
Definition: actypes.h:261
UINT32 ACPI_OBJECT_TYPE
Definition: actypes.h:685
#define ACPI_NUM_NS_TYPES
Definition: actypes.h:745
#define ACPI_MUTEX
Definition: actypes.h:273
#define ACPI_SEMAPHORE
Definition: actypes.h:287
#define ACPI_MAX_GPE_BLOCKS
Definition: actypes.h:403
#define ACPI_TOTAL_TYPES
Definition: actypes.h:729
ACPI_STATUS(* ACPI_EXCEPTION_HANDLER)(ACPI_STATUS AmlStatus, ACPI_NAME Name, UINT16 Opcode, UINT32 AmlOffset, void *Context)
Definition: actypes.h:1175
ACPI_STATUS(* ACPI_TABLE_HANDLER)(UINT32 Event, void *Table, void *Context)
Definition: actypes.h:1185
#define ACPI_NUM_PREDEFINED_REGIONS
Definition: actypes.h:874
#define ACPI_NUM_FIXED_EVENTS
Definition: actypes.h:770
#define ACPI_SPINLOCK
Definition: actypes.h:283
#define ACPI_S_STATE_COUNT
Definition: actypes.h:631
void(* ACPI_GBL_EVENT_HANDLER)(UINT32 EventType, ACPI_HANDLE Device, UINT32 EventNumber, void *Context)
Definition: actypes.h:1137
#define ACPI_THREAD_ID
Definition: actypes.h:144
ACPI_STATUS(* ACPI_INIT_HANDLER)(ACPI_HANDLE Object, UINT32 Function)
Definition: actypes.h:1168
#define ACPI_NUM_BITREG
Definition: actypes.h:934
UINT32(* ACPI_INTERFACE_HANDLER)(ACPI_STRING InterfaceName, UINT32 Supported)
Definition: actypes.h:1256
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define ACPI_NUM_OWNERID_MASKS
Definition: acconfig.h:136
#define ACPI_DB_LINE_BUFFER_SIZE
Definition: acconfig.h:264
#define ACPI_ADDRESS_RANGE_MAX
Definition: acconfig.h:148
#define ACPI_NUM_SxD_METHODS
Definition: acconfig.h:234
#define ACPI_DEBUGGER_MAX_ARGS
Definition: acconfig.h:263
#define ACPI_NUM_SxW_METHODS
Definition: acconfig.h:235