1 #ifndef __ASM_X86_XSAVE_H
2 #define __ASM_X86_XSAVE_H
4 #include <asm/processor.h>
10 #define XSTATE_FPSSE (XSTATE_FP | XSTATE_SSE)
12 #define FXSAVE_SIZE 512
15 * These are the features that the OS can handle currently.
17 #define XCNTXT_LMASK (XSTATE_FP | XSTATE_SSE)
18 #define XCNTXT_HMASK 0x0
20 extern unsigned int xstate_size, pcntxt_hmask, pcntxt_lmask;
21 extern struct xsave_struct *init_xstate_buf;
23 extern void xsave_cntxt_init(void);
24 extern void xsave_init(void);