mirror of https://github.com/acidanthera/audk.git
eb485b6438
FEAT_VHE, introduced in ARMv8.1, adds a virtual EL2 timer. However, this library verifies that exactly 3 or 4 12-byte timer interrupts are provided in input DT, ASSERTing when the new timer is added. Change the assert to >= 36. Extend the current logic, also initializing PcdArmArchTimerHypVirtIntrNum if 5 interrupts are provided. Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com> Reported-by: Peter Maydell <peter.maydell@linaro.org> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
ArmPlatformLibQemu | ||
ArmVirtDxeHobLib | ||
ArmVirtGicArchLib | ||
ArmVirtMemoryInitPeiLib | ||
ArmVirtPL031FdtClientLib | ||
ArmVirtPciHostBridgeUtilityLib | ||
ArmVirtPsciResetSystemLib | ||
ArmVirtPsciResetSystemPeiLib | ||
ArmVirtTimerFdtClientLib | ||
CloudHvVirtMemInfoLib | ||
Fdt16550SerialPortHookLib | ||
FdtPL011SerialPortLib | ||
KvmtoolPlatformPeiLib | ||
KvmtoolRtcFdtClientLib | ||
KvmtoolVirtMemInfoLib | ||
NorFlashKvmtoolLib | ||
NorFlashQemuLib | ||
PlatformBootManagerLib | ||
PlatformPeiLib | ||
QemuVirtMemInfoLib | ||
XenArmGenericTimerVirtCounterLib | ||
XenVirtMemInfoLib |