Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/stand/efiboot Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/5ff91992479c
branches:  netbsd-9
changeset: 458407:5ff91992479c
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 26 19:15:18 2019 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #249):

        sys/stand/efiboot/efiboot.c: revision 1.17

Do a full reset of the console at startup

diffstat:

 sys/stand/efiboot/efiboot.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a3b59e1a49b5 -r 5ff91992479c sys/stand/efiboot/efiboot.c
--- a/sys/stand/efiboot/efiboot.c       Thu Sep 26 19:13:14 2019 +0000
+++ b/sys/stand/efiboot/efiboot.c       Thu Sep 26 19:15:18 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efiboot.c,v 1.16 2019/04/21 22:30:41 thorpej Exp $ */
+/* $NetBSD: efiboot.c,v 1.16.4.1 2019/09/26 19:15:18 martin Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -68,7 +68,10 @@
 
        InitializeLib(imageHandle, systemTable);
 
-       (void)uefi_call_wrapper(ST->ConOut->Reset, 2, ST->ConOut, FALSE);
+       uefi_call_wrapper(ST->ConOut->Reset, 2, ST->ConOut, TRUE);
+       uefi_call_wrapper(ST->ConOut->SetMode, 2, ST->ConOut, 0);
+       uefi_call_wrapper(ST->ConOut->EnableCursor, 2, ST->ConOut, TRUE);
+       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