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

load_context

Function load_context 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn load_context(context: *const X86_64Context)
Expand description

Load context for first time (no previous context to save)

§Safety

This function manipulates CPU state directly and must be called with interrupts disabled.