Date: Mon, 30 Jan 2012 07:51:52 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r230765 - in head/sys: amd64/include i386/include Message-ID: <201201300751.q0U7pq99073690@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Jan 30 07:51:52 2012 New Revision: 230765 URL: http://svn.freebsd.org/changeset/base/230765 Log: Synchronize the struct sigcontext definitions on x86 with mcontext_t. Pointed out by: bde MFC after: 1 month 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 Mon Jan 30 07:23:53 2012 (r230764) +++ head/sys/amd64/include/signal.h Mon Jan 30 07:51:52 2012 (r230765) @@ -99,7 +99,10 @@ struct sigcontext { long sc_fsbase; long sc_gsbase; - long sc_spare[6]; + long sc_xfpustate; + long sc_xfpustate_len; + + long sc_spare[4]; }; #endif /* __BSD_VISIBLE */ Modified: head/sys/i386/include/signal.h ============================================================================== --- head/sys/i386/include/signal.h Mon Jan 30 07:23:53 2012 (r230764) +++ head/sys/i386/include/signal.h Mon Jan 30 07:51:52 2012 (r230765) @@ -115,13 +115,16 @@ struct sigcontext { */ int sc_fpformat; int sc_ownedfp; - int sc_spare1[1]; + int sc_flags; int sc_fpstate[128] __aligned(16); int sc_fsbase; int sc_gsbase; - int sc_spare2[6]; + int sc_xfpustate; + int sc_xfpustate_len; + + int sc_spare2[4]; }; #define sc_sp sc_esp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201300751.q0U7pq99073690>