diff options
author | Warner Losh <imp@bsdimp.com> | 2022-01-08 15:41:10 -0700 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2022-01-28 15:52:38 -0700 |
commit | c0d2691ccce7828ade341a263df1d51ce1dfe9ff (patch) | |
tree | 0c1ab2ffd24d1aa6285c1c6d88f5c2e52803b110 | |
parent | 4804722593bd1735ce810e380247788200bcb961 (diff) | |
download | qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.zip qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.tar.gz qemu-c0d2691ccce7828ade341a263df1d51ce1dfe9ff.tar.bz2 |
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>
-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 c675419..c526fc7 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); |