Function init

Source
pub(super) unsafe fn init()
Expand description

ยงSafety

The caller needs to ensure that gdt::init has been called before, so the segment selectors used in the syscall and sysret instructions have been properly initialized. The segment selectors used in the syscall and sysret instructions should have been properly initialized.

  • This function should be executed after gdt::init.