summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/signal.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-04-01 13:44:28 +0000
committerkib <kib@FreeBSD.org>2009-04-01 13:44:28 +0000
commita2d099881f505e260d06d2a500630b2db36d44f1 (patch)
treebd4c7e69a84bcf560d671243b57585402eba1144 /sys/amd64/include/signal.h
parent9fb298f6bcd84ff4d6bed25edbb0f25798bbb87f (diff)
downloadFreeBSD-src-a2d099881f505e260d06d2a500630b2db36d44f1.zip
FreeBSD-src-a2d099881f505e260d06d2a500630b2db36d44f1.tar.gz
Sync definitions for struct sigcontext for i386 and amd64 architectures
to struct mcontext.
Diffstat (limited to 'sys/amd64/include/signal.h')
-rw-r--r--sys/amd64/include/signal.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/amd64/include/signal.h b/sys/amd64/include/signal.h
index 7a4c2a7..228e2d9 100644
--- a/sys/amd64/include/signal.h
+++ b/sys/amd64/include/signal.h
@@ -78,9 +78,13 @@ struct sigcontext {
long sc_r13;
long sc_r14;
long sc_r15;
- long sc_trapno;
+ int sc_trapno;
+ short sc_fs;
+ short sc_gs;
long sc_addr;
- long sc_flags;
+ int sc_flags;
+ short sc_es;
+ short sc_ds;
long sc_err;
long sc_rip;
long sc_cs;
@@ -95,7 +99,11 @@ struct sigcontext {
long sc_fpformat;
long sc_ownedfp;
long sc_fpstate[64] __aligned(16);
- long sc_spare[8];
+
+ long sc_fsbase;
+ long sc_gsbase;
+
+ long sc_spare[6];
};
#endif /* __BSD_VISIBLE */
OpenPOWER on IntegriCloud