Module Name: src Committed By: jmcneill Date: Sat Sep 15 16:41:57 UTC 2018
Modified Files: src/sys/stand/efiboot: efiboot.c Log Message: Claer the screen at startup To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/stand/efiboot/efiboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/stand/efiboot/efiboot.c diff -u src/sys/stand/efiboot/efiboot.c:1.6 src/sys/stand/efiboot/efiboot.c:1.7 --- src/sys/stand/efiboot/efiboot.c:1.6 Sun Sep 9 18:00:20 2018 +++ src/sys/stand/efiboot/efiboot.c Sat Sep 15 16:41:57 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: efiboot.c,v 1.6 2018/09/09 18:00:20 jmcneill Exp $ */ +/* $NetBSD: efiboot.c,v 1.7 2018/09/15 16:41:57 jmcneill Exp $ */ /*- * Copyright (c) 2018 Jared McNeill <jmcne...@invisible.ca> @@ -52,6 +52,8 @@ efi_main(EFI_HANDLE imageHandle, EFI_SYS InitializeLib(imageHandle, systemTable); (void)uefi_call_wrapper(ST->ConOut->Reset, 2, ST->ConOut, FALSE); + if (ST->ConOut->ClearScreen) + (void)uefi_call_wrapper(ST->ConOut->ClearScreen, 1, ST->ConOut); status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, sz, &heap_start); if (EFI_ERROR(status))