axhal::arch

Function tss_set_rsp0

Source
pub unsafe fn tss_set_rsp0(rsp0: VirtAddr)
Expand description

Sets the stack pointer for privilege level 0 (RSP0) of the current TSS.

ยงSafety

Must be called after initialization and preemption is disabled.