Author: kib Date: Wed Apr 1 13:44:28 2009 New Revision: 190623 URL: http://svn.freebsd.org/changeset/base/190623
Log: Sync definitions for struct sigcontext for i386 and amd64 architectures to struct mcontext. Modified: head/sys/amd64/include/signal.h head/sys/i386/include/signal.h Modified: head/sys/amd64/include/signal.h ============================================================================== --- head/sys/amd64/include/signal.h Wed Apr 1 13:12:40 2009 (r190622) +++ head/sys/amd64/include/signal.h Wed Apr 1 13:44:28 2009 (r190623) @@ -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 */ Modified: head/sys/i386/include/signal.h ============================================================================== --- head/sys/i386/include/signal.h Wed Apr 1 13:12:40 2009 (r190622) +++ head/sys/i386/include/signal.h Wed Apr 1 13:44:28 2009 (r190623) @@ -116,7 +116,11 @@ struct sigcontext { int sc_ownedfp; int sc_spare1[1]; int sc_fpstate[128] __aligned(16); - int sc_spare2[8]; + + int sc_fsbase; + int sc_gsbase; + + int sc_spare2[6]; }; #define sc_sp sc_esp _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"