]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiPayloadPkg: Add new structure for BootManagerMenuFile HOB
authorduntan <dun.tan@intel.com>
Mon, 21 Jun 2021 07:29:40 +0000 (15:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 24 Jun 2021 09:16:22 +0000 (09:16 +0000)
Add new structure for BootManagerMenuFile HOB in UefiPayloadPkg

Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Signed-off-by: DunTan <dun.tan@intel.com>
UefiPayloadPkg/Include/Guid/BootManagerMenu.h [new file with mode: 0644]
UefiPayloadPkg/UefiPayloadPkg.dec

diff --git a/UefiPayloadPkg/Include/Guid/BootManagerMenu.h b/UefiPayloadPkg/Include/Guid/BootManagerMenu.h
new file mode 100644 (file)
index 0000000..d17cdf3
--- /dev/null
@@ -0,0 +1,27 @@
+/** @file\r
+  Define the structure for the Boot Manager Menu File.\r
+\r
+Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_H_\r
+#define UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_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
+  GUID                               FileName;\r
+} UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU;\r
+\r
+#pragma pack()\r
+\r
+#define UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_REVISION 1\r
+\r
+extern GUID gEdkiiBootManagerMenuFileGuid;\r
+#endif\r
index d84f5609959bf0ca3eeb937a64354e6b89d89374..8f0a7e3f95c851be0ba10293b38a0bcec4f84085 100644 (file)
@@ -29,6 +29,9 @@
   #\r
   gBmpImageGuid                           = { 0x878AC2CC, 0x5343, 0x46F2, { 0xB5, 0x63, 0x51, 0xF8, 0x9D, 0xAF, 0x56, 0xBA } }\r
 \r
+  ##include/Guid/BootManagerMenu.h\r
+  gEdkiiBootManagerMenuFileGuid = { 0xdf939333, 0x42fc, 0x4b2a, { 0xa5, 0x9e, 0xbb, 0xae, 0x82, 0x81, 0xfe, 0xef }}\r
+\r
   gUefiSystemTableInfoGuid = {0x16c8a6d0, 0xfe8a, 0x4082, {0xa2, 0x8, 0xcf, 0x89, 0xc4, 0x29, 0x4, 0x33}}\r
   gUefiAcpiBoardInfoGuid   = {0xad3d31b, 0xb3d8, 0x4506, {0xae, 0x71, 0x2e, 0xf1, 0x10, 0x6, 0xd9, 0xf}}\r
   gUefiSerialPortInfoGuid  = { 0x6c6872fe, 0x56a9, 0x4403, { 0xbb, 0x98, 0x95, 0x8d, 0x62, 0xde, 0x87, 0xf1 } }\r