aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-11-04 17:08:04 -0600
committerWarner Losh <imp@bsdimp.com>2022-01-07 22:58:51 -0700
commit2cb1e6432f917a91c3edd4772b26da3b5d8df791 (patch)
treeb0959382ee539ba99954e1e08e829363f7443a8d
parent03fd4028f180af4175e6446bc8c09c4689fb6580 (diff)
downloadqemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.zip
qemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.tar.gz
qemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.tar.bz2
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 <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--bsd-user/arm/target_arch_signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-user/arm/target_arch_signal.h b/bsd-user/arm/target_arch_signal.h
index 9527335..f1844db 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 {