audk/ArmVirtPkg/Library
Leif Lindholm 01ce872739 ArmVirtPkg: fix ASSERT in ArmVirtGicArchLib with virtualization=on
ArmVirtGicArchLib was originally implemented before virtualization
emulation was implemented in QEMU, and the GICv2 model implemented only
the physical copy of control registers.

Enabling virtualization emulation to QEMU adds also the virtual copy,
doubling the RegSize returned by FindCompatibleNodeReg () in
ArmVirtGicArchLibConstructor (). This triggered an ASSERT when running
QEMU with -M virt,virtualization=on. Address this by testing for both
possible valid values of RegSize.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2588

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2020-03-17 15:06:11 +00:00
..
ArmVirtDxeHobLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtGicArchLib ArmVirtPkg: fix ASSERT in ArmVirtGicArchLib with virtualization=on 2020-03-17 15:06:11 +00:00
ArmVirtMemoryInitPeiLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtPL031FdtClientLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtPsciResetSystemLib ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib 2020-01-10 07:00:51 +00:00
ArmVirtPsciResetSystemPeiLib ArmVirtPkg: implement ArmVirtPsciResetSystemPeiLib 2020-03-04 08:48:09 +00:00
ArmVirtTimerFdtClientLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
BaseCachingPciExpressLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
FdtPL011SerialPortLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
FdtPciHostBridgeLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
FdtPciPcdProducerLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
NorFlashQemuLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PlatformBootManagerLib ArmVirtPkg/PlatformBootManagerLib: switch to separate QEMU loader 2020-03-05 19:45:05 +00:00
PlatformPeiLib ArmVirtPkg/PlatformPeiLib: discover the TPM base address from the DT 2020-03-04 08:48:09 +00:00
QemuFwCfgLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
QemuVirtMemInfoLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenArmGenericTimerVirtCounterLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenVirtMemInfoLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00