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

switch_to_kernel

Function switch_to_kernel 

Source
pub fn switch_to_kernel()
Expand description

Switch to the full kernel page table.

Called on kernel entry (syscall, interrupt, exception). Restores the full CR3 so the kernel has access to all its mappings.