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 | 192 +++++++++++++++++++++++++++++++++++
target/arm/cpu-sysemu.c | 30 ++++++
target/arm/cpu-user.c | 24 +++++
target/arm/tcg/helper.c | 220 ----------------------------------------
target/arm/meson.build | 3 +
6 files changed, 251 insertions(+), 220 deletions(-)
create mode 100644 target/arm/cpu-user.c