From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail03.groups.io (mail03.groups.io [45.79.227.220]) by spool.mail.gandi.net (Postfix) with ESMTPS id AC7BF740046 for ; Thu, 11 Apr 2024 08:21:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6hY61yP4QNwCyzNh9MEVO4OPDNa6ziR7cNTfrzRO5pA=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240206; t=1712823663; v=1; b=mEhLfgZqYSnazxEubwRP6in/uWriLN6hiyq+G88up5XtCrdKEUNPNB+ovG/ccoxc80CCyEL9 5WZmGb6pANBsAJBLTPQZs+waLdaJkNK6d8RBOv8vDmaDzF05ILdn5ozXWbH09R7d9Z3ElLaq5H9 YE3fHsRNUPHxJHZOtkFN9txOETXglEBz8zRLRQYxxDEc0c5Bn1/LnNKV7ifAe9cTtrgdDOjlpyC 2+jb/L6EjUcTUCuBYhHn8+ryJaOSetKeC8/Pl7GAcfECtyf6qRGihK5CitcYaH1l9MXI5fxMRL5 CLv6zZNWpyDqyr3EOGGF0N8pOJkQImLftWgMoTY8MHapQ== X-Received: by 127.0.0.2 with SMTP id cqAiYY7687511xRcpBHVihlI; Thu, 11 Apr 2024 01:21:03 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mx.groups.io with SMTP id smtpd.web10.12623.1712823662359076843 for ; Thu, 11 Apr 2024 01:21:02 -0700 X-CSE-ConnectionGUID: 3NMSVOUHSaChtlX1lFqVWQ== X-CSE-MsgGUID: jjffmvtQRZmp8wbcJlqHKg== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="8383805" X-IronPort-AV: E=Sophos;i="6.07,192,1708416000"; d="scan'208,217";a="8383805" X-Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2024 01:21:01 -0700 X-CSE-ConnectionGUID: q/A3QSXzSO68lVcagONE0Q== X-CSE-MsgGUID: btOggsUPQ9yrnelA4/iUAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,192,1708416000"; d="scan'208,217";a="25597543" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 11 Apr 2024 01:21:02 -0700 X-Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 11 Apr 2024 01:21:01 -0700 X-Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 11 Apr 2024 01:21:01 -0700 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 11 Apr 2024 01:21:01 -0700 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.41) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 11 Apr 2024 01:21:00 -0700 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by CH0PR11MB8166.namprd11.prod.outlook.com (2603:10b6:610:182::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7430.46; Thu, 11 Apr 2024 08:20:59 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::2c31:82b7:9f26:5817]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::2c31:82b7:9f26:5817%5]) with mapi id 15.20.7430.045; Thu, 11 Apr 2024 08:20:59 +0000 From: "Ni, Ray" To: "Wu, Jiaxin" , "devel@edk2.groups.io" CC: Ard Biesheuvel , "Yao, Jiewen" , Gerd Hoffmann Subject: Re: [edk2-devel] [PATCH v1 10/13] OvmfPkg/PlatformInitLib: Create gEfiAcpiVariableGuid Thread-Topic: [PATCH v1 10/13] OvmfPkg/PlatformInitLib: Create gEfiAcpiVariableGuid Thread-Index: AQHai08ZhTPI3Sd9g0+syD2+LfgFirFiu51n Date: Thu, 11 Apr 2024 08:20:59 +0000 Message-ID: References: <20240410135724.15344-1-jiaxin.wu@intel.com> <20240410135724.15344-11-jiaxin.wu@intel.com> In-Reply-To: <20240410135724.15344-11-jiaxin.wu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CH0PR11MB8166:EE_ x-ms-office365-filtering-correlation-id: 56cfd6b0-f475-4b99-e2c8-08dc5a00515c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: j2PfmXAuU0+r68R84cfaCDe/rpLQJSQ30dHp/aj3hGkVc+gJ/WxQyMtrUMNistj332kBIIaKiV0K6y0BltaskcRp0At2sP45QScWoYILjeP/kEoHI43/i1Y/QZwJo1QioZhhX0mJGeOKCTUuXJnf+ZUIb4/eYkvV38DBXUd+nHTsQtCMDJ4iiSmc2K/7zlaNzbkJz9FVI6oy3e825z31wnxQPnZMrvdN+UNyyNVIW5JifSgP4+JsjLVhPaOgqvo/LFLk7HKnQCiES3/XZIt3mQr1/rG7nWUOFMIZTM+KuhJ6gswPshgBF8Ox1BbgYkP0Yk8zZPLFMfR2ykT9fZzQ7HrEIXRubfqkL5Y5+W5+EONKS07qjXR7wtWP/Ku50N6mFSHInmhh1OKSbMGvPLId7uMsAqj5bL6b+jQMe+1KXUYjFh32i59Og0otRfrxdwBbKwJu4jz6yACOCOTJ/gV1wIEQYy1/vhN8LfonK6kCtkEoFlsVby+Tz10IerAyKVHnUOGzw5vNasrmkNMQiyYz2/nGt13+S5S9GFnhy7bDZgMbJHbAFBVA8IYyuxnP39T/CutXT2ZKVKvU2eWphsp5tmOnRbwhrkqrZ4luxhlGIY8vjMnbXr+cM1nrtOV5suXeVu9GWiXeDwhU9Yq3v0LEOreeDGB2IRNqsiS27ze4xwldjkzUF9NaA/ciB+vWJcAAAhAhQdvdJjbKx/z2/CHSOCxd0MHwyErzoBgutTfo12Q= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+Pl66oNGLiIqRf46qdaxo7o6wVTstkYLDnW5MigLcEKdMj7Tp/ABkzND5V6E?= =?us-ascii?Q?I1VrtqOPbRPPg8vpu5VHq82XBUdtTvKI+xR2ATCOOPqqXSUHSWfXKicox7e3?= =?us-ascii?Q?ul7ts10TCRWqZYHmMJ2trvOZC5/O12idBCpYptEbJzJ/9U0KYVPiy+WF200T?= =?us-ascii?Q?Q2/OiSOR9m2hzwua7X4sbFbwgXV2mS+q4ojQ1CxYuyWMQGraO4nfe5G0PUoI?= =?us-ascii?Q?kRCmVl/BeQXlpcD/hQMthOfkw7C543BKgNSh/Dh8j38BD9fAMz0BYU4RNtzJ?= =?us-ascii?Q?26wouETsH3t7t71cNOREO1otWn0Be86enDyhU2PK8oLMQlx8oInI3CaIPWgr?= =?us-ascii?Q?ovVXvfLJiQeKJJqaBmR7dzOc0TDmB9ymVWD+EL2MjtKRnRZClpx5ryLYvjTw?= =?us-ascii?Q?HL1ZNwvLJ9lFOJ9EtvMF2r3KBPh/sicITMjRAqYSBDVC27WamB20ue8uSDRr?= =?us-ascii?Q?kGCOfcERmxUnors+wwszyC0Df39Maoe2y2r4HA+Sl4n3jyYSzZJM5hL5n/+w?= =?us-ascii?Q?HI0AY1AmHzHDb6akzcUSB5u9fyjCh4AtBKjC8EifUL+lmiYNQGXegTkCZcBr?= =?us-ascii?Q?NXkdG78K8xfb/uW1d6XqF7Mcv7iFSLjAQSEopmtvjfbnC4OmdBITeVG6/vcT?= =?us-ascii?Q?RovyKgoy/MibUN5ZWLEbWfC2i2qwTGC3WD+jbwj4e3FhKQ07fNwzrCMh+ehJ?= =?us-ascii?Q?Y6K6jw9tzlGCRpIidcEKHpU1d0XZ0hqT0pWBK1J11YkVIjIJH6GWCdjJ387X?= =?us-ascii?Q?cCqadFf5HSCY3wsVxz0R6V7erQTVF+tpxjXvv+PuGmFfx71+25/cZ22hWkr1?= =?us-ascii?Q?Qr43X3ZsjinHJ+fQlPzKXUlFT2v3ClujH9bCAXcrczzDtUNZIkULXsH3rn/5?= =?us-ascii?Q?ddgKl7+aVUmJxsI3h6uQf1jHAZx+PPodvCA1unXnaYlotCtbyTqCaaTFzsIq?= =?us-ascii?Q?O74ZyTK8X582aRliNVG74sdYX1suQHQbbTaZyD359YE3QczvD98LIpLoJfy8?= =?us-ascii?Q?uoeaX/gtOe2nxnre7lmSqb6h5DIfM91gCNw1KFfez/YzMEjZla7wB/Yt2qWM?= =?us-ascii?Q?Jq1ZF+Kb+wQmq7Kb8+0+snkcz53kC4nONL6AnaUI2y/eQWOBbsAZvYJ40ykc?= =?us-ascii?Q?kCmL1cGktOfN4VKT6EDWIYWD+156+kxivtOQsAcagdCIOBfB4LNjtIs8pDjp?= =?us-ascii?Q?fTjJhM4lzwgGXfwxnC6UwAwa1OUHmCNP+yWewarn06IfsP4tlyrF7fzCQzeL?= =?us-ascii?Q?2H9O86jTE3qcLUwccqiQVbNE5VQIwPH1jsxGeUHkjZQoXOnoj2aU+mVo8SUk?= =?us-ascii?Q?o/e6EHvCfa7zs5ud0eQQnvmPcfrTvvKsY8CX6mJZeIYUGbsMTnhi1MvhXrZ6?= =?us-ascii?Q?Bw/iYHo+YW5p0Sfar0U5ezNRDhPj5E2+6K4pltLO4niE6+730zCfjgJLV8Fk?= =?us-ascii?Q?uDPKikt86/83iXUvNTrafIDDAqgHfqxf7QWijfggLDrMWXAqSC5SNN+xcOPs?= =?us-ascii?Q?gZKtAGf+uQe6mUPYZyZELMghcuAEQBU0JyNL55cpd+WfOJXazVYK+eqkZGUc?= =?us-ascii?Q?yxnv2M7zhWiJfzHM47c=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56cfd6b0-f475-4b99-e2c8-08dc5a00515c X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2024 08:20:59.1208 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +YeOaGYawNLSA6bHLZcZJDsXhQaKOEdALLp5AMqqp8ioRvhFUegxfQ+jGfSCDdEfVS82QIov4kum/dpPTROSpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB8166 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 11 Apr 2024 01:21:02 -0700 Resent-From: ray.ni@intel.com Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: r3IWkCfLrX3Zdbis8C3G0pwHx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN6PR11MB8244446A51DA7C799A40FC6A8C052MN6PR11MB8244namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=mEhLfgZq; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.227.220 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_MN6PR11MB8244446A51DA7C799A40FC6A8C052MN6PR11MB8244namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Which patch removes this HOB creation from SmmAccess driver? Thanks, Ray ________________________________ From: Wu, Jiaxin Sent: Wednesday, April 10, 2024 21:57 To: devel@edk2.groups.io Cc: Ard Biesheuvel ; Yao, Jiewen ; Gerd Hoffmann ; Ni, Ray Subject: [PATCH v1 10/13] OvmfPkg/PlatformInitLib: Create gEfiAcpiVariableG= uid This patch is for OVMF to create the gEfiAcpiVariableGuid since it has been removed from the SmmAccess driver. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Ray Ni Signed-off-by: Jiaxin Wu --- OvmfPkg/Library/PlatformInitLib/MemDetect.c | 9 +++++++++ OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf | 1 + 2 files changed, 10 insertions(+) diff --git a/OvmfPkg/Library/PlatformInitLib/MemDetect.c b/OvmfPkg/Library/= PlatformInitLib/MemDetect.c index 8b98256225..f451c9d80c 100644 --- a/OvmfPkg/Library/PlatformInitLib/MemDetect.c +++ b/OvmfPkg/Library/PlatformInitLib/MemDetect.c @@ -41,10 +41,11 @@ Module Name: #include #include #include +#include #include #define MEGABYTE_SHIFT 20 VOID @@ -1050,10 +1051,11 @@ PlatformQemuInitializeRam ( UINT32 TsegSize; UINTN BufferSize; UINT8 SmramRanges; EFI_PEI_HOB_POINTERS Hob; EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *SmramHobDescriptorBlock; + VOID *GuidHob; TsegSize =3D PlatformInfoHob->Q35TsegMbytes * SIZE_1MB; PlatformAddMemoryRangeHob (BASE_1MB, PlatformInfoHob->LowMemory - Tseg= Size); PlatformAddReservedMemoryBaseSizeHob ( PlatformInfoHob->LowMemory - TsegSize, @@ -1080,10 +1082,17 @@ PlatformQemuInitializeRam ( SmramHobDescriptorBlock->Descriptor[0].PhysicalStart =3D PlatformInfoH= ob->LowMemory - TsegSize; SmramHobDescriptorBlock->Descriptor[0].CpuStart =3D PlatformInfoH= ob->LowMemory - TsegSize; SmramHobDescriptorBlock->Descriptor[0].PhysicalSize =3D EFI_PAGE_SIZE= ; SmramHobDescriptorBlock->Descriptor[0].RegionState =3D EFI_SMRAM_CLO= SED | EFI_CACHEABLE | EFI_ALLOCATED; + // + // Create gEfiAcpiVariableGuid + // + GuidHob =3D BuildGuidHob (&gEfiAcpiVariableGuid, sizeof (EFI_SMRAM_DES= CRIPTOR)); + ASSERT (GuidHob !=3D NULL); + CopyMem (GuidHob, &SmramHobDescriptorBlock->Descriptor[0], sizeof (EFI= _SMRAM_DESCRIPTOR)); + // // Create second SMRAM descriptor, which is free and will be used by S= MM foundation. // SmramHobDescriptorBlock->Descriptor[1].PhysicalStart =3D SmramHobDescr= iptorBlock->Descriptor[0].PhysicalStart + EFI_PAGE_SIZE; SmramHobDescriptorBlock->Descriptor[1].CpuStart =3D SmramHobDescr= iptorBlock->Descriptor[0].CpuStart + EFI_PAGE_SIZE; diff --git a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf b/OvmfPkg/= Library/PlatformInitLib/PlatformInitLib.inf index 2bb1c0296f..21e6efa5e0 100644 --- a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf +++ b/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf @@ -56,10 +56,11 @@ [LibraryClasses.X64] TdxLib [Guids] gEfiSmmSmramMemoryGuid + gEfiAcpiVariableGuid [Pcd] gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable -- 2.16.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117621): https://edk2.groups.io/g/devel/message/117621 Mute This Topic: https://groups.io/mt/105442002/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_MN6PR11MB8244446A51DA7C799A40FC6A8C052MN6PR11MB8244namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Which patch removes this HOB creation from SmmAccess driver?

Thanks,
Ray

From: Wu, Jiaxin <jiaxin= .wu@intel.com>
Sent: Wednesday, April 10, 2024 21:57
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>; Yao, Jiewen &l= t;jiewen.yao@intel.com>; Gerd Hoffmann <kraxel@redhat.com>; Ni, Ra= y <ray.ni@intel.com>
Subject: [PATCH v1 10/13] OvmfPkg/PlatformInitLib: Create gEfiAcpiVa= riableGuid
 
This patch is for OVMF to create the gEfiAcpiVaria= bleGuid
since it has been removed from the SmmAccess driver.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
---
 OvmfPkg/Library/PlatformInitLib/MemDetect.c    &n= bsp;    | 9 +++++++++
 OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf | 1 +
 2 files changed, 10 insertions(+)

diff --git a/OvmfPkg/Library/PlatformInitLib/MemDetect.c b/OvmfPkg/Library/= PlatformInitLib/MemDetect.c
index 8b98256225..f451c9d80c 100644
--- a/OvmfPkg/Library/PlatformInitLib/MemDetect.c
+++ b/OvmfPkg/Library/PlatformInitLib/MemDetect.c
@@ -41,10 +41,11 @@ Module Name:
 #include <Library/QemuFwCfgSimpleParserLib.h>
 #include <Library/TdxLib.h>
 
 #include <Library/PlatformInitLib.h>
 
+#include <Guid/AcpiS3Context.h>
 #include <Guid/SmramMemoryReserve.h>
 
 #define MEGABYTE_SHIFT  20
 
 VOID
@@ -1050,10 +1051,11 @@ PlatformQemuInitializeRam (
     UINT32       &n= bsp;            = ;      TsegSize;
     UINTN       &nb= sp;            =        BufferSize;
     UINT8       &nb= sp;            =        SmramRanges;
     EFI_PEI_HOB_POINTERS     =        Hob;
     EFI_SMRAM_HOB_DESCRIPTOR_BLOCK  *SmramHobDesc= riptorBlock;
+    VOID        &nb= sp;            =        *GuidHob;
 
     TsegSize =3D PlatformInfoHob->Q35TsegMbytes * S= IZE_1MB;
     PlatformAddMemoryRangeHob (BASE_1MB, PlatformInfoH= ob->LowMemory - TsegSize);
     PlatformAddReservedMemoryBaseSizeHob (
       PlatformInfoHob->LowMemory - TsegSi= ze,
@@ -1080,10 +1082,17 @@ PlatformQemuInitializeRam (
     SmramHobDescriptorBlock->Descriptor[0].Physical= Start =3D PlatformInfoHob->LowMemory - TsegSize;
     SmramHobDescriptorBlock->Descriptor[0].CpuStart=       =3D PlatformInfoHob->LowMemory - TsegSize= ;
     SmramHobDescriptorBlock->Descriptor[0].Physical= Size  =3D EFI_PAGE_SIZE;
     SmramHobDescriptorBlock->Descriptor[0].RegionSt= ate   =3D EFI_SMRAM_CLOSED | EFI_CACHEABLE | EFI_ALLOCATED;
 
+    //
+    // Create gEfiAcpiVariableGuid
+    //
+    GuidHob =3D BuildGuidHob (&gEfiAcpiVariableGuid, si= zeof (EFI_SMRAM_DESCRIPTOR));
+    ASSERT (GuidHob !=3D NULL);
+    CopyMem (GuidHob, &SmramHobDescriptorBlock->Desc= riptor[0], sizeof (EFI_SMRAM_DESCRIPTOR));
+
     //
     // Create second SMRAM descriptor, which is free a= nd will be used by SMM foundation.
     //
     SmramHobDescriptorBlock->Descriptor[1].Physical= Start =3D SmramHobDescriptorBlock->Descriptor[0].PhysicalStart + EFI_PAG= E_SIZE;
     SmramHobDescriptorBlock->Descriptor[1].CpuStart=       =3D SmramHobDescriptorBlock->Descriptor[0= ].CpuStart + EFI_PAGE_SIZE;
diff --git a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf b/OvmfPkg/= Library/PlatformInitLib/PlatformInitLib.inf
index 2bb1c0296f..21e6efa5e0 100644
--- a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
+++ b/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
@@ -56,10 +56,11 @@
 [LibraryClasses.X64]
   TdxLib
 
 [Guids]
   gEfiSmmSmramMemoryGuid
+  gEfiAcpiVariableGuid
 
 [Pcd]
   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
 
--
2.16.2.windows.1

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#117621) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_MN6PR11MB8244446A51DA7C799A40FC6A8C052MN6PR11MB8244namp_--