[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_
From: |
Warner Losh |
Subject: |
[PULL 31/37] bsd-user/arm/target_arch_signal.h: Define size of *context_t |
Date: |
Sat, 8 Jan 2022 00:37:31 -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 9527335cc98..f1844dbf225 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.1
- [PULL 18/37] bsd-user/arm/target_arch_cpu.h: Dummy target_cpu_loop implementation, (continued)
- [PULL 18/37] bsd-user/arm/target_arch_cpu.h: Dummy target_cpu_loop implementation, Warner Losh, 2022/01/08
- [PULL 35/37] bsd-user/arm/signal.c: arm get_ucontext_sigreturn, Warner Losh, 2022/01/08
- [PULL 16/37] bsd-user/arm/target_arch_cpu.h: CPU Loop definitions, Warner Losh, 2022/01/08
- [PULL 15/37] bsd-user/arm/target_arch_cpu.c: Target specific TLS routines, Warner Losh, 2022/01/08
- [PULL 21/37] bsd-user/arm/target_arch_cpu.h: Implement system call dispatch, Warner Losh, 2022/01/08
- [PULL 23/37] bsd-user/arm/target_arch_vmparam.h: Parameters for arm address space, Warner Losh, 2022/01/08
- [PULL 17/37] bsd-user/arm/target_arch_cpu.h: Implement target_cpu_clone_regs, Warner Losh, 2022/01/08
- [PULL 22/37] bsd-user/arm/target_arch_reg.h: Implement core dump register copying, Warner Losh, 2022/01/08
- [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 <=
- [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, 2022/01/08
- [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