diff --git a/src/main.rs b/src/main.rs index de4694a8..0796ea50 100644 --- a/src/main.rs +++ b/src/main.rs @@ -188,5 +188,9 @@ pub extern "C" fn _start() -> ! { boot_from_device(&mut device); #[allow(clippy::empty_loop)] - loop {} + loop { + unsafe { + asm!("hlt"); + } + } }