summaryrefslogtreecommitdiff
path: root/kernel/src/main.rs
blob: bfa20e6c350b2a247e5a693943dd8f6fb6f61c17 (plain)
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);