summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-01-06 15:38:39 +0000
committeremaste <emaste@FreeBSD.org>2016-01-06 15:38:39 +0000
commit89b04b0f994b48bffe60ad6b9c01538485a587d8 (patch)
treedd351983a1ce8d25ab4eaca1d613ace376c5c399 /sys/boot/efi/loader
parent35c3347b0a722840298b52cdbb7abfc66fea7a87 (diff)
downloadFreeBSD-src-89b04b0f994b48bffe60ad6b9c01538485a587d8.zip
FreeBSD-src-89b04b0f994b48bffe60ad6b9c01538485a587d8.tar.gz
loader.efi: add terminal emulation support
This is based on the vidconsole implementation. Submitted by: Toomas Soome <tsoome@me.com> Reviewed by: adrian MFC after: 2 weeks Relnotes: Yes Differential Revision: https://reviews.freebsd.org/D4797
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 7a40709..01123b3 100644
--- a/sys/boot/efi/loader/main.c
+++ b/sys/boot/efi/loader/main.c
@@ -334,6 +334,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;
@@ -355,7 +356,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