From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com []) by mx.groups.io with SMTP id smtpd.web11.2551.1624417487963061830 for ; Tue, 22 Jun 2021 20:04:52 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: dun.tan@intel.com) IronPort-SDR: 2FoP4hnukNww7ao3nC0CoSWGa3490VaqxoIiiEZggJ42sWcNOqij3xGCxVxLPVpMdqsUgRkyY3 J5t+nGOJTFDw== X-IronPort-AV: E=McAfee;i="6200,9189,10023"; a="204176843" X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208";a="204176843" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2021 20:04:52 -0700 IronPort-SDR: 1AioDxQDXpz5XB0TXKsgTdBOyXaJkh9HhsKqqoBb8gQYaKYr8hXx89CKqu2rBTUhkv2EoKZaXt FWCIgxYXbQnA== X-IronPort-AV: E=Sophos;i="5.83,293,1616482800"; d="scan'208";a="556824015" Received: from duntan-mobl.ccr.corp.intel.com ([10.238.1.156]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2021 20:04:50 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You , DunTan Subject: [Patch V2 1/2] UefiPayloadPkg: Add new structure for BootManagerMenuFile HOB Date: Wed, 23 Jun 2021 11:04:23 +0800 Message-Id: <20210623030424.2096-2-dun.tan@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20210623030424.2096-1-dun.tan@intel.com> References: <20210623030424.2096-1-dun.tan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add new structure for BootManagerMenuFile HOB in UefiPayloadPkg Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: DunTan --- UefiPayloadPkg/Include/Guid/BootManagerMenu.h | 27 +++++++++++++++++++++++++++ UefiPayloadPkg/UefiPayloadPkg.dec | 3 +++ 2 files changed, 30 insertions(+) diff --git a/UefiPayloadPkg/Include/Guid/BootManagerMenu.h b/UefiPayloadPkg/Include/Guid/BootManagerMenu.h new file mode 100644 index 0000000000..d17cdf3084 --- /dev/null +++ b/UefiPayloadPkg/Include/Guid/BootManagerMenu.h @@ -0,0 +1,27 @@ +/** @file + Define the structure for the Boot Manager Menu File. + +Copyright (c) 2021, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_H_ +#define UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_H_ + +#include +#include + +#pragma pack (1) + +typedef struct { + UNIVERSAL_PAYLOAD_GENERIC_HEADER Header; + GUID FileName; +} UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU; + +#pragma pack() + +#define UNIVERSAL_PAYLOAD_BOOT_MANAGER_MENU_REVISION 1 + +extern GUID gEdkiiBootManagerMenuFileGuid; +#endif diff --git a/UefiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPayloadPkg.dec index 105e1f5a1c..d2b2dbeb25 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dec +++ b/UefiPayloadPkg/UefiPayloadPkg.dec @@ -29,6 +29,9 @@ # gBmpImageGuid = { 0x878AC2CC, 0x5343, 0x46F2, { 0xB5, 0x63, 0x51, 0xF8, 0x9D, 0xAF, 0x56, 0xBA } } + ##include/Guid/BootManagerMenu.h + gEdkiiBootManagerMenuFileGuid = { 0xdf939333, 0x42fc, 0x4b2a, { 0xa5, 0x9e, 0xbb, 0xae, 0x82, 0x81, 0xfe, 0xef }} + gUefiSystemTableInfoGuid = {0x16c8a6d0, 0xfe8a, 0x4082, {0xa2, 0x8, 0xcf, 0x89, 0xc4, 0x29, 0x4, 0x33}} gUefiAcpiBoardInfoGuid = {0xad3d31b, 0xb3d8, 0x4506, {0xae, 0x71, 0x2e, 0xf1, 0x10, 0x6, 0xd9, 0xf}} gUefiSerialPortInfoGuid = { 0x6c6872fe, 0x56a9, 0x4403, { 0xbb, 0x98, 0x95, 0x8d, 0x62, 0xde, 0x87, 0xf1 } } -- 2.31.1.windows.1