X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FUefi%2FUefiAcpiDataTable.h;h=30a53559fd338c72a9ef2ef743d5ae90862758b7;hb=790f3b7521456c0f46a4c9d109c5f386eeb50e66;hp=d0245fca877094d95982e750a223d2205dc8f767;hpb=2094c4d03f4f734f566f4d720cb9bad464d51a24;p=mirror_edk2.git diff --git a/MdePkg/Include/Uefi/UefiAcpiDataTable.h b/MdePkg/Include/Uefi/UefiAcpiDataTable.h index d0245fca87..30a53559fd 100644 --- a/MdePkg/Include/Uefi/UefiAcpiDataTable.h +++ b/MdePkg/Include/Uefi/UefiAcpiDataTable.h @@ -23,6 +23,32 @@ typedef struct { GUID Identifier; UINT16 DataOffset; } EFI_ACPI_DATA_TABLE; + +typedef struct { + EFI_ACPI_DATA_TABLE UefiAcpiDataTable; + UINT32 SwSmiNumber; + UINT64 BufferPtrAddress; +} EFI_SMM_COMMUNICATION_ACPI_TABLE; + +/// +/// To avoid confusion in interpreting frames, the communication buffer should always +/// begin with EFI_SMM_COMMUNICATE_HEADER +/// +typedef struct { + /// + /// Allows for disambiguation of the message format. + /// + EFI_GUID HeaderGuid; + /// + /// Describes the size of Data (in bytes) and does not include the size of the header. + /// + UINTN MessageLength; + /// + /// Designates an array of bytes that is MessageLength in size. + /// + UINT8 Data[1]; +} EFI_SMM_COMMUNICATE_HEADER; + #pragma pack() #endif