diff options
Diffstat (limited to 'bootloader/src/main.rs')
| -rw-r--r-- | bootloader/src/main.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bootloader/src/main.rs b/bootloader/src/main.rs new file mode 100644 index 0000000..87432af --- /dev/null +++ b/bootloader/src/main.rs @@ -0,0 +1,15 @@ +#![no_main] +#![no_std] + +use core::time::Duration; +use log::info; +use uefi::prelude::*; + +#[entry] +fn main() -> Status { + uefi::helpers::init().unwrap(); + info!("Hello world!"); + boot::stall(Duration::from_secs(10)); + Status::SUCCESS +} + |
