[syslinux:firmware] efi: restore console before invoking handover_boot()

syslinux-bot for Matt Fleming matt.fleming at intel.com
Tue Jul 9 02:42:07 PDT 2013


Commit-ID:  154621d7a12a6432e17e948b12d8dabcf3c12435
Gitweb:     http://www.syslinux.org/commit/154621d7a12a6432e17e948b12d8dabcf3c12435
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Tue, 9 Jul 2013 10:30:15 +0100
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Tue, 9 Jul 2013 10:30:15 +0100

efi: restore console before invoking handover_boot()

Otherwise the kernel may print "invisible" characters on the serial
console, because it doesn't reset the output device's character
attributes.

Signed-off-by: Matt Fleming <matt.fleming at intel.com>

---
 efi/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/efi/main.c b/efi/main.c
index 6c45596..7424c49 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -787,6 +787,7 @@ static void handover_boot(struct linux_header *hdr, struct boot_params *bp)
 	    func = efi_handover_64;
     }
 
+    efi_console_restore();
     func(image_handle, ST, bp, address);
 }
 


More information about the Syslinux-commits mailing list