From 99cbb636521a816fc2a078e692fb29b59bc5c84b Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Tue, 21 Jan 2025 18:39:15 +0100 Subject: OvmfPkg/OvmfXen: use PeiPcdLib for PEI_CORE Commit d64d1e195ceb ("MdeModulePkg: PeiMain: Introduce implementation of delayed dispatch") introduced a new usage of the TimerLib which uses a dynamic PCD in OvmfXen platform. But PeiMain has only access to a NULL version of PcdLib, so OvmfXen can't start. Introduce PeiPcdLib for PEI_CORE so PeiMain can read dynamic PCDs. Signed-off-by: Anthony PERARD --- OvmfPkg/OvmfXen.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 5a244be72e..a4fb92f7cf 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -272,6 +272,7 @@ OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf + PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf [LibraryClasses.common.PEIM] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf -- cgit