On 3/26/21 1:36 PM, 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
I'm a little surprised this isn't going into cpu32.c or something, since it's
aarch32 specific. But I guess it's ok.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~