1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/kernel/src/kmain.rs

10 lines
255 B
Rust

//! AbleOS Kernel Entrypoint
pub fn kmain(cmdline: &str, initrd: Option<&'static [u8]>) -> ! {
log::debug!("Entered kmain");
log::info!("Cmdline: \"{cmdline}\"");
let initrd = initrd.expect("no initrd found");
crate::arch::sloop()
}