summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/CommonDataClass
diff options
context:
space:
mode:
authorLeif Lindholm <leif@nuviainc.com>2020-03-11 15:10:18 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-17 15:06:11 +0000
commit01ce872739d2f0cd3a8917be2180381db5f0391e (patch)
treed0b0fad20610ccda00309551933275bdfb17544e /BaseTools/Source/Python/CommonDataClass
parenta2c3bf1f2f991614ac97ddcf4b31742e4366c3a5 (diff)
downloadedk2-01ce872739d2f0cd3a8917be2180381db5f0391e.tar.gz
edk2-01ce872739d2f0cd3a8917be2180381db5f0391e.tar.bz2
edk2-01ce872739d2f0cd3a8917be2180381db5f0391e.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass')
0 files changed, 0 insertions, 0 deletions