[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 36/37] bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONT
From: |
Warner Losh |
Subject: |
[PULL 36/37] bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE |
Date: |
Sat, 8 Jan 2022 00:37:36 -0700 |
Now that all architecutres define TARGET_[MU]CONTEXT_SIZE, enforce
requiring them and always check the sizeof target_{u,m}context_t
sizes.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/freebsd/target_os_ucontext.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/bsd-user/freebsd/target_os_ucontext.h
b/bsd-user/freebsd/target_os_ucontext.h
index dd61aec7cce..41b28b2c150 100644
--- a/bsd-user/freebsd/target_os_ucontext.h
+++ b/bsd-user/freebsd/target_os_ucontext.h
@@ -27,10 +27,8 @@ typedef struct target_ucontext {
int32_t __spare__[4];
} target_ucontext_t;
-#ifdef TARGET_MCONTEXT_SIZE
G_STATIC_ASSERT(TARGET_MCONTEXT_SIZE == sizeof(target_mcontext_t));
G_STATIC_ASSERT(TARGET_UCONTEXT_SIZE == sizeof(target_ucontext_t));
-#endif /* TARGET_MCONTEXT_SIZE */
struct target_sigframe;
--
2.33.1
- [PULL 10/37] bsd-user/x86_64/target_arch_signal.h: Fill in mcontext_t, (continued)
- [PULL 10/37] bsd-user/x86_64/target_arch_signal.h: Fill in mcontext_t, Warner Losh, 2022/01/08
- [PULL 24/37] bsd-user/arm/target_arch_sigtramp.h: Signal Trampoline for arm, Warner Losh, 2022/01/08
- [PULL 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_t, Warner Losh, 2022/01/08
- [PULL 30/37] bsd-user/arm/target_arch_signal.h: arm machine context and trapframe for signals, Warner Losh, 2022/01/08
- [PULL 28/37] bsd-user/arm/target_arch_elf.h: arm get_hwcap2 impl, Warner Losh, 2022/01/08
- [PULL 29/37] bsd-user/arm/target_arch_signal.h: arm specific signal registers and stack, Warner Losh, 2022/01/08
- [PULL 33/37] bsd-user/arm/signal.c: arm get_mcontext, Warner Losh, 2022/01/08
- [PULL 34/37] bsd-user/arm/signal.c: arm set_mcontext, Warner Losh, 2022/01/08
- [PULL 37/37] bsd-user: add arm target build, Warner Losh, 2022/01/08
- [PULL 32/37] bsd-user/arm/signal.c: arm set_sigtramp_args, Warner Losh, 2022/01/08
- [PULL 36/37] bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE,
Warner Losh <=
- [PULL 03/37] bsd-user: create a per-arch signal.c file, Warner Losh, 2022/01/08
- Re: [PULL 00/37] Bsd user arm patches, Richard Henderson, 2022/01/08