[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 20/29] bsd-user/arm/target_arch_signal.h: arm user context and
From: |
Warner Losh |
Subject: |
[PATCH v3 20/29] bsd-user/arm/target_arch_signal.h: arm user context and trapframe for signals |
Date: |
Thu, 4 Nov 2021 08:05:27 -0600 |
Arm specific user context structures for signal handling and the closely
related trap frame.
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
bsd-user/arm/target_arch_signal.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/bsd-user/arm/target_arch_signal.h
b/bsd-user/arm/target_arch_signal.h
index 3aaced474b..4bdfcbb8d7 100644
--- a/bsd-user/arm/target_arch_signal.h
+++ b/bsd-user/arm/target_arch_signal.h
@@ -74,4 +74,12 @@ typedef struct target_mcontext {
abi_int mc_spare[33];
} target_mcontext_t;
+#include "target_os_ucontext.h"
+
+struct target_sigframe {
+ target_siginfo_t sf_si; /* saved siginfo */
+ target_ucontext_t sf_uc; /* saved ucontext */
+ target_mcontext_vfp_t sf_vfp; /* actual saved VFP context */
+};
+
#endif /* !_TARGET_ARCH_SIGNAL_H_ */
--
2.33.0
- [PATCH v3 17/29] bsd-user/freebsd: Create common target_os_ucontext.h file, (continued)
- [PATCH v3 21/29] bsd-user/arm/target_arch_signal.h: arm set_sigtramp_args, Warner Losh, 2021/11/04
- [PATCH v3 18/29] bsd-user/arm/target_arch_signal.h: arm specific signal registers and stack, Warner Losh, 2021/11/04
- [PATCH v3 22/29] bsd-user/arm/target_arch_signal.h: arm get_mcontext, Warner Losh, 2021/11/04
- [PATCH v3 15/29] bsd-user/arm/target_arch_elf.h: arm get hwcap, Warner Losh, 2021/11/04
- [PATCH v3 20/29] bsd-user/arm/target_arch_signal.h: arm user context and trapframe for signals,
Warner Losh <=
- [PATCH v3 25/29] bsd-user: add arm target build, Warner Losh, 2021/11/04
- [PATCH v3 26/29] bsd-user/i386/target_arch_signal.h: Remove target_sigcontext, Warner Losh, 2021/11/04
- [PATCH v3 27/29] bsd-user/x86_64/target_arch_signal.h: Remove target_sigcontext, Warner Losh, 2021/11/04
- [PATCH v3 23/29] bsd-user/arm/target_arch_signal.h: arm set_mcontext, Warner Losh, 2021/11/04
- [PATCH v3 24/29] bsd-user/arm/target_arch_signal.h: arm get_ucontext_sigreturn, Warner Losh, 2021/11/04
- [PATCH v3 28/29] bsd-user/i386/target_arch_signal.h: use new target_os_ucontext.h, Warner Losh, 2021/11/04
- [PATCH v3 29/29] bsd-user/x86_64/target_arch_signal.h: use new target_os_ucontext.h, Warner Losh, 2021/11/04