#[unsafe(no_mangle)]pub unsafe extern "C" fn context_switch(
current: *mut X86_64Context,
next: *const X86_64Context,
)Expand description
Switch from current context to new context
§Safety
This function manipulates CPU state directly and must be called with interrupts disabled.