From: Warner Losh Date: Thu, 4 Nov 2021 23:08:04 +0000 (-0600) Subject: bsd-user/arm/target_arch_signal.h: Define size of *context_t X-Git-Tag: qemu-xen-4.17.0-rc4~145^2~6 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2cb1e6432f917a91c3edd4772b26da3b5d8df791;p=qemu-xen.git 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 --- 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 {