12#ifndef __ACPI_SYSTEM_DESCRIPTION_TABLE_H___
13#define __ACPI_SYSTEM_DESCRIPTION_TABLE_H___
15#define EFI_ACPI_SDT_PROTOCOL_GUID \
16 { 0xeb97088e, 0xcfdf, 0x49c6, { 0xbe, 0x4b, 0xd9, 0x6, 0xa5, 0xb2, 0xe, 0x86 }}
18typedef UINT32 EFI_ACPI_TABLE_VERSION;
19typedef VOID *EFI_ACPI_HANDLE;
21#define EFI_ACPI_TABLE_VERSION_NONE (1 << 0)
22#define EFI_ACPI_TABLE_VERSION_1_0B (1 << 1)
23#define EFI_ACPI_TABLE_VERSION_2_0 (1 << 2)
24#define EFI_ACPI_TABLE_VERSION_3_0 (1 << 3)
25#define EFI_ACPI_TABLE_VERSION_4_0 (1 << 4)
26#define EFI_ACPI_TABLE_VERSION_5_0 (1 << 5)
28typedef UINT32 EFI_ACPI_DATA_TYPE;
29#define EFI_ACPI_DATA_TYPE_NONE 0
30#define EFI_ACPI_DATA_TYPE_OPCODE 1
31#define EFI_ACPI_DATA_TYPE_NAME_STRING 2
32#define EFI_ACPI_DATA_TYPE_OP 3
33#define EFI_ACPI_DATA_TYPE_UINT 4
34#define EFI_ACPI_DATA_TYPE_STRING 5
35#define EFI_ACPI_DATA_TYPE_CHILD 6
46 UINT32 CreatorRevision;
53 IN EFI_ACPI_TABLE_VERSION Version,
88 OUT EFI_ACPI_TABLE_VERSION *Version,
128 OUT EFI_ACPI_HANDLE *Handle
144 OUT EFI_ACPI_HANDLE *Handle
158 IN EFI_ACPI_HANDLE Handle
175 IN EFI_ACPI_HANDLE ParentHandle,
176 IN OUT EFI_ACPI_HANDLE *Handle
195 IN EFI_ACPI_HANDLE Handle,
197 OUT EFI_ACPI_DATA_TYPE *DataType,
220 IN EFI_ACPI_HANDLE Handle,
240 IN EFI_ACPI_HANDLE HandleIn,
242 OUT EFI_ACPI_HANDLE *HandleOut
261extern EFI_GUID gEfiAcpiSdtProtocolGuid;
EFI_STATUS(EFIAPI * EFI_ACPI_SET_OPTION)(IN EFI_ACPI_HANDLE Handle, IN UINTN Index, IN CONST VOID *Data, IN UINTN DataSize)
EFI_STATUS(EFIAPI * EFI_ACPI_GET_OPTION)(IN EFI_ACPI_HANDLE Handle, IN UINTN Index, OUT EFI_ACPI_DATA_TYPE *DataType, OUT CONST VOID **Data, OUT UINTN *DataSize)
EFI_STATUS(EFIAPI * EFI_ACPI_OPEN_SDT)(IN UINTN TableKey, OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS(EFIAPI * EFI_ACPI_OPEN)(IN VOID *Buffer, OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS(EFIAPI * EFI_ACPI_GET_ACPI_TABLE2)(IN UINTN Index, OUT EFI_ACPI_SDT_HEADER **Table, OUT EFI_ACPI_TABLE_VERSION *Version, OUT UINTN *TableKey)
EFI_STATUS(EFIAPI * EFI_ACPI_CLOSE)(IN EFI_ACPI_HANDLE Handle)
EFI_STATUS(EFIAPI * EFI_ACPI_GET_CHILD)(IN EFI_ACPI_HANDLE ParentHandle, IN OUT EFI_ACPI_HANDLE *Handle)
EFI_STATUS(EFIAPI * EFI_ACPI_REGISTER_NOTIFY)(IN BOOLEAN Register, IN EFI_ACPI_NOTIFICATION_FN Notification)
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 * EFI_ACPI_FIND_PATH)(IN EFI_ACPI_HANDLE HandleIn, IN VOID *AcpiPath, OUT EFI_ACPI_HANDLE *HandleOut)
EFI_STATUS EFIAPI Register(IN EFI_PEI_RSC_HANDLER_CALLBACK Callback)
EFI_ACPI_TABLE_VERSION AcpiVersion