On 3/23/21 9:46 AM, Claudio Fontana wrote:
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<cfont...@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
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~