Expand description
x86_64 context switching implementation
Structs§
- FpuState
- x86_64 FPU/SSE/AVX state
- X86_
64Context - x86_64 CPU context
Functions§
- context_
switch ⚠ - Switch from current context to new context
- enable_
xsave - Enable XSAVE if supported
- has_
xsave - Check if CPU supports XSAVE
- init_
fpu - Initialize FPU for current CPU. Called from
crate::arch::context::init_fpu(). - load_
context ⚠ - Load context for first time (no previous context to save)
- restore_
fpu_ state - Restore FPU state. Called from
crate::arch::context::restore_fpu_state(). - save_
fpu_ state - Save FPU state. Called from
crate::arch::context::save_fpu_state(). - switch_
context - Switch context using the ThreadContext interface.
Called from
crate::arch::context::switch_context().