From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web08.2918.1645656531365581859 for ; Wed, 23 Feb 2022 14:48:51 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=V80tyD6r; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645656531; x=1677192531; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Q4guJsnpfjBQJQD5BSbiJkSNyJXv3AiE6wtT9Xp4XVU=; b=V80tyD6rIFn11w35HOjfs1cqgX0RNnWIdKwq7eiz/VYkyc42ik1QLucb QMjEcnJpVW+g1QGqGeJAVZNlkQuv3pMHcl3xFqRMdW+2ybxH0P6jsNeY9 zuIfcvl5JQtZ5f8YVnVMjGedWYV/P5rDu1hFnqI2gQ75WPEjuv461K9Ex IUbFJj9U21nzaY6IYj5RMbKVogNT7ZcZj7NpCbX698VpodnhIjLsSBeqU bLwWPbov3vSrqKJ0vszmUtI8zKc3zz7mK34+YwL+ORp5BJOmTqIvis6Vo RWj7h0URLnJrcdoDYYz90UPl3ESDtBfL/hSKgA10NNo51+MWjzN6ramXw w==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="239491963" X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="239491963" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 14:48:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="548473409" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga008.jf.intel.com with ESMTP; 23 Feb 2022 14:48:50 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 23 Feb 2022 14:48:50 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Wed, 23 Feb 2022 14:48:50 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 23 Feb 2022 14:48:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yc9VicAw8rJvmtyEh2R4dbWGrwQhLHlr9pWAt0zO/HTEhIzmC99qPIH8cFFwqxIHMZDt1MB0sS/Yasb04rlJTTIoR6mfLo/UhfJp5N0PoGtF/iF11Mg1yXeKUBUGu6gILCv4Ft26FU40O+f9oopq5sm2Tyxl4jzj4BsWZOzjiYiPvvsI7YOVXILEgQf3iPgXmciEqilFjnU2/0CHfRaLHsZOS8aydy3/wj3TU37YXmkW5v2peZNVzDcOn0ornzxPpkrnxXEL7KwzxHYBel34hHQ+Ye6VcFww0gJwpYykHBCZp7TiW6HXMmXb0J0Q8S0RXHvRJUR10Duw71k8XdSf9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wfta0uRXyxmzXJFlysPOxoRa3fq9FvdjhU5bO+UmLoc=; b=h+lm13xqUSi/6rRrZrGVwBCSL0RsbFzUIlWrod9Opk2rw/ClXBfUxadQkB16FAK4Sf4/2xh3L/MlykuOLCbbuYrsENFsownpLfrUzN+om0tdV350BmxEPL28ecPDJ+c0POCt5rZSRset1ZMbXqmEZ8M1L1lvIhLcL7AjbdPpryx8h2/C+9LbDliWlCftIWMI4bK7EYHokJECvvh1JFCvGYGjrCr7yH2APy607HP488VypuKiFD5ISVjy6Y71EyyKL1QRCC4sQExup7C3rrcgyCLskXUtk9JMrTKzIF1uqMAGThqyKbpPzZLHZaptdT1aamj3u/Ldx8HFQ/syHxMohw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB3622.namprd11.prod.outlook.com (2603:10b6:a03:fe::30) by SA2PR11MB5148.namprd11.prod.outlook.com (2603:10b6:806:11e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.24; Wed, 23 Feb 2022 22:48:48 +0000 Received: from BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::45c8:c9c6:42a:a43d]) by BYAPR11MB3622.namprd11.prod.outlook.com ([fe80::45c8:c9c6:42a:a43d%4]) with mapi id 15.20.4995.027; Wed, 23 Feb 2022 22:48:48 +0000 From: "Guo Dong" To: "devel@edk2.groups.io" , "Rhodes, Sean" CC: "Ni, Ray" , "Ma, Maurice" , "You, Benjamin" Subject: Re: [edk2-devel] [PATCH] UefiPayloadPkg: Add build option for Above 4G Memory Thread-Topic: [edk2-devel] [PATCH] UefiPayloadPkg: Add build option for Above 4G Memory Thread-Index: AQHYJqKeODGI49SDM0eJcKFASRrGNayhwP4A Date: Wed, 23 Feb 2022 22:48:48 +0000 Message-ID: References: <27c3e79bb0a770392e6aa573afd0ebc0a377e133.1645393278.git.sean@starlabs.systems> In-Reply-To: <27c3e79bb0a770392e6aa573afd0ebc0a377e133.1645393278.git.sean@starlabs.systems> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c662ed1-f2af-4be2-0d4b-08d9f71ea78c x-ms-traffictypediagnostic: SA2PR11MB5148:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 50CUngCDWa78ugDYTSRs22fGudG7ICam0zut9U66DvAIyKdTZ86GO14frqJ6YKaTD55NDsh/D0TrYGena+6Bbvehku5Q4UkWMHBCsJoDIQsRC607VEfgFELBEepnw5fozcj6k+ZtkShiSZ/cPd3BVNeg6KgG5lQzYxWaCd031Bg8zKRbDCajiS1vOnusmXxp/6gTKQ2CdkRLvXc/C5J4WfZM8fuLZvEyxD8nHlcI1oBeMNS9OU3X+xH5oRu/44e8oDGnG+0M4sDuBPJ/DkFHjoy0G9JVJIGfqmTwP8T3QtNjHPk1zPzh0Hg8i4m3nGi7nZ1hfB4pejZ9Pm9w+zzAHKg9+apaE2Uha9OSW5N0nJm0g9yaOGd4cR4yvhwagUt9NBV+p0wYfLDPPGKZx6fwWjrfXku/bwrsGJBJtLtcTDYZxm1ogcXkQ3DuF5KMK8DWhyAN9ANw9w2VQQdCJRws87n6Ba9os3SCEGDeYlp4vVWhTCcg2wDBh7qRyJUxx0Vr2QEfyfXTIDtHslav+GvTYpWi7yKjRoljbGysPd4fhUhMNfJPZETxw7bdphVvx2gIsjlYhZIpXn/htsjjkh2L0wwhGyLdPrDiwobsBh3Mo/Vn6XAkmiSNRKePDAygOeyIUmRiNC8rFsfgr133lZx2vZeYhUugKynG/ODLli6IX0/dA30TraGThylCHiJJxLZMRoYidtJu4L536VE3KGeAJN9JFX/o5knEMrqSLexrZpxCX7OG9frZydV6PYQC/lc0ufL1+HqLmd5gZ0I1c1Xuv7jzxM1iJPhSJoB7S9j1Ei99j1ghEHPOHckFTtiCGR5MyhOlr43tyf8Bui+dwRyAsg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3622.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(8676002)(7696005)(316002)(54906003)(82960400001)(66556008)(38100700002)(38070700005)(76116006)(9686003)(53546011)(19627235002)(66476007)(66946007)(55016003)(110136005)(71200400001)(66446008)(122000001)(86362001)(52536014)(64756008)(6506007)(4326008)(186003)(2906002)(26005)(5660300002)(8936002)(33656002)(508600001)(966005)(83380400001)(107886003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dCsq81znzutaixilT3HOAbrESrSTT26d8L3bWb+Xw/oT1hcaO0a7QaG9ldoy?= =?us-ascii?Q?945cqWuxZTa7Hgn7+IM/PaC6x2d0MiGS7/9ksPeEAD2pqjmJqV4zJ/Ps4+Ks?= =?us-ascii?Q?iop1seRHIqaHWQSQDoT4iAKD96Cys7P5spUaALMGtcQ1o5CDR0pVsjJGwTuO?= =?us-ascii?Q?411c+8AdP4zRMHug2cvk8KHLWnQeEq6MY5LK/+vJujdaz71fpW07ZdIqB8cK?= =?us-ascii?Q?v46yLWqZeyLSd2MNnQHPpPto52IrTv3pkziitc1by8VpGVCG7NCKuAJ1DKYS?= =?us-ascii?Q?r/2Eu9DUkZVtSstJPsmttte35+6sNXEfeGvH6l649EqTf6QoNmIc113S0qvN?= =?us-ascii?Q?9ahj2c4xcKOfoSpnJjf1ICsFZO4yFFt4FILCxRQwpjF5BYFL490qeypIfXnu?= =?us-ascii?Q?4PRhQd+bjHempRCSuwu6D1MaVJ3qGQdfbiQwscKxL9hP5Q9typz0500oOIEQ?= =?us-ascii?Q?PRDIbqfCXYQjcfH+OSkrkKcHbp0CJwvdng1AzvWlz73j25r2llXTQqqXYhYQ?= =?us-ascii?Q?7MoChCBURRNcUMLZ0bgvpu3hkhSAEqCKzkhKdHXVeBpPWWMGO81sx/EUGgV/?= =?us-ascii?Q?pCDglqcBxnS0pgC6xqzfrEGBrG31ZWbsIS1GkvdD5xti6Y6tdjWoP4JJtLuK?= =?us-ascii?Q?Z0Na3k27ssVs4IvHArPdG+ZoISyCrwc57BwRGvOjOf/XPyvqgHuIx812Ajgd?= =?us-ascii?Q?fppPUN9EpJTn563YAEyb7TzCUO5I+w6Wvrg/u1ErstWhQy9j/hIAVMFnRPF8?= =?us-ascii?Q?1cwSEOxEnAbuonX4UschYsJ9g52ifHVJ1bWJkh/kPpCa0v8rNZ0EjapNg5pZ?= =?us-ascii?Q?HQzxWZOU719UizPCOkyHMLGtF1nziW0/JI5TPkSPc6fWoYVYDs/a1Rr/r/VB?= =?us-ascii?Q?30GeUo/D4M3mSSrchr9+k0PAsmVxMuFai/YkR7GsRU2uRYFNRiro1Ug0y5Nn?= =?us-ascii?Q?t8Dv+BBqAUeZJutEU2P2LNlxTfzkvQHmKjN2MbpY4Pbf9c9n2TXEyy+/95Gg?= =?us-ascii?Q?jbx0yPyBJ93DrGgwNEUve9DZkLCNBtS6jN/PXm3L36+4fJIRqJBpugq9emUv?= =?us-ascii?Q?RNbB1BL5gUCOHGZl+0Dz3N1vRpFyXG6U/6epmMzakY74yoC+sFLvPvkuqKFv?= =?us-ascii?Q?ONLw+y3Ynekm5KF5bJ0x+Cq8m1lKy1/OkOOdYH+jytLk9scgqAYTVmajMk/r?= =?us-ascii?Q?Ir9LJ4iiBQ8MIXp/V9GAWc4Jo7OBp1OWpdAndEEFi7Tfk09pYij2sBh3kVgn?= =?us-ascii?Q?EH2CN2wM35vvCdZ6tzNi0haNWzLKwtjOE/axLcJ2yU5xvFyyEOgDfs/4vFuY?= =?us-ascii?Q?hxK7X+v8usP4Ql87pm/QCpsEsqiVTOIeJqv7wBBKVsJVB9aZrRFFPUVD1NX9?= =?us-ascii?Q?nptaHjFMmhMJn6OlJCjdYIdT/SJhs/PgOExMnfk2JzhNl2Eabp0Rd25yaWdx?= =?us-ascii?Q?Mp1Lvza6s8yv3ljTmwLHv0q8Q0FN1D0glsZY0qYkZNp+i4amM6B+PLQ3VEjj?= =?us-ascii?Q?nfC3tygxQW/8KN84ysb0/sb2hX4zpSbdVbnIRqQ4Apz1Kl5rnZE9Eeo4bNOh?= =?us-ascii?Q?Qfb2QNLms2UGy4xJOxEBUY+dpqO1wp4z0naf7NY9R9PHtMoKWMfmTmIYxzUp?= =?us-ascii?Q?IFiqYxQX2cCu1mbjBogqOw8=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3622.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c662ed1-f2af-4be2-0d4b-08d9f71ea78c X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 22:48:48.0751 (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: 53yR6vRxzODDu2oon7RzqxlcSZKqPUg35XXzMQXKz7w3b1/VYfP0RYTVO2qqYq3qS0FAuoDGy/JsTkaePkEtZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5148 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable +# Above 4G Memory +gUefiPayloadPkgTokenSpaceGuid.PcdAbove4GMemory|TRUE|BOOLEAN|0x00000019 It is not clear for the usage from the PCD name and comments. Better to change PcdAbove4GMemory to PcdDispatchModuleAbove4GMemory or othe= rs? Thanks, Guo -----Original Message----- From: devel@edk2.groups.io On Behalf Of Sean Rhodes Sent: Sunday, February 20, 2022 2:41 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Rhodes, Sean ; N= i, Ray ; Ma, Maurice ; You, Benjami= n Subject: [edk2-devel] [PATCH] UefiPayloadPkg: Add build option for Above 4G= Memory When build option ABOVE_4G_MEMORY is set to true, nothing will change and E= DKII will use all available memory. Setting it to false will create memory type information HOB in payload entr= y, so that EDKII will reserve enough memory below 4G for EDKII modules. Thi= s option is useful for bootloaders that are not fully 64-bit aware such as = Qubes R4.0.4 bootloader, Zorin and Proxmox. Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Signed-off-by: Sean Rhodes --- .../Library/BrotliCustomDecompressLib/brotli | 2 +- .../UefiPayloadEntry/UefiPayloadEntry.c | 39 +++++++++++++++++++ .../UefiPayloadEntry/UefiPayloadEntry.inf | 7 ++++ UefiPayloadPkg/UefiPayloadPkg.dec | 3 ++ UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++ 5 files changed, 53 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli b/MdeMod= ulePkg/Library/BrotliCustomDecompressLib/brotli index f4153a09f8..666c3280cc 160000 --- a/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli +++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli @@ -1 +1 @@ -Subproject commit f4153a09f87cbb9c826d8fc12c74642bb2d879ea +Subproject commit 666c3280cc11dc433c303d79a83d4ffbdd12cc8d diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.c index 0fed1e3691..998895e201 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -5,10 +5,44 @@ **/ +#include #include "UefiPayloadEntry.h= " STATIC UINT32 mTopOfLowerUsableDram =3D 0; +EFI_MEMORY_TYPE_INFORMATION= mDefaultMemoryTypeInformation[] =3D {+ { EfiACPIReclaimMemory, FixedPc= dGet32 (PcdMemoryTypeEfiACPIReclaimMemory) },+ { EfiACPIMemoryNVS, = FixedPcdGet32 (PcdMemoryTypeEfiACPIMemoryNVS) },+ { EfiReservedMemo= ryType, FixedPcdGet32 (PcdMemoryTypeEfiReservedMemoryType) },+ { EfiRunt= imeServicesData, FixedPcdGet32 (PcdMemoryTypeEfiRuntimeServicesData) },+ {= EfiRuntimeServicesCode, FixedPcdGet32 (PcdMemoryTypeEfiRuntimeServicesCode= ) },+ { EfiMaxMemoryType, 0 = }+};++/**+ Function to reserve memory below 4GB for EDKII Modul= es.++ This causes the DXE to dispatch everything under 4GB and allows Ope= rating+ System's that require EFI_LOADED_IMAGE to be under 4GB to start.+= e.g. Xen hypervisor used in Qubes.+**/+VOID+ForceModulesBelow4G (+ VOID= + )+{+ DEBUG ((DEBUG_INFO, "Building hob to restrict memory resorces to b= elow 4G.\n"));++ //+ // Create Memory Type Information HOB+ //+ BuildGu= idDataHob (+ &gEfiMemoryTypeInformationGuid,+ mDefaultMemoryTypeInfor= mation,+ sizeof (mDefaultMemoryTypeInformation)+ );+}+ /** Callbac= k function to build resource descriptor HOB @@ -438,6 +472,11 @@ _ModuleEnt= ryPoint ( // Build other HOBs required by DXE BuildGenericHob (); + // Create a= HOB to make resources for EDKII modules below 4G+ if (!FixedPcdGetBool (P= cdAbove4GMemory)) {+ ForceModulesBelow4G ();+ }+ // Load the DXE Core= Status =3D LoadDxeCore (&DxeCoreEntryPoint); ASSERT_EFI_ERROR (Status)= ;diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPa= yloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index 1847d6481a..2ca47e3bb5 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf @@ -86,8 +86,15 @@ gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemSize gUefiPayloadPkgToken= SpaceGuid.PcdBootloaderParameter gUefiPayloadPkgTokenSpaceGuid.PcdSystemM= emoryUefiRegionSize+ gUefiPayloadPkgTokenSpaceGuid.PcdMemoryTypeEfiACPIMem= oryNVS+ gUefiPayloadPkgTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory+ = gUefiPayloadPkgTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType+ gUefiPay= loadPkgTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData+ gUefiPayloadPkg= TokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode gEfiMdeModulePkgToken= SpaceGuid.PcdSetNxForStack ## SOMETIMES_CONSUMES gEfiMdeMod= ulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy ## SOMETIMES_CONSUMES = gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy ## SOMETIMES= _CONSUMES + gUefiPayloadPkgTokenSpaceGuid.PcdAbove4GMemory+diff --git a/Ue= fiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPayloadPkg.dec index 551f0a4915..653a52b5a7 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dec +++ b/UefiPayloadPkg/UefiPayloadPkg.dec @@ -83,6 +83,9 @@ gUefiPayloadPkgTokenSpaceGuid.PcdSystemMemoryUefiRegionSi= ze|0x04000000|UINT32|0x gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80, = 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 }|VO= ID*|0x00000018 +# Above 4G Memory+gUefiPayloadPkgTokenSpaceGuid.PcdAbove4GM= emory|TRUE|BOOLEAN|0x00000019+ ## FFS filename to find the default variable= initial data file. # @Prompt FFS Name of variable initial data file gUefi= PayloadPkgTokenSpaceGuid.PcdNvsDataFile |{ 0x1a, 0xf1, 0xb1, 0xae, 0x42, 0x= cc, 0xcf, 0x4e, 0xac, 0x60, 0xdb, 0xab, 0xf6, 0xca, 0x69, 0xe6 }|VOID*|0x00= 000025diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiP= ayloadPkg.dsc index 1ce96a51c1..dad14be343 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -33,6 +33,7 @@ DEFINE UNIVERSAL_PAYLOAD =3D FALSE DEFINE SECURITY_STUB_ENA= BLE =3D TRUE DEFINE SMM_SUPPORT =3D FALSE+ DEFI= NE ABOVE_4G_MEMORY =3D TRUE # # SBL: UEFI payload for= Slim Bootloader # COREBOOT: UEFI payload for coreboot@@ -399,6 +400,8 @@ gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask | 0x1 != endif + gUefiPayloadPkgTokenSpaceGuid.PcdAbove4GMemory|$(ABOVE_4G_MEMORY)+= [PcdsPatchableInModule.X64] gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexReg= ister|$(RTC_INDEX_REGISTER) gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetReg= ister|$(RTC_TARGET_REGISTER)--=20 2.32.0 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86820): https://edk2.groups.io/g/devel/message/86820 Mute This Topic: https://groups.io/mt/89281420/1781375 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [guo.dong@intel.com] -=3D= -=3D-=3D-=3D-=3D-=3D