SHA256
1
0
forked from pool/elilo
elilo/elilo-clean-console.diff
2013-10-24 18:32:17 +00:00

17 lines
413 B
Diff

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