19#define EFI_ACPI_NOTIFY_LIST_SIGNATURE SIGNATURE_32 ('E', 'A', 'N', 'L')
37#define EFI_ACPI_NOTIFY_LIST_FROM_LINK(_link) CR (_link, EFI_ACPI_NOTIFY_LIST, Link, EFI_ACPI_NOTIFY_LIST_SIGNATURE)
45#define EFI_AML_NODE_LIST_SIGNATURE SIGNATURE_32 ('E', 'A', 'M', 'L')
62 UINT8 Name[AML_NAME_SEG_SIZE];
74#define EFI_AML_NODE_LIST_FROM_LINK(_link) CR (_link, EFI_AML_NODE_LIST, Link, EFI_AML_NODE_LIST_SIGNATURE)
79#define EFI_AML_HANDLE_SIGNATURE SIGNATURE_32 ('E', 'A', 'H', 'S')
80#define EFI_AML_ROOT_HANDLE_SIGNATURE SIGNATURE_32 ('E', 'A', 'R', 'H')
98typedef UINT32 AML_OP_PARSE_INDEX;
100#define AML_OP_PARSE_INDEX_GET_OPCODE 0
101#define AML_OP_PARSE_INDEX_GET_TERM1 1
102#define AML_OP_PARSE_INDEX_GET_TERM2 2
103#define AML_OP_PARSE_INDEX_GET_TERM3 3
104#define AML_OP_PARSE_INDEX_GET_TERM4 4
105#define AML_OP_PARSE_INDEX_GET_TERM5 5
106#define AML_OP_PARSE_INDEX_GET_TERM6 6
107#define AML_OP_PARSE_INDEX_GET_SIZE (AML_OP_PARSE_INDEX)-1
109typedef UINT32 AML_OP_PARSE_FORMAT;
121#define AML_HAS_PKG_LENGTH 0x1
122#define AML_IS_NAME_CHAR 0x2
123#define AML_HAS_CHILD_OBJ 0x4
124#define AML_IN_NAMESPACE 0x10000
133 AML_OP_PARSE_FORMAT
Format[6];
172 OUT EFI_ACPI_TABLE_VERSION *Version,
210 OUT EFI_ACPI_HANDLE *Handle
228 OUT EFI_ACPI_HANDLE *Handle
242 IN EFI_ACPI_HANDLE Handle
262 IN EFI_ACPI_HANDLE Handle,
264 OUT EFI_ACPI_DATA_TYPE *DataType,
287 IN EFI_ACPI_HANDLE Handle,
307 IN EFI_ACPI_HANDLE ParentHandle,
308 IN OUT EFI_ACPI_HANDLE *Handle
325 IN EFI_ACPI_HANDLE HandleIn,
327 OUT EFI_ACPI_HANDLE *HandleOut
350 OUT EFI_ACPI_HANDLE *Handle
395 IN AML_OP_PARSE_FORMAT AmlType
407 IN UINT8 *OpByteBuffer
455 IN AML_OP_PARSE_INDEX Index,
456 OUT EFI_ACPI_DATA_TYPE *DataType,
CHAR8 * AmlGetObjectName(IN EFI_AML_HANDLE *AmlHandle)
EFI_STATUS AmlFindPath(IN EFI_AML_HANDLE *AmlHandle, IN UINT8 *AmlPath, OUT VOID **Buffer, IN BOOLEAN FromRoot)
UINTN AmlGetObjectSize(IN AML_BYTE_ENCODING *AmlByteEncoding, IN UINT8 *Buffer, IN UINTN MaxBufferSize)
VOID AmlPrintNameString(IN UINT8 *Buffer)
BOOLEAN AmlIsRootPath(IN UINT8 *Buffer)
EFI_STATUS AmlGetChildFromRoot(IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
EFI_STATUS EFIAPI OpenSdt(IN UINTN TableKey, OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS EFIAPI GetAcpiTable2(IN UINTN Index, OUT EFI_ACPI_SDT_HEADER **Table, OUT EFI_ACPI_TABLE_VERSION *Version, OUT UINTN *TableKey)
EFI_STATUS EFIAPI RegisterNotify(IN BOOLEAN Register, IN EFI_ACPI_NOTIFICATION_FN Notification)
UINTN AmlGetPkgLength(IN UINT8 *Buffer, OUT UINTN *PkgLength)
EFI_STATUS EFIAPI Open(IN VOID *Buffer, OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS EFIAPI FindPath(IN EFI_ACPI_HANDLE HandleIn, IN VOID *AcpiPath, OUT EFI_ACPI_HANDLE *HandleOut)
EFI_STATUS AmlGetNameStringSize(IN UINT8 *Buffer, OUT UINTN *BufferSize)
EFI_STATUS EFIAPI SetOption(IN EFI_ACPI_HANDLE Handle, IN UINTN Index, IN CONST VOID *Data, IN UINTN DataSize)
EFI_STATUS AmlParseOptionHandleCommon(IN EFI_AML_HANDLE *AmlHandle, IN AML_OP_PARSE_INDEX Index, OUT EFI_ACPI_DATA_TYPE *DataType, OUT VOID **Data, OUT UINTN *DataSize)
EFI_STATUS EFIAPI GetChild(IN EFI_ACPI_HANDLE ParentHandle, IN OUT EFI_ACPI_HANDLE *Handle)
UINT8 * AmlNameFromAslName(IN UINT8 *AslPath)
VOID AmlPrintNameSeg(IN UINT8 *Buffer)
EFI_STATUS EFIAPI GetOption(IN EFI_ACPI_HANDLE Handle, IN UINTN Index, OUT EFI_ACPI_DATA_TYPE *DataType, OUT CONST VOID **Data, OUT UINTN *DataSize)
AML_BYTE_ENCODING * AmlSearchByOpByte(IN UINT8 *OpByteBuffer)
EFI_STATUS AmlGetOffsetAfterLastOption(IN EFI_AML_HANDLE *AmlHandle, OUT UINT8 **Buffer)
EFI_STATUS SdtOpenEx(IN VOID *Buffer, IN UINTN BufferSize, OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS AmlGetChildFromNonRoot(IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
EFI_ACPI_DATA_TYPE AmlTypeToAcpiType(IN AML_OP_PARSE_FORMAT AmlType)
EFI_STATUS EFIAPI Close(IN EFI_ACPI_HANDLE Handle)
EFI_STATUS(EFIAPI * EFI_ACPI_NOTIFICATION_FN)(IN EFI_ACPI_SDT_HEADER *Table, IN EFI_ACPI_TABLE_VERSION Version, IN UINTN TableKey)
EFI_STATUS EFIAPI Register(IN EFI_PEI_RSC_HANDLER_CALLBACK Callback)
UINT8 OpCode
OpCode of the AML object.
AML_OP_ATTRIBUTE Attribute
Additional information on the AML object.
AML_PARSE_FORMAT Format[EAmlParseIndexMax]
Type of each fixed argument.
EAML_PARSE_INDEX MaxIndex