⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

switch_context

Function switch_context 

Source
pub fn switch_context(from: &mut X86_64Context, to: &X86_64Context)
Expand description

Switch context using the ThreadContext interface. Called from crate::arch::context::switch_context().