pub fn switch_to_user()Expand description
Switch to the shadow (user-mode) page table.
Called just before returning to Ring 3 (e.g., after syscall completion or interrupt return). Loads the shadow CR3 which lacks kernel mappings.
pub fn switch_to_user()Switch to the shadow (user-mode) page table.
Called just before returning to Ring 3 (e.g., after syscall completion or interrupt return). Loads the shadow CR3 which lacks kernel mappings.