XenevaOS
Loading...
Searching...
No Matches
acobject.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Name: acobject.h - Definition of ACPI_OPERAND_OBJECT (Internal object only)
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
9 * 1. Copyright Notice
10 *
11 * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp.
12 * All rights reserved.
13 *
14 * 2. License
15 *
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.
20 *
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 *****************************************************************************
115 *
116 * Alternatively, you may choose to be licensed under the terms of the
117 * following license:
118 *
119 * Redistribution and use in source and binary forms, with or without
120 * modification, are permitted provided that the following conditions
121 * are met:
122 * 1. Redistributions of source code must retain the above copyright
123 * notice, this list of conditions, and the following disclaimer,
124 * without modification.
125 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126 * substantially similar to the "NO WARRANTY" disclaimer below
127 * ("Disclaimer") and any redistribution must be conditioned upon
128 * including a substantially similar Disclaimer requirement for further
129 * binary redistribution.
130 * 3. Neither the names of the above-listed copyright holders nor the names
131 * of any contributors may be used to endorse or promote products derived
132 * from this software without specific prior written permission.
133 *
134 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145 *
146 * Alternatively, you may choose to be licensed under the terms of the
147 * GNU General Public License ("GPL") version 2 as published by the Free
148 * Software Foundation.
149 *
150 *****************************************************************************/
151
152#ifndef _ACOBJECT_H
153#define _ACOBJECT_H
154
155/* acpisrc:StructDefs -- for acpisrc conversion */
156
157
158/*
159 * The ACPI_OPERAND_OBJECT is used to pass AML operands from the dispatcher
160 * to the interpreter, and to keep track of the various handlers such as
161 * address space handlers and notify handlers. The object is a constant
162 * size in order to allow it to be cached and reused.
163 *
164 * Note: The object is optimized to be aligned and will not work if it is
165 * byte-packed.
166 */
167#if ACPI_MACHINE_WIDTH == 64
168#pragma pack(8)
169#else
170#pragma pack(4)
171#endif
172
173/*******************************************************************************
174 *
175 * Common Descriptors
176 *
177 ******************************************************************************/
178
179/*
180 * Common area for all objects.
181 *
182 * DescriptorType is used to differentiate between internal descriptors, and
183 * must be in the same place across all descriptors
184 *
185 * Note: The DescriptorType and Type fields must appear in the identical
186 * position in both the ACPI_NAMESPACE_NODE and ACPI_OPERAND_OBJECT
187 * structures.
188 */
189#define ACPI_OBJECT_COMMON_HEADER \
190 union acpi_operand_object *NextObject; /* Objects linked to parent NS node */\
191 UINT8 DescriptorType; /* To differentiate various internal objs */\
192 UINT8 Type; /* ACPI_OBJECT_TYPE */\
193 UINT16 ReferenceCount; /* For object deletion management */\
194 UINT8 Flags;
195 /*
196 * Note: There are 3 bytes available here before the
197 * next natural alignment boundary (for both 32/64 cases)
198 */
199
200/* Values for Flag byte above */
201
202#define AOPOBJ_AML_CONSTANT 0x01 /* Integer is an AML constant */
203#define AOPOBJ_STATIC_POINTER 0x02 /* Data is part of an ACPI table, don't delete */
204#define AOPOBJ_DATA_VALID 0x04 /* Object is initialized and data is valid */
205#define AOPOBJ_OBJECT_INITIALIZED 0x08 /* Region is initialized */
206#define AOPOBJ_REG_CONNECTED 0x10 /* _REG was run */
207#define AOPOBJ_SETUP_COMPLETE 0x20 /* Region setup is complete */
208#define AOPOBJ_INVALID 0x40 /* Host OS won't allow a Region address */
209
210
211/******************************************************************************
212 *
213 * Basic data types
214 *
215 *****************************************************************************/
216
222
223
225{
227 UINT8 Fill[3]; /* Prevent warning on some compilers */
229
231
232
233/*
234 * Note: The String and Buffer object must be identical through the
235 * pointer and length elements. There is code that depends on this.
236 *
237 * Fields common to both Strings and Buffers
238 */
239#define ACPI_COMMON_BUFFER_INFO(_Type) \
240 _Type *Pointer; \
241 UINT32 Length;
242
243
244/* Null terminated, ASCII characters only */
245
246typedef struct acpi_object_string
247{
249 ACPI_COMMON_BUFFER_INFO (char) /* String in AML stream or allocated string */
250
252
253
254typedef struct acpi_object_buffer
255{
257 ACPI_COMMON_BUFFER_INFO (UINT8) /* Buffer in AML stream or allocated buffer */
260 ACPI_NAMESPACE_NODE *Node; /* Link back to parent node */
261
263
264
266{
268 ACPI_NAMESPACE_NODE *Node; /* Link back to parent node */
269 union acpi_operand_object **Elements; /* Array of pointers to AcpiObjects */
272 UINT32 Count; /* # of elements in package */
273
275
276
277/******************************************************************************
278 *
279 * Complex data types
280 *
281 *****************************************************************************/
282
283typedef struct acpi_object_event
284{
286 ACPI_SEMAPHORE OsSemaphore; /* Actual OS synchronization object */
287
289
290
291typedef struct acpi_object_mutex
292{
294 UINT8 SyncLevel; /* 0-15, specified in Mutex() call */
295 UINT16 AcquisitionDepth; /* Allow multiple Acquires, same thread */
296 ACPI_MUTEX OsMutex; /* Actual OS synchronization object */
297 ACPI_THREAD_ID ThreadId; /* Current owner of the mutex */
298 struct acpi_thread_state *OwnerThread; /* Current owner of the mutex */
299 union acpi_operand_object *Prev; /* Link for list of acquired mutexes */
300 union acpi_operand_object *Next; /* Link for list of acquired mutexes */
301 ACPI_NAMESPACE_NODE *Node; /* Containing namespace node */
302 UINT8 OriginalSyncLevel; /* Owner's original sync level (0-15) */
303
305
306
307typedef struct acpi_object_region
308{
311 ACPI_NAMESPACE_NODE *Node; /* Containing namespace node */
312 union acpi_operand_object *Handler; /* Handler for region access */
314 ACPI_PHYSICAL_ADDRESS Address;
316
318
319
340
341/* Flags for InfoFlags field above */
342
343#define ACPI_METHOD_MODULE_LEVEL 0x01 /* Method is actually module-level code */
344#define ACPI_METHOD_INTERNAL_ONLY 0x02 /* Method is implemented internally (_OSI) */
345#define ACPI_METHOD_SERIALIZED 0x04 /* Method is serialized */
346#define ACPI_METHOD_SERIALIZED_PENDING 0x08 /* Method is to be marked serialized */
347#define ACPI_METHOD_IGNORE_SYNC_LEVEL 0x10 /* Method was auto-serialized at table load time */
348#define ACPI_METHOD_MODIFIED_NAMESPACE 0x20 /* Method modified the namespace */
349
350
351/******************************************************************************
352 *
353 * Objects that can be notified. All share a common NotifyInfo area.
354 *
355 *****************************************************************************/
356
357/*
358 * Common fields for objects that support ASL notifications
359 */
360#define ACPI_COMMON_NOTIFY_INFO \
361 union acpi_operand_object *NotifyList[2]; /* Handlers for system/device notifies */\
362 union acpi_operand_object *Handler; /* Handler for Address space */
363
364/* COMMON NOTIFY for POWER, PROCESSOR, DEVICE, and THERMAL */
365
372
373
381
382
391
392
394{
396
397 /* The next two fields take advantage of the 3-byte space before NOTIFY_INFO */
398
402 ACPI_IO_ADDRESS Address;
403
405
406
413
414
415/******************************************************************************
416 *
417 * Fields. All share a common header/info field.
418 *
419 *****************************************************************************/
420
421/*
422 * Common bitfield for the field objects
423 * "Field Datum" -- a datum from the actual field object
424 * "Buffer Datum" -- a datum from a user buffer, read from or to be written to the field
425 */
426#define ACPI_COMMON_FIELD_INFO \
427 UINT8 FieldFlags; /* Access, update, and lock bits */\
428 UINT8 Attribute; /* From AccessAs keyword */\
429 UINT8 AccessByteWidth; /* Read/Write size in bytes */\
430 ACPI_NAMESPACE_NODE *Node; /* Link back to parent node */\
431 UINT32 BitLength; /* Length of field in bits */\
432 UINT32 BaseByteOffset; /* Byte offset within containing object */\
433 UINT32 Value; /* Value to store into the Bank or Index register */\
434 UINT8 StartFieldBitOffset;/* Bit offset within first field datum (0-63) */\
435 UINT8 AccessLength; /* For serial regions/fields */
436
437/* COMMON FIELD (for BUFFER, REGION, BANK, and INDEX fields) */
438
440{
443 union acpi_operand_object *RegionObj; /* Parent Operation Region object (REGION/BANK fields only) */
444
446
447
449{
453 union acpi_operand_object *RegionObj; /* Containing OpRegion object */
454 UINT8 *ResourceBuffer; /* ResourceTemplate for serial regions/fields */
455 UINT16 PinNumberIndex; /* Index relative to previous Connection/Template */
456 UINT8 *InternalPccBuffer; /* Internal buffer for fields associated with PCC */
457
459
460
462{
465 union acpi_operand_object *RegionObj; /* Containing OpRegion object */
466 union acpi_operand_object *BankObj; /* BankSelect Register object */
467
469
470
472{
475
476 /*
477 * No "RegionObj" pointer needed since the Index and Data registers
478 * are each field definitions unto themselves.
479 */
480 union acpi_operand_object *IndexObj; /* Index register */
481 union acpi_operand_object *DataObj; /* Data register */
482
484
485
486/* The BufferField is different in that it is part of a Buffer, not an OpRegion */
487
495
496
497/******************************************************************************
498 *
499 * Objects for handlers
500 *
501 *****************************************************************************/
502
504{
506 ACPI_NAMESPACE_NODE *Node; /* Parent device */
507 UINT32 HandlerType; /* Type: Device/System/Both */
508 ACPI_NOTIFY_HANDLER Handler; /* Handler address */
509 void *Context;
510 union acpi_operand_object *Next[2]; /* Device and System handler lists */
511
513
514
528
529/* Flags for address handler (HandlerFlags) */
530
531#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED 0x01
532
533
534/******************************************************************************
535 *
536 * Special internal objects
537 *
538 *****************************************************************************/
539
540/*
541 * The Reference object is used for these opcodes:
542 * Arg[0-6], Local[0-7], IndexOp, NameOp, RefOfOp, LoadOp, LoadTableOp, DebugOp
543 * The Reference.Class differentiates these types.
544 */
546{
548 UINT8 Class; /* Reference Class */
549 UINT8 TargetType; /* Used for Index Op */
550 UINT8 Resolved; /* Reference has been resolved to a value */
551 void *Object; /* NameOp=>HANDLE to obj, IndexOp=>ACPI_OPERAND_OBJECT */
552 ACPI_NAMESPACE_NODE *Node; /* RefOf or Namepath */
553 union acpi_operand_object **Where; /* Target of Index */
554 UINT8 *IndexPointer; /* Used for Buffers and Strings */
555 UINT8 *Aml; /* Used for deferred resolution of the ref */
556 UINT32 Value; /* Used for Local/Arg/Index/DdbHandle */
557
559
560/* Values for Reference.Class above */
561
562typedef enum
563{
564 ACPI_REFCLASS_LOCAL = 0, /* Method local */
565 ACPI_REFCLASS_ARG = 1, /* Method argument */
566 ACPI_REFCLASS_REFOF = 2, /* Result of RefOf() TBD: Split to Ref/Node and Ref/OperandObj? */
567 ACPI_REFCLASS_INDEX = 3, /* Result of Index() */
568 ACPI_REFCLASS_TABLE = 4, /* DdbHandle - Load(), LoadTable() */
569 ACPI_REFCLASS_NAME = 5, /* Reference to a named object */
570 ACPI_REFCLASS_DEBUG = 6, /* Debug object */
571
573
575
576/*
577 * Extra object is used as additional storage for types that
578 * have AML code in their declarations (TermArgs) that must be
579 * evaluated at run time.
580 *
581 * Currently: Region and FieldUnit types
582 */
583typedef struct acpi_object_extra
584{
586 ACPI_NAMESPACE_NODE *Method_REG; /* _REG method for this region (if any) */
588 void *RegionContext; /* Region-specific data */
591
593
594
595/* Additional data that can be attached to namespace nodes */
596
604
605
606/* Structure used when objects are cached for reuse */
607
609{
611 union acpi_operand_object *Next; /* Link for object cache and internal lists*/
612
614
615
616/******************************************************************************
617 *
618 * ACPI_OPERAND_OBJECT Descriptor - a giant union of all of the above
619 *
620 *****************************************************************************/
621
658
659
660/******************************************************************************
661 *
662 * ACPI_DESCRIPTOR - objects that share a common descriptor identifier
663 *
664 *****************************************************************************/
665
666/* Object descriptor types */
667
668#define ACPI_DESC_TYPE_CACHED 0x01 /* Used only when object is cached */
669#define ACPI_DESC_TYPE_STATE 0x02
670#define ACPI_DESC_TYPE_STATE_UPDATE 0x03
671#define ACPI_DESC_TYPE_STATE_PACKAGE 0x04
672#define ACPI_DESC_TYPE_STATE_CONTROL 0x05
673#define ACPI_DESC_TYPE_STATE_RPSCOPE 0x06
674#define ACPI_DESC_TYPE_STATE_PSCOPE 0x07
675#define ACPI_DESC_TYPE_STATE_WSCOPE 0x08
676#define ACPI_DESC_TYPE_STATE_RESULT 0x09
677#define ACPI_DESC_TYPE_STATE_NOTIFY 0x0A
678#define ACPI_DESC_TYPE_STATE_THREAD 0x0B
679#define ACPI_DESC_TYPE_WALK 0x0C
680#define ACPI_DESC_TYPE_PARSER 0x0D
681#define ACPI_DESC_TYPE_OPERAND 0x0E
682#define ACPI_DESC_TYPE_NAMED 0x0F
683#define ACPI_DESC_TYPE_MAX 0x0F
684
685
687{
689 UINT8 DescriptorType; /* To differentiate various internal objs */
690
692
701
702#pragma pack()
703
704#endif /* _ACOBJECT_H */
unsigned int UINT32
Definition ProcessorBind.h:102
ACPI_STATUS(* ACPI_INTERNAL_METHOD)(struct acpi_walk_state *WalkState)
Definition aclocal.h:432
struct acpi_object_string ACPI_OBJECT_STRING
struct acpi_object_cache_list ACPI_OBJECT_CACHE_LIST
struct acpi_object_integer ACPI_OBJECT_INTEGER
struct acpi_object_index_field ACPI_OBJECT_INDEX_FIELD
struct acpi_object_region_field ACPI_OBJECT_REGION_FIELD
union acpi_operand_object ACPI_OPERAND_OBJECT
struct acpi_object_addr_handler ACPI_OBJECT_ADDR_HANDLER
struct acpi_object_reference ACPI_OBJECT_REFERENCE
struct acpi_object_extra ACPI_OBJECT_EXTRA
struct acpi_object_mutex ACPI_OBJECT_MUTEX
struct acpi_object_region ACPI_OBJECT_REGION
struct acpi_object_event ACPI_OBJECT_EVENT
struct acpi_object_notify_common ACPI_OBJECT_NOTIFY_COMMON
struct acpi_object_data ACPI_OBJECT_DATA
struct acpi_object_power_resource ACPI_OBJECT_POWER_RESOURCE
struct acpi_object_processor ACPI_OBJECT_PROCESSOR
ACPI_REFERENCE_CLASSES
Definition acobject.h:563
@ ACPI_REFCLASS_TABLE
Definition acobject.h:568
@ ACPI_REFCLASS_MAX
Definition acobject.h:572
@ ACPI_REFCLASS_NAME
Definition acobject.h:569
@ ACPI_REFCLASS_ARG
Definition acobject.h:565
@ ACPI_REFCLASS_INDEX
Definition acobject.h:567
@ ACPI_REFCLASS_LOCAL
Definition acobject.h:564
@ ACPI_REFCLASS_REFOF
Definition acobject.h:566
@ ACPI_REFCLASS_DEBUG
Definition acobject.h:570
union acpi_descriptor ACPI_DESCRIPTOR
struct acpi_object_buffer_field ACPI_OBJECT_BUFFER_FIELD
struct acpi_object_bank_field ACPI_OBJECT_BANK_FIELD
struct acpi_object_package ACPI_OBJECT_PACKAGE
struct acpi_object_device ACPI_OBJECT_DEVICE
struct acpi_object_field_common ACPI_OBJECT_FIELD_COMMON
#define ACPI_COMMON_FIELD_INFO
Definition acobject.h:426
struct acpi_common_descriptor ACPI_COMMON_DESCRIPTOR
#define ACPI_COMMON_NOTIFY_INFO
Definition acobject.h:360
struct acpi_object_method ACPI_OBJECT_METHOD
struct acpi_object_thermal_zone ACPI_OBJECT_THERMAL_ZONE
#define ACPI_COMMON_BUFFER_INFO(_Type)
Definition acobject.h:239
struct acpi_object_notify_handler ACPI_OBJECT_NOTIFY_HANDLER
struct acpi_object_common ACPI_OBJECT_COMMON
#define ACPI_OBJECT_COMMON_HEADER
Definition acobject.h:189
void(* ACPI_OBJECT_HANDLER)(ACPI_HANDLE Object, void *Data)
Definition actypes.h:1260
unsigned short UINT16
Definition actypes.h:237
#define ACPI_MUTEX
Definition actypes.h:381
#define ACPI_SEMAPHORE
Definition actypes.h:395
ACPI_STATUS(* ACPI_ADR_SPACE_SETUP)(ACPI_HANDLE RegionHandle, UINT32 Function, void *HandlerContext, void **RegionContext)
Definition actypes.h:1322
ACPI_STATUS(* ACPI_ADR_SPACE_HANDLER)(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
Definition actypes.h:1300
void(* ACPI_NOTIFY_HANDLER)(ACPI_HANDLE Device, UINT32 Value, void *Context)
Definition actypes.h:1254
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
#define ACPI_THREAD_ID
Definition actypes.h:252
UINT8 ACPI_OWNER_ID
Definition actypes.h:594
Definition acobject.h:687
void * CommonPointer
Definition acobject.h:688
UINT8 DescriptorType
Definition acobject.h:689
Definition aclocal.h:690
Definition aclocal.h:294
Definition acobject.h:516
void * Context
Definition acobject.h:522
union acpi_operand_object * RegionList
Definition acobject.h:524
ACPI_OBJECT_COMMON_HEADER UINT8 SpaceId
Definition acobject.h:518
ACPI_NAMESPACE_NODE * Node
Definition acobject.h:521
ACPI_ADR_SPACE_HANDLER Handler
Definition acobject.h:520
UINT8 HandlerFlags
Definition acobject.h:519
ACPI_ADR_SPACE_SETUP Setup
Definition acobject.h:523
union acpi_operand_object * Next
Definition acobject.h:525
Definition acobject.h:462
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * RegionObj
Definition acobject.h:465
union acpi_operand_object * BankObj
Definition acobject.h:466
Definition acobject.h:489
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * BufferObj
Definition acobject.h:492
Definition acobject.h:255
UINT8 * AmlStart
Definition acobject.h:259
ACPI_OBJECT_COMMON_HEADER UINT32 AmlLength
Definition acobject.h:258
ACPI_NAMESPACE_NODE * Node
Definition acobject.h:260
Definition acobject.h:609
ACPI_OBJECT_COMMON_HEADER union acpi_operand_object * Next
Definition acobject.h:611
Definition acobject.h:218
Definition acobject.h:598
ACPI_OBJECT_COMMON_HEADER ACPI_OBJECT_HANDLER Handler
Definition acobject.h:600
void * Pointer
Definition acobject.h:601
Definition acobject.h:375
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_NOTIFY_INFO ACPI_GPE_BLOCK_INFO * GpeBlock
Definition acobject.h:378
Definition acobject.h:284
ACPI_OBJECT_COMMON_HEADER ACPI_SEMAPHORE OsSemaphore
Definition acobject.h:286
Definition acobject.h:584
ACPI_OBJECT_COMMON_HEADER ACPI_NAMESPACE_NODE * Method_REG
Definition acobject.h:586
UINT32 AmlLength
Definition acobject.h:590
ACPI_NAMESPACE_NODE * ScopeNode
Definition acobject.h:587
UINT8 * AmlStart
Definition acobject.h:589
void * RegionContext
Definition acobject.h:588
Definition acobject.h:440
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * RegionObj
Definition acobject.h:443
Definition acobject.h:472
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * IndexObj
Definition acobject.h:480
union acpi_operand_object * DataObj
Definition acobject.h:481
Definition acobject.h:225
ACPI_OBJECT_COMMON_HEADER UINT8 Fill[3]
Definition acobject.h:227
UINT64 Value
Definition acobject.h:228
Definition acobject.h:321
UINT8 ParamCount
Definition acobject.h:324
union acpi_operand_object * Handler
Definition acobject.h:332
ACPI_OWNER_ID OwnerId
Definition acobject.h:337
UINT8 SyncLevel
Definition acobject.h:325
UINT8 * AmlStart
Definition acobject.h:328
ACPI_OBJECT_COMMON_HEADER UINT8 InfoFlags
Definition acobject.h:323
ACPI_INTERNAL_METHOD Implementation
Definition acobject.h:331
union acpi_operand_object * Mutex
Definition acobject.h:326
UINT8 ThreadCount
Definition acobject.h:336
UINT32 AmlLength
Definition acobject.h:335
union acpi_operand_object * Node
Definition acobject.h:327
Definition acobject.h:292
union acpi_operand_object * Next
Definition acobject.h:300
ACPI_OBJECT_COMMON_HEADER UINT8 SyncLevel
Definition acobject.h:294
struct acpi_thread_state * OwnerThread
Definition acobject.h:298
union acpi_operand_object * Prev
Definition acobject.h:299
UINT16 AcquisitionDepth
Definition acobject.h:295
ACPI_THREAD_ID ThreadId
Definition acobject.h:297
ACPI_NAMESPACE_NODE * Node
Definition acobject.h:301
ACPI_MUTEX OsMutex
Definition acobject.h:296
UINT8 OriginalSyncLevel
Definition acobject.h:302
Definition acobject.h:367
Definition acobject.h:504
ACPI_OBJECT_COMMON_HEADER ACPI_NAMESPACE_NODE * Node
Definition acobject.h:506
void * Context
Definition acobject.h:509
UINT32 HandlerType
Definition acobject.h:507
ACPI_NOTIFY_HANDLER Handler
Definition acobject.h:508
Definition acobject.h:266
UINT8 * AmlStart
Definition acobject.h:270
ACPI_OBJECT_COMMON_HEADER ACPI_NAMESPACE_NODE * Node
Definition acobject.h:268
UINT32 AmlLength
Definition acobject.h:271
UINT32 Count
Definition acobject.h:272
union acpi_operand_object ** Elements
Definition acobject.h:269
Definition acobject.h:384
UINT32 ResourceOrder
Definition acobject.h:388
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_NOTIFY_INFO UINT32 SystemLevel
Definition acobject.h:387
Definition acobject.h:394
ACPI_COMMON_NOTIFY_INFO ACPI_IO_ADDRESS Address
Definition acobject.h:402
UINT8 Length
Definition acobject.h:400
ACPI_OBJECT_COMMON_HEADER UINT8 ProcId
Definition acobject.h:399
Definition acobject.h:546
union acpi_operand_object ** Where
Definition acobject.h:553
UINT8 Resolved
Definition acobject.h:550
ACPI_NAMESPACE_NODE * Node
Definition acobject.h:552
UINT32 Value
Definition acobject.h:556
UINT8 TargetType
Definition acobject.h:549
void * Object
Definition acobject.h:551
UINT8 * IndexPointer
Definition acobject.h:554
ACPI_OBJECT_COMMON_HEADER UINT8 Class
Definition acobject.h:548
UINT8 * Aml
Definition acobject.h:555
Definition acobject.h:449
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO UINT16 ResourceLength
Definition acobject.h:452
UINT8 * InternalPccBuffer
Definition acobject.h:456
UINT16 PinNumberIndex
Definition acobject.h:455
union acpi_operand_object * RegionObj
Definition acobject.h:453
UINT8 * ResourceBuffer
Definition acobject.h:454
Definition acobject.h:308
ACPI_NAMESPACE_NODE * Node
Definition acobject.h:311
ACPI_OBJECT_COMMON_HEADER UINT8 SpaceId
Definition acobject.h:310
ACPI_PHYSICAL_ADDRESS Address
Definition acobject.h:314
UINT32 Length
Definition acobject.h:315
union acpi_operand_object * Handler
Definition acobject.h:312
union acpi_operand_object * Next
Definition acobject.h:313
Definition acobject.h:247
Definition acobject.h:408
Definition aclocal.h:870
Definition acobject.h:694
ACPI_NAMESPACE_NODE Node
Definition acobject.h:697
ACPI_COMMON_DESCRIPTOR Common
Definition acobject.h:695
ACPI_OPERAND_OBJECT Object
Definition acobject.h:696
ACPI_PARSE_OBJECT Op
Definition acobject.h:698
Definition acobject.h:623
ACPI_OBJECT_NOTIFY_HANDLER Notify
Definition acobject.h:643
ACPI_OBJECT_PROCESSOR Processor
Definition acobject.h:636
ACPI_OBJECT_REGION_FIELD Field
Definition acobject.h:639
ACPI_OBJECT_THERMAL_ZONE ThermalZone
Definition acobject.h:637
ACPI_OBJECT_EVENT Event
Definition acobject.h:629
ACPI_OBJECT_BANK_FIELD BankField
Definition acobject.h:641
ACPI_OBJECT_METHOD Method
Definition acobject.h:630
ACPI_OBJECT_ADDR_HANDLER AddressSpace
Definition acobject.h:644
ACPI_OBJECT_NOTIFY_COMMON CommonNotify
Definition acobject.h:633
ACPI_OBJECT_BUFFER_FIELD BufferField
Definition acobject.h:640
ACPI_OBJECT_REGION Region
Definition acobject.h:632
ACPI_OBJECT_POWER_RESOURCE PowerResource
Definition acobject.h:635
ACPI_OBJECT_DEVICE Device
Definition acobject.h:634
ACPI_OBJECT_MUTEX Mutex
Definition acobject.h:631
ACPI_OBJECT_EXTRA Extra
Definition acobject.h:646
ACPI_NAMESPACE_NODE Node
Definition acobject.h:655
ACPI_OBJECT_CACHE_LIST Cache
Definition acobject.h:648
ACPI_OBJECT_INTEGER Integer
Definition acobject.h:625
ACPI_OBJECT_REFERENCE Reference
Definition acobject.h:645
ACPI_OBJECT_INDEX_FIELD IndexField
Definition acobject.h:642
ACPI_OBJECT_COMMON Common
Definition acobject.h:624
ACPI_OBJECT_DATA Data
Definition acobject.h:647
ACPI_OBJECT_PACKAGE Package
Definition acobject.h:628
ACPI_OBJECT_STRING String
Definition acobject.h:626
ACPI_OBJECT_FIELD_COMMON CommonField
Definition acobject.h:638
ACPI_OBJECT_BUFFER Buffer
Definition acobject.h:627
Definition aclocal.h:1185