diff options
author | Anthony PERARD <anthony.perard@vates.tech> | 2025-01-21 20:39:15 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-24 15:57:59 +0300 |
commit | 99cbb636521a816fc2a078e692fb29b59bc5c84b (patch) | |
tree | 52111f652050af7489daceb08c63a4f9f443d540 | |
parent | 33309733e44c081e71f1af46e2ee5b31a10aa09e (diff) | |
download | edk2-99cbb636521a816fc2a078e692fb29b59bc5c84b.tar.xz |
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 <anthony.perard@vates.tech>
-rw-r--r-- | OvmfPkg/OvmfXen.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
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
|