]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Add new structure for the Universal Payload ACPI Table Hob
authorZhiguang Liu <zhiguang.liu@intel.com>
Fri, 30 Apr 2021 06:14:33 +0000 (14:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 16 Jun 2021 05:20:19 +0000 (05:20 +0000)
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Tested-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
MdeModulePkg/Include/UniversalPayload/AcpiTable.h [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec

diff --git a/MdeModulePkg/Include/UniversalPayload/AcpiTable.h b/MdeModulePkg/Include/UniversalPayload/AcpiTable.h
new file mode 100644 (file)
index 0000000..33ef726
--- /dev/null
@@ -0,0 +1,30 @@
+/** @file\r
+ Define the structure for the Universal Payload APCI table.\r
+\r
+Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+  @par Revision Reference:\r
+    - Universal Payload Specification 0.75 (https://universalpayload.github.io/documentation/)\r
+**/\r
+\r
+#ifndef UNIVERSAL_PAYLOAD_ACPI_TABLE_H_\r
+#define UNIVERSAL_PAYLOAD_ACPI_TABLE_H_\r
+\r
+#include <Uefi.h>\r
+#include <UniversalPayload/UniversalPayload.h>\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+  UNIVERSAL_PAYLOAD_GENERIC_HEADER   Header;\r
+  EFI_PHYSICAL_ADDRESS               Rsdp;\r
+} UNIVERSAL_PAYLOAD_ACPI_TABLE;\r
+\r
+#pragma pack()\r
+\r
+#define UNIVERSAL_PAYLOAD_ACPI_TABLE_REVISION 1\r
+\r
+extern GUID gUniversalPayloadAcpiTableGuid;\r
+\r
+#endif // UNIVERSAL_PAYLOAD_ACPI_TABLE_H_\r
index 377e868e7c64bbfbdf7238248643823d31e58465..8c0885955b8e7b71dddec7fc1363125beeebd4a7 100644 (file)
   ## Include/UniversalPayload/SmbiosTable.h\r
   gUniversalPayloadSmbiosTableGuid = { 0x590a0d26, 0x06e5, 0x4d20, { 0x8a, 0x82, 0x59, 0xea, 0x1b, 0x34, 0x98, 0x2d } }\r
 \r
+  ## Include/UniversalPayload/AcpiTable.h\r
+  gUniversalPayloadAcpiTableGuid = { 0x9f9a9506, 0x5597, 0x4515, { 0xba, 0xb6, 0x8b, 0xcd, 0xe7, 0x84, 0xba, 0x87 } }\r
+\r
 [Ppis]\r
   ## Include/Ppi/AtaController.h\r
   gPeiAtaControllerPpiGuid       = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r