diff options
author | Warner Losh | 2022-01-08 23:41:10 +0100 |
---|---|---|
committer | Warner Losh | 2022-01-28 23:52:38 +0100 |
commit | c0d2691ccce7828ade341a263df1d51ce1dfe9ff (patch) | |
tree | 0c1ab2ffd24d1aa6285c1c6d88f5c2e52803b110 /bsd-user | |
parent | bsd-user: Bring in docs from linux-user for signal_pending (diff) | |
download | qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.tar.gz qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.tar.xz qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.zip |
bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to match linux-user
Move the EXCP_ATOMIC case to match linux-user/arm/cpu_loop.c:cpu_loop
ordering.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/arm/target_arch_cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h index c675419c30..c526fc7350 100644 --- a/bsd-user/arm/target_arch_cpu.h +++ b/bsd-user/arm/target_arch_cpu.h @@ -180,12 +180,12 @@ static inline void target_cpu_loop(CPUARMState *env) queue_signal(env, info.si_signo, &info); } break; - case EXCP_ATOMIC: - cpu_exec_step_atomic(cs); - break; case EXCP_YIELD: /* nothing to do here for user-mode, just resume guest code */ break; + case EXCP_ATOMIC: + cpu_exec_step_atomic(cs); + break; default: fprintf(stderr, "qemu: unhandled CPU exception 0x%x - aborting\n", trapnr); |