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

selectors

Function selectors 

Source
pub fn selectors() -> &'static Selectors
Expand description

Returns a reference to the GDT selectors (kernel and user mode).

Must only be called after init() has been called. The lazy_static ensures the GDT is initialized on first access.