summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-01-20 16:53:38 +0000
committeremaste <emaste@FreeBSD.org>2016-01-20 16:53:38 +0000
commitedbebd2db4dd4cdb00b19868fb4fc7b70cb3d25d (patch)
tree06df52872e8ae221499c2962cbde02e9427ba526 /sys/boot/efi/loader
parenta418893174f9980f3b59db900ccc099afa11a46e (diff)
downloadFreeBSD-src-edbebd2db4dd4cdb00b19868fb4fc7b70cb3d25d.zip
FreeBSD-src-edbebd2db4dd4cdb00b19868fb4fc7b70cb3d25d.tar.gz
MFC r293233: loader.efi: add terminal emulation support
This is based on the vidconsole implementation. Submitted by: Toomas Soome <tsoome@me.com> Relnotes: Yes
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r--sys/boot/efi/loader/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c
index b61c32c..52bab26 100644
--- a/sys/boot/efi/loader/main.c
+++ b/sys/boot/efi/loader/main.c
@@ -331,6 +331,7 @@ command_mode(int argc, char *argv[])
char rowenv[8];
EFI_STATUS status;
SIMPLE_TEXT_OUTPUT_INTERFACE *conout;
+ extern void HO(void);
conout = ST->ConOut;
@@ -352,7 +353,7 @@ command_mode(int argc, char *argv[])
}
sprintf(rowenv, "%u", (unsigned)rows);
setenv("LINES", rowenv, 1);
-
+ HO(); /* set cursor */
return (CMD_OK);
}
OpenPOWER on IntegriCloud