summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/signal.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-12-02 19:58:55 +0000
committerdeischen <deischen@FreeBSD.org>2002-12-02 19:58:55 +0000
commit88d7b8f56badfe1166bf9c4ca3fe30a8e9e4b306 (patch)
treec46b44c418609ede008e86880bbd07544a9f2fa9 /sys/amd64/include/signal.h
parent09074e808047049fdcb245eb25886bc976452efa (diff)
downloadFreeBSD-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/amd64/include/signal.h')
-rw-r--r--sys/amd64/include/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/signal.h b/sys/amd64/include/signal.h
index efc7ef0..fb2d82c 100644
--- a/sys/amd64/include/signal.h
+++ b/sys/amd64/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];
};
OpenPOWER on IntegriCloud