Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
xsave.h File Reference
#include <linux/types.h>
#include <asm/processor.h>

Go to the source code of this file.

Macros

#define XSTATE_CPUID   0x0000000d
 
#define XSTATE_FP   0x1
 
#define XSTATE_SSE   0x2
 
#define XSTATE_YMM   0x4
 
#define XSTATE_FPSSE   (XSTATE_FP | XSTATE_SSE)
 
#define FXSAVE_SIZE   512
 
#define XSAVE_HDR_SIZE   64
 
#define XSAVE_HDR_OFFSET   FXSAVE_SIZE
 
#define XSAVE_YMM_SIZE   256
 
#define XSAVE_YMM_OFFSET   (XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET)
 
#define XCNTXT_MASK   (XSTATE_FP | XSTATE_SSE | XSTATE_YMM)
 
#define REX_PREFIX
 

Functions

void xsave_init (void)
 
void update_regset_xstate_info (unsigned int size, u64 xstate_mask)
 
int init_fpu (struct task_struct *child)
 

Variables

unsigned int xstate_size
 
u64 pcntxt_mask
 
u64 xstate_fx_sw_bytes [USER_XSTATE_FX_SW_WORDS]
 
struct xsave_structinit_xstate_buf
 

Macro Definition Documentation

#define FXSAVE_SIZE   512

Definition at line 15 of file xsave.h.

#define REX_PREFIX

Definition at line 31 of file xsave.h.

#define XCNTXT_MASK   (XSTATE_FP | XSTATE_SSE | XSTATE_YMM)

Definition at line 26 of file xsave.h.

#define XSAVE_HDR_OFFSET   FXSAVE_SIZE

Definition at line 18 of file xsave.h.

#define XSAVE_HDR_SIZE   64

Definition at line 17 of file xsave.h.

#define XSAVE_YMM_OFFSET   (XSAVE_HDR_SIZE + XSAVE_HDR_OFFSET)

Definition at line 21 of file xsave.h.

#define XSAVE_YMM_SIZE   256

Definition at line 20 of file xsave.h.

#define XSTATE_CPUID   0x0000000d

Definition at line 7 of file xsave.h.

#define XSTATE_FP   0x1

Definition at line 9 of file xsave.h.

#define XSTATE_FPSSE   (XSTATE_FP | XSTATE_SSE)

Definition at line 13 of file xsave.h.

#define XSTATE_SSE   0x2

Definition at line 10 of file xsave.h.

#define XSTATE_YMM   0x4

Definition at line 11 of file xsave.h.

Function Documentation

int init_fpu ( struct task_struct child)

Definition at line 7 of file fpu.c.

void update_regset_xstate_info ( unsigned int  size,
u64  xstate_mask 
)

Definition at line 1422 of file ptrace.c.

void xsave_init ( void  )

Definition at line 577 of file xsave.c.

Variable Documentation

struct xsave_struct* init_xstate_buf

Definition at line 24 of file xsave.c.

u64 pcntxt_mask

Definition at line 19 of file xsave.c.

u64 xstate_fx_sw_bytes[USER_XSTATE_FX_SW_WORDS]

Definition at line 1420 of file ptrace.c.

unsigned int xstate_size

Definition at line 10 of file process.c.