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

10 lines
255 B
Rust
Raw Normal View History

2022-12-06 18:10:38 -06:00
//! 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");
2022-12-07 18:26:43 -06:00
crate::arch::sloop()
2022-12-06 18:10:38 -06:00
}