unicorn/qemu/target-arm
Peter Maydell f4ae64e78a
target-arm: ignore ELR_ELx[1] for exception return to 32-bit ARM mode
The architecture requires that for an exception return to AArch32 the
low bits of ELR_ELx are ignored when the PC is set from them:
* if returning to Thumb mode, ignore ELR_ELx[0]
* if returning to ARM mode, ignore ELR_ELx[1:0]

We were only squashing bit 0; also squash bit 1 if the SPSR T bit
indicates this is a return to ARM code.

Backports commit c1e0371442bf3a7e42ad53c2a3d816ed7099f81d from qemu
2018-02-18 22:50:18 -05:00
..
arm_ldst.h
cpu64.c target-arm: Use a single entry point for AArch64 and AArch32 exceptions 2018-02-18 22:34:31 -05:00
cpu-qom.h target-arm: Use a single entry point for AArch64 and AArch32 exceptions 2018-02-18 22:34:31 -05:00
cpu.c target-arm: Implement cpu_get_phys_page_attrs_debug 2018-02-18 22:15:50 -05:00
cpu.h target-arm: Properly support EL2 and EL3 in arm_el_is_aa64() 2018-02-18 22:20:51 -05:00
crypto_helper.c target-arm: Clean up includes 2018-02-17 21:09:32 -05:00
helper-a64.c target-arm: Move aarch64_cpu_do_interrupt() to helper.c 2018-02-18 22:23:06 -05:00
helper-a64.h
helper.c target-arm: Handle exception return from AArch64 to non-EL0 AArch32 2018-02-18 22:46:50 -05:00
helper.h target-arm: Fix CPU breakpoint handling 2018-02-17 15:24:02 -05:00
internals.h target-arm: Use the right MMU index in arm_regime_using_lpae_format 2018-02-17 20:56:32 -05:00
iwmmxt_helper.c target-arm: Clean up includes 2018-02-17 21:09:32 -05:00
kvm-consts.h
Makefile.objs
neon_helper.c target-arm: Clean up includes 2018-02-17 21:09:32 -05:00
op_addsub.h
op_helper.c target-arm: ignore ELR_ELx[1] for exception return to 32-bit ARM mode 2018-02-18 22:50:18 -05:00
psci.c
translate-a64.c target-arm: Clean up includes 2018-02-17 21:09:32 -05:00
translate.c target-arm: Clean up includes 2018-02-17 21:09:32 -05:00
translate.h tcg: Remove gen_intermediate_code_pc 2018-02-17 15:23:59 -05:00
unicorn_aarch64.c
unicorn_arm.c
unicorn.h