we need as a result to move switch_mode too,
so we put an implementation into cpu_user and cpu_sysemu.
Signed-off-by: Claudio Fontana<cfontana@suse.de>
---
target/arm/cpu.h | 2 +
target/arm/cpu-common.c | 182 +++++++++++++++++++++++++++++++++
target/arm/cpu-sysemu.c | 29 ++++++
target/arm/cpu-user.c | 24 +++++
target/arm/tcg/helper.c | 221 ----------------------------------------
target/arm/meson.build | 3 +
6 files changed, 240 insertions(+), 221 deletions(-)
create mode 100644 target/arm/cpu-user.c