qemu/target-arm
Peter Maydell 87f19eb2a5 target-arm: Support v6 barriers in linux-user mode
ARMv6 implemented various operations as special cases of cp15 accesses
which are true instructions in v7; this includes barriers (DMB, DSB, ISB).
Catch this special case at translate time, so that it works in linux-user
mode (which doesn't provide a functional get_cp15 helper) as well as
system mode.

Includes minor cleanup of the existing cases (single switch statement,
and doing the "OK in user mode?" test explicitly rather than hiding it in
cp15_user_ok()).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2011-07-26 14:30:54 +00:00
..
cpu.h target-arm: Mark 1136r1 as a v6K core 2011-07-26 14:30:54 +00:00
exec.h Remove exec-all.h include directives 2011-06-26 18:25:35 +00:00
helper.c target-arm: Mark 1136r1 as a v6K core 2011-07-26 14:30:54 +00:00
helper.h Revert "target-arm: Use global env in neon_helper.c helpers" 2011-06-22 15:01:41 +00:00
iwmmxt_helper.c Revert "target-arm: Use global env in iwmmxt_helper.c helpers" 2011-06-22 15:01:21 +00:00
machine.c target-arm: Minimal implementation of performance counters 2011-06-22 15:02:08 +00:00
neon_helper.c Correct spelling of licensed 2011-07-23 11:26:12 -05:00
op_addsub.h Correct spelling of licensed 2011-07-23 11:26:12 -05:00
op_helper.c cpu_loop_exit: avoid using AREG0 2011-06-26 18:25:13 +00:00
translate.c target-arm: Support v6 barriers in linux-user mode 2011-07-26 14:30:54 +00:00