1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#![no_std] #![no_main] #![feature(used_with_arg)] // extern crate alloc; use bootloader_api::{BootInfo, BootloaderConfig, entry_point}; use kernel::pm::hcf; const CONFIG: BootloaderConfig = BootloaderConfig::new_default(); fn kmain(boot_info: &'static mut BootInfo) -> ! { hcf() } entry_point!(kmain);