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/bf82ba0e7115
branches:  trunk
changeset: 835892:bf82ba0e7115
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 0f9d07ae562d -r bf82ba0e7115 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