summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include/UniversalPayload/AcpiTable.h
diff options
context:
space:
mode:
authorZhiguang Liu <zhiguang.liu@intel.com>2021-04-30 14:14:33 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-06-16 05:20:19 +0000
commit75293330eaefd2f146ed7716ecf423020b10bf8f (patch)
treefe4ad0d44142d8bf67732c4e452ef2694111ee35 /MdeModulePkg/Include/UniversalPayload/AcpiTable.h
parent302a8f353c6ded0cdabb55671c4d7012b5e11ed7 (diff)
downloadedk2-75293330eaefd2f146ed7716ecf423020b10bf8f.tar.gz
edk2-75293330eaefd2f146ed7716ecf423020b10bf8f.tar.bz2
edk2-75293330eaefd2f146ed7716ecf423020b10bf8f.zip
MdeModulePkg: Add new structure for the Universal Payload ACPI Table Hob
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>
Diffstat (limited to 'MdeModulePkg/Include/UniversalPayload/AcpiTable.h')
-rw-r--r--MdeModulePkg/Include/UniversalPayload/AcpiTable.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/UniversalPayload/AcpiTable.h b/MdeModulePkg/Include/UniversalPayload/AcpiTable.h
new file mode 100644
index 0000000000..33ef72637e
--- /dev/null
+++ b/MdeModulePkg/Include/UniversalPayload/AcpiTable.h
@@ -0,0 +1,30 @@
+/** @file
+ Define the structure for the Universal Payload APCI table.
+
+Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+ @par Revision Reference:
+ - Universal Payload Specification 0.75 (https://universalpayload.github.io/documentation/)
+**/
+
+#ifndef UNIVERSAL_PAYLOAD_ACPI_TABLE_H_
+#define UNIVERSAL_PAYLOAD_ACPI_TABLE_H_
+
+#include <Uefi.h>
+#include <UniversalPayload/UniversalPayload.h>
+
+#pragma pack(1)
+
+typedef struct {
+ UNIVERSAL_PAYLOAD_GENERIC_HEADER Header;
+ EFI_PHYSICAL_ADDRESS Rsdp;
+} UNIVERSAL_PAYLOAD_ACPI_TABLE;
+
+#pragma pack()
+
+#define UNIVERSAL_PAYLOAD_ACPI_TABLE_REVISION 1
+
+extern GUID gUniversalPayloadAcpiTableGuid;
+
+#endif // UNIVERSAL_PAYLOAD_ACPI_TABLE_H_