Author: kib Date: Sat Sep 6 19:39:12 2014 New Revision: 271206 URL: http://svnweb.freebsd.org/changeset/base/271206
Log: SDM rev. 50 defines the use of the next 8 bytes in the xstate header. It is the compaction bitmask, with the highest bit defining if compact format of the xsave area is used at all. Adjust the definition of struct xstate_hdr, provide define for bit 63. Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/x86/include/fpu.h Modified: head/sys/x86/include/fpu.h ============================================================================== --- head/sys/x86/include/fpu.h Sat Sep 6 19:38:40 2014 (r271205) +++ head/sys/x86/include/fpu.h Sat Sep 6 19:39:12 2014 (r271206) @@ -150,9 +150,11 @@ struct savefpu { struct xstate_hdr { uint64_t xstate_bv; - uint8_t xstate_rsrv0[16]; + uint64_t xstate_xcomp_bv; + uint8_t xstate_rsrv0[8]; uint8_t xstate_rsrv[40]; }; +#define XSTATE_XCOMP_BV_COMPACT (1ULL << 63) struct savexmm_xstate { struct xstate_hdr sx_hd; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"