summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-03-18 15:11:20 +0000
committerAda Christine <adachristine18@gmail.com>2022-03-18 15:11:20 +0000
commit66d66de4e0050ae00a55ae7003482f8f8af95d97 (patch)
tree145f5413fa6ad30e58f076dab8be8274c6251a91
parent850bc5ab24390abda7b0334caf3b127a5240dcd4 (diff)
clear and reset the output console
-rw-r--r--loader/main_efi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/main_efi.c b/loader/main_efi.c
index 3b50c36..5e2a91d 100644
--- a/loader/main_efi.c
+++ b/loader/main_efi.c
@@ -178,6 +178,7 @@ EFI_STATUS efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
}
else
{
+ gST->ConOut->Reset(gST->ConOut, FALSE);
gBS->SetMem(linebuf, EFI_PAGE_SIZE, 0);
linebuf_ptr = linebuf;
}