From 2cb1e6432f917a91c3edd4772b26da3b5d8df791 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 4 Nov 2021 17:08:04 -0600 Subject: [PATCH] bsd-user/arm/target_arch_signal.h: Define size of *context_t 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 Reviewed-by: Richard Henderson --- 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.39.5