Skip to content

Commit 23625e8

Browse files
vishaloheatd
authored andcommitted
QemuOpenBoardPkg: Enable TimerLib for PEI Core in Stage2
During Stage2 the default TimerLib resolves to BaseTimerLibNullTemplate, leading to a PeiCore ASSERT when timing services are invoked. Map TimerLib to BaseAcpiTimerLib for PEI Core to provide a valid implementation. Signed-off-by: Vishal Oliyil Kunnil <[email protected]>
1 parent b7bf76e commit 23625e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Platform/Qemu/QemuOpenBoardPkg/Include/Dsc/Stage2.dsc.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
PciHostBridgeUtilityLib | OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
1414
DxeHardwareInfoLib | OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
1515

16+
[LibraryClasses.Common.PEI_CORE]
17+
TimerLib | OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
18+
1619
[LibraryClasses.Common.PEIM]
1720
MpInitLib | UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
1821
TimerLib | OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf

0 commit comments

Comments
 (0)