unicorn/qemu/target-arm
Peter Maydell 8840d8370d
target-arm: Split DISAS_YIELD from DISAS_WFE
Currently we use DISAS_WFE for both WFE and YIELD instructions.
This is functionally correct because at the moment both of them
are implemented as "yield this CPU back to the top level loop so
another CPU has a chance to run". However it's rather confusing
that YIELD ends up calling HELPER(wfe), and if we ever want to
implement real behaviour for WFE and SEV it's likely to trip us up.

Split out the yield codepath to use DISAS_YIELD and a new
HELPER(yield) function, and have HELPER(wfe) call HELPER(yield).

Backports commit 049e24a191c212d9468db84169197887f2c91586 from qemu
2018-02-17 15:23:14 -05:00
..
arm_ldst.h import 2015-08-21 15:04:50 +08:00
cpu-qom.h target-arm/helper.c: define MPUIR register 2018-02-17 15:22:43 -05:00
cpu.c target-arm: Add support for Cortex-R5 2018-02-17 15:23:08 -05:00
cpu.h target-arm: Implement PMSAv7 MPU 2018-02-17 15:23:08 -05:00
cpu64.c target-arm: Fix REVIDR reset value 2018-02-13 14:24:08 -05:00
crypto_helper.c target-arm: crypto: fix BE host support 2018-02-12 10:40:52 -05:00
helper-a64.c target-arm: A64: Print ELR when taking exceptions 2018-02-17 15:23:13 -05:00
helper-a64.h import 2015-08-21 15:04:50 +08:00
helper.c target-arm: fix write helper for TLBI ALLE1IS 2018-02-17 15:23:14 -05:00
helper.h target-arm: Split DISAS_YIELD from DISAS_WFE 2018-02-17 15:23:14 -05:00
internals.h arm: Refactor get_phys_addr FSR return mechanism 2018-02-17 15:22:42 -05:00
iwmmxt_helper.c import 2015-08-21 15:04:50 +08:00
kvm-consts.h import 2015-08-21 15:04:50 +08:00
Makefile.objs delete sparc32_dma.h & arm-semi.c 2017-01-19 15:10:41 +08:00
neon_helper.c Arm support ported. (#736) 2017-01-23 23:30:57 +08:00
op_addsub.h import 2015-08-21 15:04:50 +08:00
op_helper.c target-arm: Split DISAS_YIELD from DISAS_WFE 2018-02-17 15:23:14 -05:00
psci.c import 2015-08-21 15:04:50 +08:00
translate-a64.c target-arm: Split DISAS_YIELD from DISAS_WFE 2018-02-17 15:23:14 -05:00
translate.c target-arm: Correct "preferred return address" for cpreg access exceptions 2018-02-17 15:22:42 -05:00
translate.h target-arm: Split DISAS_YIELD from DISAS_WFE 2018-02-17 15:23:14 -05:00
unicorn.h arm64eb: add support for ARM64 big endian. 2017-04-24 23:30:01 +08:00
unicorn_aarch64.c target-arm: rename c1_coproc to cpacr_el1 2018-02-12 20:46:00 -05:00
unicorn_arm.c target-arm: Add registers for PMSAv7 2018-02-17 15:22:43 -05:00