pub(super) unsafe fn do_switch_context(target: &SwitchTarget)Expand description
Context switch dispatcher. Picks the xsave or fxsave path based on host capabilities, then performs the full save/swap/restore sequence.
ยงSafety
Caller must ensure all pointers in target are valid and interrupts are disabled.