From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com []) by mx.groups.io with SMTP id smtpd.web12.20661.1621848318087911213 for ; Mon, 24 May 2021 02:25:21 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: zhiguang.liu@intel.com) IronPort-SDR: +1L+5y3ViOmIQZnJuidJ0yimNzPJ1CwVvVG3aujBn5CkPHyXOSh0vPDKsgIH/IHLv4YwM4dHrD fhh2Z9L4qd3Q== X-IronPort-AV: E=McAfee;i="6200,9189,9993"; a="263104115" X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="263104115" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2021 02:25:20 -0700 IronPort-SDR: F8ZnSz6vHe3gLBG4glaES+dJBNzAm4zwICkVHC2zEMyCb9xr8Gy4z+YMPXxem7tJQT4Oxoy6uq utKvZ5myZ7vA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="545849008" Received: from fieedk002.ccr.corp.intel.com ([10.239.158.144]) by fmsmga001.fm.intel.com with ESMTP; 24 May 2021 02:25:19 -0700 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Maurice Ma , Guo Dong , Benjamin You Subject: [PATCH 2/2] UefiPayloadPkg: Use standalone PCD driver Date: Mon, 24 May 2021 17:24:54 +0800 Message-Id: <20210524092454.1168-3-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.30.0.windows.2 In-Reply-To: <20210524092454.1168-1-zhiguang.liu@intel.com> References: <20210524092454.1168-1-zhiguang.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Using standalone PCD driver need to change PcdLib and also set a feature PC= D. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/UefiPayloadPkg.dsc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 37ad5a0ae7..425447a58f 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -237,7 +237,7 @@ VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf=0D =0D [LibraryClasses.common.DXE_DRIVER]=0D - PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D + PcdLib|MdePkg/Library/DxePcdLib/PayloadPcdLib.inf=0D HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf=0D ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExt= ractGuidedSectionLib.inf=0D @@ -250,14 +250,14 @@ VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf=0D =0D [LibraryClasses.common.DXE_RUNTIME_DRIVER]=0D - PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D + PcdLib|MdePkg/Library/DxePcdLib/PayloadPcdLib.inf=0D HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf=0D ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/R= untimeDxeReportStatusCodeLib.inf=0D VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ibRuntimeDxe.inf=0D =0D [LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]= =0D - PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D + PcdLib|MdePkg/Library/DxePcdLib/PayloadPcdLib.inf=0D MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf=0D ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf=0D HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf=0D @@ -271,6 +271,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE=0D + gEfiMdePkgTokenSpaceGuid.PcdStandalonePcdDatabaseEnable|TRUE=0D =0D [PcdsFixedAtBuild]=0D gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000=0D @@ -562,7 +563,7 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf= =0D HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandlePar= singLib.inf=0D OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTre= eLib/BaseOrderedCollectionRedBlackTreeLib.inf=0D - PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf=0D + PcdLib|MdePkg/Library/DxePcdLib/PayloadPcdLib.inf=0D ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLi= b.inf=0D ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellComman= dLib.inf=0D SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf=0D --=20 2.30.0.windows.2