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

Go to the source code of this file.

Functions

void x86_xsave_thread (Thread *thread)
 
void x86_xrstor_thread (Thread *thread)
 

Variables

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

Function Documentation

◆ x86_xsave_thread()

void x86_xsave_thread ( Thread * thread)

Definition at line 16 of file fpu_context.cpp.

Referenced by platform_switch_to_thread().

◆ x86_xrstor_thread()

void x86_xrstor_thread ( Thread * thread)

Definition at line 28 of file fpu_context.cpp.

Referenced by platform_switch_to_thread().

Variable Documentation

◆ RFBM

const u64 RFBM = ~0ULL
static

Definition at line 12 of file fpu_context.cpp.

◆ low

const reg32_t low = RFBM & 0xFFFFFFFF

◆ high

const reg32_t high = RFBM >> 32