qemu-e2k/target-arm
Peter Maydell fcf83ab103 target-arm: Ignore low bit of PC in M-profile exception return
For the ARM M-profile cores, exception return pops various registers
including the PC from the stack. The architecture defines that if the
lowest bit in the new PC value is set (ie the PC is not halfword
aligned) then behaviour is UNPREDICTABLE. In practice hardware
implementations seem to simply ignore the low bit, and some buggy
RTOSes incorrectly rely on this. QEMU's behaviour was architecturally
permitted, but bringing QEMU into line with the hardware behaviour
allows more guest code to run. We log the situation as a guest error.

This was reported as LP:1428657.

Reported-by: Anders Esbensen <anders@lyes.dk>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2015-03-16 12:30:47 +00:00
..
arm_ldst.h
arm-semi.c
cpu64.c target-arm: Add missing compatible property to A57 2015-03-11 13:21:06 +00:00
cpu-qom.h
cpu.c target-arm: Add CPU property to disable AArch64 2015-02-13 05:46:08 +00:00
cpu.h cpu: Make cpu_init() return QOM CPUState object 2015-03-10 17:33:51 +01:00
crypto_helper.c target-arm: crypto: fix BE host support 2015-01-16 11:54:29 +00:00
gdbstub64.c
gdbstub.c
helper-a64.c target-arm: Add 32/64-bit register sync 2015-02-13 05:46:08 +00:00
helper-a64.h
helper.c target-arm: Ignore low bit of PC in M-profile exception return 2015-03-16 12:30:47 +00:00
helper.h
internals.h
iwmmxt_helper.c
kvm32.c
kvm64.c target-arm: Add AArch32 guest support to KVM64 2015-02-13 05:46:08 +00:00
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c kvm: add machine state to kvm_arch_init 2015-03-11 18:16:17 +01:00
machine.c vmstate: accept QEMUTimer in VMSTATE_TIMER*, add VMSTATE_TIMER_PTR* 2015-01-26 12:22:44 +01:00
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target-arm: Add 32/64-bit register sync 2015-02-13 05:46:08 +00:00
psci.c
translate-a64.c tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00
translate.c target-arm: Fix handling of STM (user) with r15 in register list 2015-03-16 12:30:47 +00:00
translate.h tcg: Change translator-side labels to a pointer 2015-03-13 12:28:18 -07:00