diff options
author | deischen <deischen@FreeBSD.org> | 2002-12-02 19:58:55 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2002-12-02 19:58:55 +0000 |
commit | 88d7b8f56badfe1166bf9c4ca3fe30a8e9e4b306 (patch) | |
tree | c46b44c418609ede008e86880bbd07544a9f2fa9 /sys/i386/include/signal.h | |
parent | 09074e808047049fdcb245eb25886bc976452efa (diff) | |
download | FreeBSD-src-88d7b8f56badfe1166bf9c4ca3fe30a8e9e4b306.zip FreeBSD-src-88d7b8f56badfe1166bf9c4ca3fe30a8e9e4b306.tar.gz |
Align the FPU state in the ucontext and sigcontext to 16 bytes
to accomodate the new SSE/XMM floating point save/restore
instructions.
This commit is mostly from bde and includes some style nits.
Approved by: re (jhb)
Diffstat (limited to 'sys/i386/include/signal.h')
-rw-r--r-- | sys/i386/include/signal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h index efc7ef0..fb2d82c 100644 --- a/sys/i386/include/signal.h +++ b/sys/i386/include/signal.h @@ -100,7 +100,7 @@ struct osigcontext { struct sigcontext { struct __sigset sc_mask; /* signal mask to restore */ int sc_onstack; /* sigstack state to restore */ - int sc_gs; /* machine state (struct trapframe): */ + int sc_gs; /* machine state (struct trapframe) */ int sc_fs; int sc_es; int sc_ds; @@ -127,7 +127,7 @@ struct sigcontext { int sc_fpformat; int sc_ownedfp; int sc_spare1[1]; - int sc_fpstate[128]; + int sc_fpstate[128] __aligned(16); int sc_spare2[8]; }; |