qemu-e2k/target-arm
Peter Maydell 3c2f7bb32b 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
2016-02-03 13:54:41 +00:00
..
arch_dump.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
arm_ldst.h
arm-semi.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
cpu64.c gdb: provide the name of the architecture in the target.xml 2016-01-27 15:34:48 +01:00
cpu-qom.h target-arm: Use a single entry point for AArch64 and AArch32 exceptions 2016-01-21 14:15:08 +00:00
cpu.c target-arm: Don't report presence of EL2 if it doesn't exist 2016-02-03 13:54:41 +00:00
cpu.h target-arm: Properly support EL2 and EL3 in arm_el_is_aa64() 2016-01-21 14:15:08 +00:00
crypto_helper.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
gdbstub64.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
gdbstub.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
helper-a64.c target-arm: Move aarch64_cpu_do_interrupt() to helper.c 2016-01-21 14:15:08 +00:00
helper-a64.h
helper.c target-arm: Implement the S2 MMU inputsize > pamax check 2016-02-03 13:46:33 +00:00
helper.h
internals.h
iwmmxt_helper.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
kvm32.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
kvm64.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
kvm_arm.h
kvm-consts.h
kvm-stub.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
kvm.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
machine.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
Makefile.objs
neon_helper.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
op_addsub.h
op_helper.c target-arm: ignore ELR_ELx[1] for exception return to 32-bit ARM mode 2016-01-21 14:15:09 +00:00
psci.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
translate-a64.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
translate.c target-arm: Clean up includes 2016-01-18 16:33:32 +00:00
translate.h