mirror of
https://github.com/limine-bootloader/limine
synced 2025-02-08 05:04:14 +03:00
lib/panic: efi: Disallow returning to menu after exiting boot services
This commit is contained in:
parent
223a47b8e8
commit
a62f81d2ee
@ -48,6 +48,8 @@ noreturn void panic(bool allow_menu, const char *fmt, ...) {
|
||||
if (
|
||||
#if defined (BIOS)
|
||||
stage3_loaded == true &&
|
||||
#elif defined (UEFI)
|
||||
efi_boot_services_exited == false &&
|
||||
#endif
|
||||
allow_menu == true) {
|
||||
print("Press a key to return to menu.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user