1 2 3 4 5 6 7 8 9 10 11 12 13
mod boot; /// Defines the entry point for the kernel. Takes as argument the name of the function used as entry-point #[macro_export] macro_rules! entry_point { ($path:path) => { #[no_mangle] unsafe fn kernel_entry() -> ! { $path(); } }; }