summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-10-30 02:43:19 +0000
committerpeter <peter@FreeBSD.org>2003-10-30 02:43:19 +0000
commit8e63ac0e3853c02aaeafb63a881bbe069927f6a5 (patch)
treec983ca2a7f5f0401bfb028fecc370a22e2d4786d /sys/compat/ia32
parent11bf308b70fdf315f6dd687da1123fe0efa3969e (diff)
downloadFreeBSD-src-8e63ac0e3853c02aaeafb63a881bbe069927f6a5.zip
FreeBSD-src-8e63ac0e3853c02aaeafb63a881bbe069927f6a5.tar.gz
Oops, forgot to save these in the editor. Add CTASSERTS for signal and
context related things.
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_sysvec.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c
index bbaa56a..18e0976 100644
--- a/sys/compat/ia32/ia32_sysvec.c
+++ b/sys/compat/ia32/ia32_sysvec.c
@@ -75,6 +75,16 @@ __FBSDID("$FreeBSD$");
#include <machine/pcb.h>
#include <machine/cpufunc.h>
+CTASSERT(sizeof(struct ia32_mcontext) == 640);
+CTASSERT(sizeof(struct ia32_ucontext) == 704);
+CTASSERT(sizeof(struct ia32_sigframe) == 800);
+CTASSERT(sizeof(struct ia32_siginfo) == 64);
+#ifdef COMPAT_FREEBSD4
+CTASSERT(sizeof(struct ia32_mcontext4) == 260);
+CTASSERT(sizeof(struct ia32_ucontext4) == 324);
+CTASSERT(sizeof(struct ia32_sigframe4) == 408);
+#endif
+
static register_t *ia32_copyout_strings(struct image_params *imgp);
static void ia32_setregs(struct thread *td, u_long entry, u_long stack,
u_long ps_strings);
OpenPOWER on IntegriCloud