TianoCore EDK2 master
Loading...
Searching...
No Matches
_AML_BYTE_ENCODING Struct Reference

#include <DynamicTablesPkg/Library/Common/AmlLib/AmlEncoding/Aml.h>

Data Fields

CONST CHAR8 * Str
 String field allowing to print the AML object.
 
UINT8 OpCode
 OpCode of the AML object.
 
UINT8 SubOpCode
 
EAML_PARSE_INDEX MaxIndex
 
EAML_PARSE_INDEX NameIndex
 
AML_PARSE_FORMAT Format [EAmlParseIndexMax]
 Type of each fixed argument.
 
AML_OP_ATTRIBUTE Attribute
 Additional information on the AML object.
 
AML_OP_PARSE_INDEX MaxIndex
 
AML_OP_PARSE_FORMAT Format [6]
 

Detailed Description

Encoding of an AML object.

Every AML object has a specific encoding. This encoding information is used to parse AML objects. A table of AML_BYTE_ENCODING entries allows to parse an AML bytestream. This structure is also used to describe field objects.

Cf. ACPI 6.3 specification, s20.2.

Definition at line 114 of file Aml.h.

Field Documentation

◆ Attribute

AML_OP_ATTRIBUTE _AML_BYTE_ENCODING::Attribute

Additional information on the AML object.

Definition at line 145 of file Aml.h.

◆ Format [1/2]

AML_OP_PARSE_FORMAT _AML_BYTE_ENCODING::Format[6]

Definition at line 133 of file AcpiSdt.h.

◆ Format [2/2]

AML_PARSE_FORMAT _AML_BYTE_ENCODING::Format[EAmlParseIndexMax]

Type of each fixed argument.

Definition at line 142 of file Aml.h.

◆ MaxIndex [1/2]

EAML_PARSE_INDEX _AML_BYTE_ENCODING::MaxIndex

Number of fixed arguments for the AML statement represented by the OpCode & SubOpcode. Maximum is 6 for AML objects. Maximum is 3 for field objects.

Definition at line 134 of file Aml.h.

◆ MaxIndex [2/2]

AML_OP_PARSE_INDEX _AML_BYTE_ENCODING::MaxIndex

Definition at line 132 of file AcpiSdt.h.

◆ NameIndex

EAML_PARSE_INDEX _AML_BYTE_ENCODING::NameIndex

If the encoding has the AML_IN_NAMESPACE attribute (cf Attribute field below), indicate where to find the name in the fixed list of arguments.

Definition at line 139 of file Aml.h.

◆ OpCode

UINT8 _AML_BYTE_ENCODING::OpCode

OpCode of the AML object.

Definition at line 122 of file Aml.h.

◆ Str

CONST CHAR8* _AML_BYTE_ENCODING::Str

String field allowing to print the AML object.

Definition at line 118 of file Aml.h.

◆ SubOpCode

UINT8 _AML_BYTE_ENCODING::SubOpCode

SubOpCode of the AML object. The SubOpcode field has a valid value when the OpCode is 0x5B, otherwise this field must be zero. For field objects, the SubOpCode is not used.

Definition at line 128 of file Aml.h.


The documentation for this struct was generated from the following files: