diff --git a/kernel/src/boot/Init.cpp b/kernel/src/boot/Init.cpp index 2c413a02..69e40cb9 100644 --- a/kernel/src/boot/Init.cpp +++ b/kernel/src/boot/Init.cpp @@ -15,8 +15,7 @@ void Init::check_magic() if (memcmp(bootboot.magic, BOOTBOOT_MAGIC, 4)) { kerrorln("ERROR: Invalid magic value from bootloader"); - for (;;) - ; + CPU::efficient_halt(); } }