[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/40] bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to mat
From: |
Warner Losh |
Subject: |
[PATCH v2 07/40] bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to match linux-user |
Date: |
Mon, 24 Jan 2022 18:29:14 -0700 |
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>
---
bsd-user/arm/target_arch_cpu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h
index c675419c30a..c526fc73502 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);
--
2.33.1
- Re: [PATCH v2 01/40] bsd-user: Complete FreeBSD siginfo, (continued)
- [PATCH v2 02/40] bsd-user: Create setup_sigframe_arch to setup sigframe context, Warner Losh, 2022/01/24
- [PATCH v2 04/40] bsd-user/arm/signal.c: get_mcontext should zero vfp data, Warner Losh, 2022/01/24
- [PATCH v2 05/40] bsd-user: Remove vestiges of signal queueing code, Warner Losh, 2022/01/24
- [PATCH v2 06/40] bsd-user: Bring in docs from linux-user for signal_pending, Warner Losh, 2022/01/24
- [PATCH v2 07/40] bsd-user/arm/target_arch_cpu.h: Move EXCP_ATOMIC to match linux-user,
Warner Losh <=
- [PATCH v2 08/40] bsd-user/signal.c: implement force_sig_fault, Warner Losh, 2022/01/24
- [PATCH v2 09/40] bsd-user/signal-common.h: Move signal functions prototypes to here, Warner Losh, 2022/01/24
- [PATCH v2 10/40] bsd-user/signal.c: Implement cpu_loop_exit_sigsegv, Warner Losh, 2022/01/24
- [PATCH v2 14/40] bsd-user/arm/target_arch_cpu.h: Use force_sig_fault for EXCP_UDEF, Warner Losh, 2022/01/24
- [PATCH v2 16/40] bsd-user/signal.c: implement abstract target / host signal translation, Warner Losh, 2022/01/24
- [PATCH v2 18/40] bsd-user/signal.c: Add si_type argument to queue_signal, Warner Losh, 2022/01/24