Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/stand/efiboot Claer the screen at startup



details:   https://anonhg.NetBSD.org/src/rev/9ee287f59d1e
branches:  trunk
changeset: 433453:9ee287f59d1e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 15 16:41:57 2018 +0000

description:
Claer the screen at startup

diffstat:

 sys/stand/efiboot/efiboot.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6f6a36f0b642 -r 9ee287f59d1e sys/stand/efiboot/efiboot.c
--- a/sys/stand/efiboot/efiboot.c       Sat Sep 15 16:41:37 2018 +0000
+++ b/sys/stand/efiboot/efiboot.c       Sat Sep 15 16:41:57 2018 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -52,6 +52,8 @@
        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))



Home | Main Index | Thread Index | Old Index