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.web12.3085.1645657397150195396 for ; Wed, 23 Feb 2022 15:03:17 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=c/x5B1uU; 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=1645657397; x=1677193397; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=vbc649oSHZEyH9JV+vyjtUX2xfbWQLNnIzuq1VwIGs8=; b=c/x5B1uUZhCys2HYdUaqB8MrBwT0NzNudM2fDUs54aWWMXgI2aOZ9gcP pPn5aTYwBn4utY0A05V9yOgtETxXENJL1ua0/NqXSXm5kVnBbVx3JdmlL E8PDyWEQxtnTZewfE15yf+1pkkL7vWc7LltVVg/M2LakiD9Z2dOhubh8P LMX51q3tLH+hPf1cAvHqJlDTXzpPv9UBK4AfQb49C+zCN6ZDWI+EaCaos mPDQXl2A5/KbfEv2bYddWfP2AYea4wUMh3TTpGs6hPqzXWKzESEsxoE4w BTyd6uTKeVJ3ik7vMzgK+4weX1RtT7aFovctKmRTUx7VXxWaaG9OTfceF A==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="239495737" X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="239495737" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 15:03:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,392,1635231600"; d="scan'208";a="607226835" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga004.fm.intel.com with ESMTP; 23 Feb 2022 15:03:08 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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 15:03:08 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 23 Feb 2022 15:03:07 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 23 Feb 2022 15:03:07 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (192.55.55.71) 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 15:03:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VMPFc7lx17LM8H102M87bJgyJ2YEiMJeuOPYlcobeo1uMbIGD2dLkS7rXUWaz7OQZREDKKKO7g96ViB84O6UbtX4vg3xY8JKeFvIjVNqUmmE6DiW67jpqLc2/8KDnBFP1CajoOxNT4qy1s6Iy5qP8mIWvCATwMGsjAe9w3U1lCM8PChAxbdU7kJ4Lbduu+jFhvIJNOme4GZVErlp8ufolkT6iwmK5/K/17tHqYZmE+2dJbEEcdmYpJrRSu6JUX4mEQKuTMI5B4EfKTeftIBxB+adRSav96ut6lT97xH5qIsEvEZkHqvPi+Kiqg27qhB9ixxgrH+pWukWt9GeM21uRQ== 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=MkdWJ6aWpiz9hogal27dGYQw4U4RbF1pK0JipiGI4Lo=; b=cAiNBkc6vLUtJJSubSg0pGYlyDDveVRf+Ny8XXbvWLJF5lOuOG5UroDIk4wVpQ50BrzdkasZbQG/5et9DiCGmShKqfpxFh4hg/gE17gdmBy8MD4h3orO8GoA/4Kf2xpeSiIffpYUICOYNCq465kCoXR453dMgGz+10KX9uFUrMyfsRzrFjQrVtfFX5cSTYOjs7KYDkamnWnIpHA37yH+aM70A1TQ2fOw/xj5tvy+7VfiRgrOWmloq4YlT29rc3BfcW6rxUSo2yIKgTXXTuSSGfXxam4gs3xQxdMW03T/4frXCEBI5m7DZFX3MLEKD8U4jlWPaZ4cLwcX7fO4rURHcA== 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 CY4PR11MB1592.namprd11.prod.outlook.com (2603:10b6:910:f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 23 Feb 2022 23:02:57 +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 23:02:57 +0000 From: "Guo Dong" To: "Rhodes, Sean" , "devel@edk2.groups.io" CC: "Rhodes, Sean" , "Ni, Ray" , "Ma, Maurice" , "You, Benjamin" Subject: Re: [PATCH] UefiPayloadPkg: Add build option for Above 4G Memory Thread-Topic: [PATCH] UefiPayloadPkg: Add build option for Above 4G Memory Thread-Index: AQHYKQkM5BiPnuiEZU+G8NA6hJO4nKyhwORw Date: Wed, 23 Feb 2022 23:02:57 +0000 Message-ID: References: In-Reply-To: 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: 0683ff24-fac1-4bfb-26d2-08d9f720a1d4 x-ms-traffictypediagnostic: CY4PR11MB1592: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: tRiq1uDYBW9KX0XDv8G9++lvLUAaeAIaGNM6Z8fzK5oPd9Y39PiQKNgu0lwXVG5EfWo9E9vn7PEjuqHM1en/1tq6tfcLI22WXFdJYp6yipuntIkd1nkts/h53y2wnY4VL/2pIdDsRDiKTznQjWLiG9xFUQ9sOnRvkC30tS9mVt0WScASRVCIOF7CD4K6jFE/wb7wTKCtHDJ2unY1T9U3+mpjjzHnYI+A9hEYnJFnEO1IFV1MUEwnhLXPJ65v32/7XPSW9ds5LnOfjRjcC0Sgz4/7iQ5FgbJ3nx3isVvbVSjcXUOHtDjNoJgOIBvWGYnl9AYwnbCTDd/14RzX5/WIYsbzCrGi764J3UG0QnBLJRZYTUUJ5nIJN39C6dOtP6Z3jU9p1ElHYFZkMpimQF+Y/rodxF0zG63MfozsrC+CrZ3JEmWO7cnXuja60qfVXM6720ZlJLeJz2czgFIP5tghJAzkSfdSpgT7ZIlV6ZohiZJSgvxYJcOqqqrNpIaVUIwn0wQdzFOuZN04tXaeOax0+q0DIwqkUacyqxC0wX18HYZkI3RyUsYMMpDCf3NdF54IsOdfkqeO2yt21UeiFWd1FU3cT5FIQgWf67BSFdurncUcVjxfqd2tvDh7QBCdl3Xe07moLT/Szyv/PO6fFSgWj+WtcukQp7EoSyrolTx6U+I3kbfVa1cGVLYqKmwt/5OJ+/amP33pidmUHPDs5dPcJQ== 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)(38070700005)(2906002)(107886003)(9686003)(83380400001)(38100700002)(122000001)(186003)(26005)(82960400001)(6506007)(7696005)(316002)(8936002)(86362001)(52536014)(4326008)(8676002)(64756008)(66446008)(66476007)(66556008)(66946007)(33656002)(53546011)(508600001)(19627235002)(76116006)(54906003)(110136005)(55016003)(5660300002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?RAHLJdveaLoPo7jMomgntz7Telrna568Y82OQu6hqQnshF75fJLgVNrjmf07?= =?us-ascii?Q?UwjUpu+BXUBsRmOXpD3Kx2VsucyCyO/IO9RIc7/E0DJOivrYUkFCiJX8xtL/?= =?us-ascii?Q?MwPGyN2DV7+KhmEJA6NfUtoPsDqBsmqz9dpqcHeXrFM8cdZ/AtAYADvKbZXX?= =?us-ascii?Q?rcVlSYCPLk8Unb3LxLThhXn096aLaWLdTRc2s/6zZibRDGyJfsGBtf/iNPE/?= =?us-ascii?Q?euP+YuCli7/wvcezDzWb3ziWnPA6Y2f/ybN3NVYw8KU3N4Ck3zWGUpRFGgVM?= =?us-ascii?Q?t/mu7Z/6FHhOrXWUmz6cZGD7Ss71/elVSCupxHVBXKt4shxTWpAY1Qn1fORR?= =?us-ascii?Q?+ucpKdpzWI7zy5LamIev1qS/1D1AwYWFQyYW8wjq+mo83w/wDq6QIB2FBQ3O?= =?us-ascii?Q?0rt0ZNJ99n+ZmetkdkdOndirltTfqY0jBP0AJfLYgssuZ1uAMAc+wFnF7c8g?= =?us-ascii?Q?Zx91jkdCw0sxfhs/XQSCTrO/CUAVlYwFjJbLUP92gxHoPbW8RwDeTMEv6nWd?= =?us-ascii?Q?kS3+0cOBiFDdnxHpcVCDdVnJY6a/Q+fSCfDtDeWyXWNdpJYl0ISCV6H+bFOl?= =?us-ascii?Q?OfQ/Aw3n1bZ5R5lvzx9W6rd+lrSZusEwC16z9dMio+8u/r1O2crxvUboCpse?= =?us-ascii?Q?pBvccmpSmascQdoTRss6qkV7dW43l5YHVLDogt9molbxW3puKZ9cdunsOUSF?= =?us-ascii?Q?i1IF8OWhZAXMqP75OHdC2eXP7qdJOR+/4v746Y6RnlwXaYSD+G30Xu8Tadq3?= =?us-ascii?Q?10bjuZivttXpxLxKrXBe3iG3hfwLfXkzu5wRhc+4/O3VdQe0K8afFcxTn+WO?= =?us-ascii?Q?FLx1jT/uFQuLHRoiE2KnYZKeQU/LrH35H1IaETpSXKkttsZYDxwDPrjbs6Tz?= =?us-ascii?Q?yfieKatSu6KLMxg7/RbNqGsQvYVDUbQV2W5YBvvFaiS4sLmo6GfA5oBviPw1?= =?us-ascii?Q?vJM6kAPov829C1KBnAVjL5vZSDl72dUe60zXF12yiyy2fUIwQzGHZ7oeg6Yb?= =?us-ascii?Q?hqWOhmIMDaoNG2JWJRzdCe+/mAPNVKLpVpfa4n0ylOtkgL/Biq6AUuJg9HLy?= =?us-ascii?Q?5xlfZ/jMLrFeMXKY8WP1FRQ6gs1Gyl4ra4Dy8BzgMn1mfO83WGSJr2w5KFCO?= =?us-ascii?Q?ISXgamGTU6mPUy8Qoqfw1u3Lrqg/wbeJcIqiRk6o8NwVgv7EhJvuO19dGJWA?= =?us-ascii?Q?dtFiCRYaE63CG/uZUfIatL8BxOBhqpouFcVb9vwh2kruTfhO2oZ6zM6eJgqG?= =?us-ascii?Q?/uDHsTaWyfcG6ldrbIV36MjzgNMg/RGrJGz7b5XwFVCAw44sqYzwpeW6eHG1?= =?us-ascii?Q?tWHsIM7nDZ0w+RMftQj3yYWnMrg/z3HMKsO0P5XBzcFdCxDrEe6zGTWqKRbq?= =?us-ascii?Q?a1DLUMgYRQy+oEi78CnYESwbkvclRk08E1e0U2zFEPMZSsOq0ghZ59yOHpzU?= =?us-ascii?Q?B6jWrhTf3iTssxZrY/4hpeDTQPu0pjSkbWosCe9WK4j6OMKDPiwczpjc0RQf?= =?us-ascii?Q?i+um5vlyJXKebzIOAFAQgbnLfqHPKcNXkWyNTBUqBJNP5O8h5kWJJKLQRmUT?= =?us-ascii?Q?5ZTq3q9iHvoqLP2SW0I2RrZ1gjpmNCLgUPOLkmsY9++mh9Y7hAqceqek9vmZ?= =?us-ascii?Q?Sqs5b3zLk5lxXXhOTZ6bH7w=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: 0683ff24-fac1-4bfb-26d2-08d9f720a1d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2022 23:02:57.4591 (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: crxTApYbUyWSVrbAZWlqUJsE3LCsF5c2KSZ9oYZ6XXoZJN5fl0vL1/VYgHKFanmQobHjzS3/d8gKeybxmSJ2Og== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1592 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 Reviewed-by: Guo Dong -----Original Message----- From: Sean Rhodes =20 Sent: Wednesday, February 23, 2022 4:00 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Rhodes, Sean ; N= i, Ray ; Ma, Maurice ; You, Benjami= n Subject: [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 --- .../UefiPayloadEntry/UefiPayloadEntry.c | 39 +++++++++++++++++++ .../UefiPayloadEntry/UefiPayloadEntry.inf | 7 ++++ UefiPayloadPkg/UefiPayloadPkg.dec | 3 ++ UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++ 4 files changed, 52 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.c index 0fed1e3691..780348eadf 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= cdDispatchModuleAbove4GMemory)) {+ ForceModulesBelow4G ();+ }+ // Loa= d the DXE Core Status =3D LoadDxeCore (&DxeCoreEntryPoint); ASSERT_EFI_= ERROR (Status);diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntr= y.inf b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index 1847d6481a..c4e4339ede 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.PcdDispatchModuleAbove4GMemory+d= iff --git a/UefiPayloadPkg/UefiPayloadPkg.dec b/UefiPayloadPkg/UefiPayloadP= kg.dec index 551f0a4915..e9204d1168 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.PcdDispatch= ModuleAbove4GMemory|TRUE|BOOLEAN|0x00000019+ ## FFS filename to find the de= fault variable initial data file. # @Prompt FFS Name of variable initial da= ta file gUefiPayloadPkgTokenSpaceGuid.PcdNvsDataFile |{ 0x1a, 0xf1, 0xb1, = 0xae, 0x42, 0xcc, 0xcf, 0x4e, 0xac, 0x60, 0xdb, 0xab, 0xf6, 0xca, 0x69, 0xe= 6 }|VOID*|0x00000025diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPa= yloadPkg/UefiPayloadPkg.dsc index 1ce96a51c1..4fe81a61d6 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.PcdDispatchModuleAbove4GMemory|$(ABO= VE_4G_MEMORY)+ [PcdsPatchableInModule.X64] gPcAtChipsetPkgTokenSpaceGuid.= PcdRtcIndexRegister|$(RTC_INDEX_REGISTER) gPcAtChipsetPkgTokenSpaceGuid.P= cdRtcTargetRegister|$(RTC_TARGET_REGISTER)--=20 2.32.0