⚠️ VeridianOS Kernel Documentation
- This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise.
no_std
get_kernel_stack
veridian_
kernel
0.25.2
In veridian_
kernel::
arch::
x86_
64::
gdt
veridian_kernel
::
arch
::
x86_64
::
gdt
Function
get_
kernel_
stack
Copy item path
Source
pub fn get_kernel_stack() -> u64
Expand description
Read the current kernel stack pointer from the TSS (RSP0).