ReactOS 0.4.16-dev-122-g325d74c
acobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  acpi_object_common
 
struct  acpi_object_integer
 
struct  acpi_object_string
 
struct  acpi_object_buffer
 
struct  acpi_object_package
 
struct  acpi_object_event
 
struct  acpi_object_mutex
 
struct  acpi_object_region
 
struct  acpi_object_method
 
struct  acpi_object_notify_common
 
struct  acpi_object_device
 
struct  acpi_object_power_resource
 
struct  acpi_object_processor
 
struct  acpi_object_thermal_zone
 
struct  acpi_object_field_common
 
struct  acpi_object_region_field
 
struct  acpi_object_bank_field
 
struct  acpi_object_index_field
 
struct  acpi_object_buffer_field
 
struct  acpi_object_notify_handler
 
struct  acpi_object_addr_handler
 
struct  acpi_object_reference
 
struct  acpi_object_extra
 
struct  acpi_object_data
 
struct  acpi_object_cache_list
 
union  acpi_operand_object
 
struct  acpi_common_descriptor
 
union  acpi_descriptor
 

Macros

#define ACPI_OBJECT_COMMON_HEADER
 
#define AOPOBJ_AML_CONSTANT   0x01 /* Integer is an AML constant */
 
#define AOPOBJ_STATIC_POINTER   0x02 /* Data is part of an ACPI table, don't delete */
 
#define AOPOBJ_DATA_VALID   0x04 /* Object is initialized and data is valid */
 
#define AOPOBJ_OBJECT_INITIALIZED   0x08 /* Region is initialized */
 
#define AOPOBJ_REG_CONNECTED   0x10 /* _REG was run */
 
#define AOPOBJ_SETUP_COMPLETE   0x20 /* Region setup is complete */
 
#define AOPOBJ_INVALID   0x40 /* Host OS won't allow a Region address */
 
#define ACPI_COMMON_BUFFER_INFO(_Type)
 
#define ACPI_METHOD_MODULE_LEVEL   0x01 /* Method is actually module-level code */
 
#define ACPI_METHOD_INTERNAL_ONLY   0x02 /* Method is implemented internally (_OSI) */
 
#define ACPI_METHOD_SERIALIZED   0x04 /* Method is serialized */
 
#define ACPI_METHOD_SERIALIZED_PENDING   0x08 /* Method is to be marked serialized */
 
#define ACPI_METHOD_IGNORE_SYNC_LEVEL   0x10 /* Method was auto-serialized at table load time */
 
#define ACPI_METHOD_MODIFIED_NAMESPACE   0x20 /* Method modified the namespace */
 
#define ACPI_COMMON_NOTIFY_INFO
 
#define ACPI_COMMON_FIELD_INFO
 
#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED   0x01
 
#define ACPI_DESC_TYPE_CACHED   0x01 /* Used only when object is cached */
 
#define ACPI_DESC_TYPE_STATE   0x02
 
#define ACPI_DESC_TYPE_STATE_UPDATE   0x03
 
#define ACPI_DESC_TYPE_STATE_PACKAGE   0x04
 
#define ACPI_DESC_TYPE_STATE_CONTROL   0x05
 
#define ACPI_DESC_TYPE_STATE_RPSCOPE   0x06
 
#define ACPI_DESC_TYPE_STATE_PSCOPE   0x07
 
#define ACPI_DESC_TYPE_STATE_WSCOPE   0x08
 
#define ACPI_DESC_TYPE_STATE_RESULT   0x09
 
#define ACPI_DESC_TYPE_STATE_NOTIFY   0x0A
 
#define ACPI_DESC_TYPE_STATE_THREAD   0x0B
 
#define ACPI_DESC_TYPE_WALK   0x0C
 
#define ACPI_DESC_TYPE_PARSER   0x0D
 
#define ACPI_DESC_TYPE_OPERAND   0x0E
 
#define ACPI_DESC_TYPE_NAMED   0x0F
 
#define ACPI_DESC_TYPE_MAX   0x0F
 

Typedefs

typedef struct acpi_object_common ACPI_OBJECT_COMMON
 
typedef struct acpi_object_integer ACPI_OBJECT_INTEGER
 
typedef struct acpi_object_string ACPI_OBJECT_STRING
 
typedef struct acpi_object_buffer ACPI_OBJECT_BUFFER
 
typedef struct acpi_object_package ACPI_OBJECT_PACKAGE
 
typedef struct acpi_object_event ACPI_OBJECT_EVENT
 
typedef struct acpi_object_mutex ACPI_OBJECT_MUTEX
 
typedef struct acpi_object_region ACPI_OBJECT_REGION
 
typedef struct acpi_object_method ACPI_OBJECT_METHOD
 
typedef struct acpi_object_notify_common ACPI_OBJECT_NOTIFY_COMMON
 
typedef struct acpi_object_device ACPI_OBJECT_DEVICE
 
typedef struct acpi_object_power_resource ACPI_OBJECT_POWER_RESOURCE
 
typedef struct acpi_object_processor ACPI_OBJECT_PROCESSOR
 
typedef struct acpi_object_thermal_zone ACPI_OBJECT_THERMAL_ZONE
 
typedef struct acpi_object_field_common ACPI_OBJECT_FIELD_COMMON
 
typedef struct acpi_object_region_field ACPI_OBJECT_REGION_FIELD
 
typedef struct acpi_object_bank_field ACPI_OBJECT_BANK_FIELD
 
typedef struct acpi_object_index_field ACPI_OBJECT_INDEX_FIELD
 
typedef struct acpi_object_buffer_field ACPI_OBJECT_BUFFER_FIELD
 
typedef struct acpi_object_notify_handler ACPI_OBJECT_NOTIFY_HANDLER
 
typedef struct acpi_object_addr_handler ACPI_OBJECT_ADDR_HANDLER
 
typedef struct acpi_object_reference ACPI_OBJECT_REFERENCE
 
typedef struct acpi_object_extra ACPI_OBJECT_EXTRA
 
typedef struct acpi_object_data ACPI_OBJECT_DATA
 
typedef struct acpi_object_cache_list ACPI_OBJECT_CACHE_LIST
 
typedef union acpi_operand_object ACPI_OPERAND_OBJECT
 
typedef struct acpi_common_descriptor ACPI_COMMON_DESCRIPTOR
 
typedef union acpi_descriptor ACPI_DESCRIPTOR
 

Enumerations

enum  ACPI_REFERENCE_CLASSES {
  ACPI_REFCLASS_LOCAL = 0 , ACPI_REFCLASS_ARG = 1 , ACPI_REFCLASS_REFOF = 2 , ACPI_REFCLASS_INDEX = 3 ,
  ACPI_REFCLASS_TABLE = 4 , ACPI_REFCLASS_NAME = 5 , ACPI_REFCLASS_DEBUG = 6 , ACPI_REFCLASS_MAX = 6
}
 

Macro Definition Documentation

◆ ACPI_ADDR_HANDLER_DEFAULT_INSTALLED

#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED   0x01

Definition at line 426 of file acobject.h.

◆ ACPI_COMMON_BUFFER_INFO

#define ACPI_COMMON_BUFFER_INFO (   _Type)
Value:
_Type *Pointer; \
unsigned int UINT32
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102

Definition at line 131 of file acobject.h.

◆ ACPI_COMMON_FIELD_INFO

#define ACPI_COMMON_FIELD_INFO
Value:
UINT8 FieldFlags; /* Access, update, and lock bits */\
UINT8 Attribute; /* From AccessAs keyword */\
UINT8 AccessByteWidth; /* Read/Write size in bytes */\
ACPI_NAMESPACE_NODE *Node; /* Link back to parent node */\
UINT32 BitLength; /* Length of field in bits */\
UINT32 BaseByteOffset; /* Byte offset within containing object */\
UINT32 Value; /* Value to store into the Bank or Index register */\
UINT8 StartFieldBitOffset;/* Bit offset within first field datum (0-63) */\
UINT8 AccessLength; /* For serial regions/fields */
unsigned char UINT8
union node Node
Definition: types.h:1255
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413

Definition at line 319 of file acobject.h.

◆ ACPI_COMMON_NOTIFY_INFO

#define ACPI_COMMON_NOTIFY_INFO
Value:
union acpi_operand_object *NotifyList[2]; /* Handlers for system/device notifies */\
union acpi_operand_object *Handler; /* Handler for Address space */
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER Handler
Definition: acpixf.h:672
_Inout_ PLIST_ENTRY NotifyList
Definition: fltkernel.h:2238

Definition at line 253 of file acobject.h.

◆ ACPI_DESC_TYPE_CACHED

#define ACPI_DESC_TYPE_CACHED   0x01 /* Used only when object is cached */

Definition at line 563 of file acobject.h.

◆ ACPI_DESC_TYPE_MAX

#define ACPI_DESC_TYPE_MAX   0x0F

Definition at line 578 of file acobject.h.

◆ ACPI_DESC_TYPE_NAMED

#define ACPI_DESC_TYPE_NAMED   0x0F

Definition at line 577 of file acobject.h.

◆ ACPI_DESC_TYPE_OPERAND

#define ACPI_DESC_TYPE_OPERAND   0x0E

Definition at line 576 of file acobject.h.

◆ ACPI_DESC_TYPE_PARSER

#define ACPI_DESC_TYPE_PARSER   0x0D

Definition at line 575 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE

#define ACPI_DESC_TYPE_STATE   0x02

Definition at line 564 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_CONTROL

#define ACPI_DESC_TYPE_STATE_CONTROL   0x05

Definition at line 567 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_NOTIFY

#define ACPI_DESC_TYPE_STATE_NOTIFY   0x0A

Definition at line 572 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_PACKAGE

#define ACPI_DESC_TYPE_STATE_PACKAGE   0x04

Definition at line 566 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_PSCOPE

#define ACPI_DESC_TYPE_STATE_PSCOPE   0x07

Definition at line 569 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_RESULT

#define ACPI_DESC_TYPE_STATE_RESULT   0x09

Definition at line 571 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_RPSCOPE

#define ACPI_DESC_TYPE_STATE_RPSCOPE   0x06

Definition at line 568 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_THREAD

#define ACPI_DESC_TYPE_STATE_THREAD   0x0B

Definition at line 573 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_UPDATE

#define ACPI_DESC_TYPE_STATE_UPDATE   0x03

Definition at line 565 of file acobject.h.

◆ ACPI_DESC_TYPE_STATE_WSCOPE

#define ACPI_DESC_TYPE_STATE_WSCOPE   0x08

Definition at line 570 of file acobject.h.

◆ ACPI_DESC_TYPE_WALK

#define ACPI_DESC_TYPE_WALK   0x0C

Definition at line 574 of file acobject.h.

◆ ACPI_METHOD_IGNORE_SYNC_LEVEL

#define ACPI_METHOD_IGNORE_SYNC_LEVEL   0x10 /* Method was auto-serialized at table load time */

Definition at line 240 of file acobject.h.

◆ ACPI_METHOD_INTERNAL_ONLY

#define ACPI_METHOD_INTERNAL_ONLY   0x02 /* Method is implemented internally (_OSI) */

Definition at line 237 of file acobject.h.

◆ ACPI_METHOD_MODIFIED_NAMESPACE

#define ACPI_METHOD_MODIFIED_NAMESPACE   0x20 /* Method modified the namespace */

Definition at line 241 of file acobject.h.

◆ ACPI_METHOD_MODULE_LEVEL

#define ACPI_METHOD_MODULE_LEVEL   0x01 /* Method is actually module-level code */

Definition at line 236 of file acobject.h.

◆ ACPI_METHOD_SERIALIZED

#define ACPI_METHOD_SERIALIZED   0x04 /* Method is serialized */

Definition at line 238 of file acobject.h.

◆ ACPI_METHOD_SERIALIZED_PENDING

#define ACPI_METHOD_SERIALIZED_PENDING   0x08 /* Method is to be marked serialized */

Definition at line 239 of file acobject.h.

◆ ACPI_OBJECT_COMMON_HEADER

#define ACPI_OBJECT_COMMON_HEADER
Value:
union acpi_operand_object *NextObject; /* Objects linked to parent NS node */\
UINT8 DescriptorType; /* To differentiate various internal objs */\
UINT8 Type; /* ACPI_OBJECT_TYPE */\
UINT16 ReferenceCount; /* For object deletion management */\
unsigned short UINT16
Type
Definition: Type.h:7
_In_ ULONG _In_ PVOID _In_ LONG DescriptorType
Definition: usbdlib.h:160
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

Definition at line 81 of file acobject.h.

◆ AOPOBJ_AML_CONSTANT

#define AOPOBJ_AML_CONSTANT   0x01 /* Integer is an AML constant */

Definition at line 94 of file acobject.h.

◆ AOPOBJ_DATA_VALID

#define AOPOBJ_DATA_VALID   0x04 /* Object is initialized and data is valid */

Definition at line 96 of file acobject.h.

◆ AOPOBJ_INVALID

#define AOPOBJ_INVALID   0x40 /* Host OS won't allow a Region address */

Definition at line 100 of file acobject.h.

◆ AOPOBJ_OBJECT_INITIALIZED

#define AOPOBJ_OBJECT_INITIALIZED   0x08 /* Region is initialized */

Definition at line 97 of file acobject.h.

◆ AOPOBJ_REG_CONNECTED

#define AOPOBJ_REG_CONNECTED   0x10 /* _REG was run */

Definition at line 98 of file acobject.h.

◆ AOPOBJ_SETUP_COMPLETE

#define AOPOBJ_SETUP_COMPLETE   0x20 /* Region setup is complete */

Definition at line 99 of file acobject.h.

◆ AOPOBJ_STATIC_POINTER

#define AOPOBJ_STATIC_POINTER   0x02 /* Data is part of an ACPI table, don't delete */

Definition at line 95 of file acobject.h.

Typedef Documentation

◆ ACPI_COMMON_DESCRIPTOR

◆ ACPI_DESCRIPTOR

◆ ACPI_OBJECT_ADDR_HANDLER

◆ ACPI_OBJECT_BANK_FIELD

◆ ACPI_OBJECT_BUFFER

◆ ACPI_OBJECT_BUFFER_FIELD

◆ ACPI_OBJECT_CACHE_LIST

◆ ACPI_OBJECT_COMMON

◆ ACPI_OBJECT_DATA

◆ ACPI_OBJECT_DEVICE

◆ ACPI_OBJECT_EVENT

◆ ACPI_OBJECT_EXTRA

◆ ACPI_OBJECT_FIELD_COMMON

◆ ACPI_OBJECT_INDEX_FIELD

◆ ACPI_OBJECT_INTEGER

◆ ACPI_OBJECT_METHOD

◆ ACPI_OBJECT_MUTEX

◆ ACPI_OBJECT_NOTIFY_COMMON

◆ ACPI_OBJECT_NOTIFY_HANDLER

◆ ACPI_OBJECT_PACKAGE

◆ ACPI_OBJECT_POWER_RESOURCE

◆ ACPI_OBJECT_PROCESSOR

◆ ACPI_OBJECT_REFERENCE

◆ ACPI_OBJECT_REGION

◆ ACPI_OBJECT_REGION_FIELD

◆ ACPI_OBJECT_STRING

◆ ACPI_OBJECT_THERMAL_ZONE

◆ ACPI_OPERAND_OBJECT

Enumeration Type Documentation

◆ ACPI_REFERENCE_CLASSES

Enumerator
ACPI_REFCLASS_LOCAL 
ACPI_REFCLASS_ARG 
ACPI_REFCLASS_REFOF 
ACPI_REFCLASS_INDEX 
ACPI_REFCLASS_TABLE 
ACPI_REFCLASS_NAME 
ACPI_REFCLASS_DEBUG 
ACPI_REFCLASS_MAX 

Definition at line 457 of file acobject.h.

458{
459 ACPI_REFCLASS_LOCAL = 0, /* Method local */
460 ACPI_REFCLASS_ARG = 1, /* Method argument */
461 ACPI_REFCLASS_REFOF = 2, /* Result of RefOf() TBD: Split to Ref/Node and Ref/OperandObj? */
462 ACPI_REFCLASS_INDEX = 3, /* Result of Index() */
463 ACPI_REFCLASS_TABLE = 4, /* DdbHandle - Load(), LoadTable() */
464 ACPI_REFCLASS_NAME = 5, /* Reference to a named object */
465 ACPI_REFCLASS_DEBUG = 6, /* Debug object */
466
468
ACPI_REFERENCE_CLASSES
Definition: acobject.h:458
@ ACPI_REFCLASS_TABLE
Definition: acobject.h:463
@ ACPI_REFCLASS_MAX
Definition: acobject.h:467
@ ACPI_REFCLASS_NAME
Definition: acobject.h:464
@ ACPI_REFCLASS_ARG
Definition: acobject.h:460
@ ACPI_REFCLASS_INDEX
Definition: acobject.h:462
@ ACPI_REFCLASS_LOCAL
Definition: acobject.h:459
@ ACPI_REFCLASS_REFOF
Definition: acobject.h:461
@ ACPI_REFCLASS_DEBUG
Definition: acobject.h:465