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

on_syscall_entry

Function on_syscall_entry 

Source
pub fn on_syscall_entry()
Expand description

Called at the start of every syscall handler.

Currently a no-op because the syscall entry assembly switches CR3 before reaching Rust code. This hook exists for future use (e.g., per-CPU KPTI state tracking, telemetry).