MOS Source Code
Loading...
Searching...
No Matches
fpu_context.c File Reference
+ Include dependency graph for fpu_context.c:

Go to the source code of this file.

Functions

static void setup_xsave_slab (void)
 
 MOS_INIT (SLAB_AUTOINIT, setup_xsave_slab)
 
void x86_xsave_thread (thread_t *thread)
 
void x86_xrstor_thread (thread_t *thread)
 

Variables

slab_txsave_area_slab = NULL
 
static const u64 RFBM = ~0ULL
 
const reg32_t low = RFBM & 0xFFFFFFFF
 
const reg32_t high = RFBM >> 32
 

Function Documentation

◆ setup_xsave_slab()

static void setup_xsave_slab ( void )
static

Definition at line 15 of file fpu_context.c.

+ Here is the call graph for this function:

◆ MOS_INIT()

MOS_INIT ( SLAB_AUTOINIT ,
setup_xsave_slab  )

◆ x86_xsave_thread()

void x86_xsave_thread ( thread_t * thread)

Definition at line 26 of file fpu_context.c.

Referenced by platform_switch_to_thread().

◆ x86_xrstor_thread()

void x86_xrstor_thread ( thread_t * thread)

Definition at line 38 of file fpu_context.c.

Referenced by platform_switch_to_thread().

Variable Documentation

◆ xsave_area_slab

slab_t* xsave_area_slab = NULL

Definition at line 13 of file fpu_context.c.

Referenced by platform_context_clone(), setup_xsave_slab(), and x86_setup_thread_common().

◆ RFBM

const u64 RFBM = ~0ULL
static

Definition at line 22 of file fpu_context.c.

◆ low

const reg32_t low = RFBM & 0xFFFFFFFF

◆ high

const reg32_t high = RFBM >> 32