[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 31/37] bsd-user/arm/target_arch_signal.h: Define size of *cont
From: |
Warner Losh |
Subject: |
[PATCH v5 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_t |
Date: |
Sun, 7 Nov 2021 20:51:30 -0700 |
Define the native sizes of mcontext_t and ucontext_t so that the tests
in target_os_ucontext.h ensure the size of arm's version of these
structures is correct.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/arm/target_arch_signal.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bsd-user/arm/target_arch_signal.h
b/bsd-user/arm/target_arch_signal.h
index 9527335cc9..f1844dbf22 100644
--- a/bsd-user/arm/target_arch_signal.h
+++ b/bsd-user/arm/target_arch_signal.h
@@ -74,6 +74,9 @@ typedef struct target_mcontext {
abi_int mc_spare[33];
} target_mcontext_t;
+#define TARGET_MCONTEXT_SIZE 208
+#define TARGET_UCONTEXT_SIZE 260
+
#include "target_os_ucontext.h"
struct target_sigframe {
--
2.33.0
- [PATCH v5 30/37] bsd-user/arm/target_arch_signal.h: arm machine context and trapframe for signals, (continued)
- [PATCH v5 30/37] bsd-user/arm/target_arch_signal.h: arm machine context and trapframe for signals, Warner Losh, 2021/11/07
- [PATCH v5 34/37] bsd-user/arm/signal.c: arm set_mcontext, Warner Losh, 2021/11/07
- [PATCH v5 15/37] bsd-user/arm/target_arch_cpu.c: Target specific TLS routines, Warner Losh, 2021/11/07
- [PATCH v5 36/37] bsd-user/freebsd/target_os_ucontext.h: Require TARGET_*CONTEXT_SIZE, Warner Losh, 2021/11/07
- [PATCH v5 29/37] bsd-user/arm/target_arch_signal.h: arm specific signal registers and stack, Warner Losh, 2021/11/07
- [PATCH v5 32/37] bsd-user/arm/signal.c: arm set_sigtramp_args, Warner Losh, 2021/11/07
- [PATCH v5 21/37] bsd-user/arm/target_arch_cpu.h: Implement system call dispatch, Warner Losh, 2021/11/07
- [PATCH v5 22/37] bsd-user/arm/target_arch_reg.h: Implement core dump register copying, Warner Losh, 2021/11/07
- [PATCH v5 18/37] bsd-user/arm/target_arch_cpu.h: Dummy target_cpu_loop implementation, Warner Losh, 2021/11/07
- [PATCH v5 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_t,
Warner Losh <=
- [PATCH v5 37/37] bsd-user: add arm target build, Warner Losh, 2021/11/07
- [PATCH v5 20/37] bsd-user/arm/target_arch_cpu.h: Implement data abort exceptions, Warner Losh, 2021/11/07
- [PATCH v5 09/37] bsd-user/x86_64/target_arch_signal.h: use new target_os_ucontext.h, Warner Losh, 2021/11/07
- [PATCH v5 23/37] bsd-user/arm/target_arch_vmparam.h: Parameters for arm address space, Warner Losh, 2021/11/07