summaryrefslogtreecommitdiffstats
path: root/include/hw/misc
diff options
context:
space:
mode:
authorPeter Maydell2016-02-02 19:20:42 +0100
committerPeter Maydell2016-02-03 14:54:41 +0100
commit3c2f7bb32b4c597925c5c7411307d51f1a56045d (patch)
tree784a3a03d07feb3a1c1392c1fece9592e9cbf64a /include/hw/misc
parentlibvixl: Avoid std::abs() of 64-bit type (diff)
downloadqemu-3c2f7bb32b4c597925c5c7411307d51f1a56045d.tar.gz
qemu-3c2f7bb32b4c597925c5c7411307d51f1a56045d.tar.xz
qemu-3c2f7bb32b4c597925c5c7411307d51f1a56045d.zip
target-arm: Don't report presence of EL2 if it doesn't exist
We already modify the processor feature bits to not report EL3 support to the guest if EL3 isn't enabled for the CPU we're emulating. Add similar support for not reporting EL2 unless it is enabled. This is necessary because real world guest code running at EL3 (trusted firmware or bootloaders) will query the ID registers to determine whether it should start a guest Linux kernel in EL2 or EL3. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com> Message-id: 1454437242-10262-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/misc')
0 files changed, 0 insertions, 0 deletions