Oops, forgot to save these in the editor. Add CTASSERTS for signal and

context related things.
This commit is contained in:
Peter Wemm 2003-10-30 02:43:19 +00:00
parent 60a8c422cd
commit 40bb965382
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121720

View file

@ -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);