qemu-e2k/target-arm
Peter Maydell 4051e12c5d target-arm: Don't allow AArch32 to access RES0 CPSR bits
The CPSR has a new-in-v8 execution state bit (IL), and
also some state which has effects in AArch32 but appears
only in the SPSR format (SS) but is RES0 in the CPSR.

Add the IL bit to CPSR_EXEC, and enforce that guest direct
reads and writes to CPSR can't read or write the RES0
bits, so the guest can't get at the SS bit which we store
in uncached_cpsr. This includes not permitting exception
returns to copy reserved bits from an SPSR into CPSR.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2014-08-19 19:02:03 +01:00
..
arm_ldst.h
arm-semi.c
cpu64.c target-arm: Adjust debug ID registers per-CPU 2014-08-19 19:02:03 +01:00
cpu-qom.h target-arm: Adjust debug ID registers per-CPU 2014-08-19 19:02:03 +01:00
cpu.c target-arm: Adjust debug ID registers per-CPU 2014-08-19 19:02:03 +01:00
cpu.h target-arm: Don't allow AArch32 to access RES0 CPSR bits 2014-08-19 19:02:03 +01:00
crypto_helper.c
gdbstub64.c
gdbstub.c
helper-a64.c
helper-a64.h
helper.c target-arm: Adjust debug ID registers per-CPU 2014-08-19 19:02:03 +01:00
helper.h
internals.h
iwmmxt_helper.c
kvm32.c
kvm64.c
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c
machine.c
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target-arm: Don't allow AArch32 to access RES0 CPSR bits 2014-08-19 19:02:03 +01:00
translate-a64.c target-arm: Fix return address for A64 BRK instructions 2014-08-19 18:56:24 +01:00
translate.c target-arm: Don't allow AArch32 to access RES0 CPSR bits 2014-08-19 19:02:03 +01:00
translate.h