SHA256
1
0
forked from pool/elilo
elilo/elilo-clean-console.diff

17 lines
413 B
Diff
Raw Normal View History

---
elilo.c | 3 +++
1 file changed, 3 insertions(+)
--- a/elilo.c
+++ b/elilo.c
@@ -483,6 +483,9 @@ efi_main (EFI_HANDLE image, EFI_SYSTEM_T
*/
uefi_call_wrapper(BS->SetWatchdogTimer, 4, 0, 0x0, 0, NULL);
+ /* start a clean console */
+ uefi_call_wrapper(systab->ConOut->Reset, 2, systab->ConOut, FALSE);
+
/* initialize memory allocator */
if (alloc_init() == -1) return EFI_LOAD_ERROR;