summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarner Losh2021-11-05 00:08:04 +0100
committerWarner Losh2022-01-08 06:58:51 +0100
commit2cb1e6432f917a91c3edd4772b26da3b5d8df791 (patch)
treeb0959382ee539ba99954e1e08e829363f7443a8d
parentbsd-user/arm/target_arch_signal.h: arm machine context and trapframe for signals (diff)
downloadqemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.tar.gz
qemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.tar.xz
qemu-2cb1e6432f917a91c3edd4772b26da3b5d8df791.zip
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 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 {