aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-09 10:30:15 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-09 10:30:15 +0100
commit154621d7a12a6432e17e948b12d8dabcf3c12435 (patch)
tree9afab16413cbc517ae5a3babee2b370bbafff27c
parentfa03fdebfd8d051d80a96282466b76593ed1d468 (diff)
downloadsyslinux-154621d7a12a6432e17e948b12d8dabcf3c12435.tar.gz
syslinux-154621d7a12a6432e17e948b12d8dabcf3c12435.tar.xz
syslinux-154621d7a12a6432e17e948b12d8dabcf3c12435.zip
efi: restore console before invoking handover_boot()syslinux-6.02-pre3
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@intel.com>
-rw-r--r--efi/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/efi/main.c b/efi/main.c
index 6c45596c..7424c495 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);
}