panic: Add missing getchar() before returning to EFI

This commit is contained in:
mintsuki 2021-05-19 08:52:21 +02:00
parent 0d3d667ba8
commit 40e65eddb1

View File

@ -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