Skip to main content

kmain

Function kmain 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn kmain() -> !
Expand description

Kernel entry point called by Limine

Limine guarantees:

  • We’re in 64-bit long mode
  • Paging is enabled with identity mapping + higher half
  • Interrupts are disabled
  • Stack is set up
  • All Limine requests have been answered