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
This commit is contained in:
parent
f47f328dc5
commit
f3f509767a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user