mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-12 01:33:59 +03:00
panic: Add missing getchar() before returning to EFI
This commit is contained in:
parent
0d3d667ba8
commit
40e65eddb1
@ -29,6 +29,7 @@ __attribute__((noreturn)) void panic(const char *fmt, ...) {
|
||||
rm_hcf();
|
||||
#elif defined (uefi)
|
||||
print("Press [ENTER] to return to firmware.");
|
||||
while (getchar() != '\n');
|
||||
fb_clear(&fbinfo);
|
||||
|
||||
// release all uefi memory and return to firmware
|
||||
|
Loading…
Reference in New Issue
Block a user