git: 8b1839548750 - main - loader.efi: disable workaround for serial console on non-x86
Toomas Soome
tsoome at FreeBSD.org
Tue Jan 12 11:11:04 UTC 2021
The branch main has been updated by tsoome:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b18395487506d3602205e5844e0b67ba0c0dc80
commit 8b18395487506d3602205e5844e0b67ba0c0dc80
Author: Toomas Soome <tsoome at FreeBSD.org>
AuthorDate: 2021-01-11 20:07:06 +0000
Commit: Toomas Soome <tsoome at FreeBSD.org>
CommitDate: 2021-01-12 11:09:11 +0000
loader.efi: disable workaround for serial console on non-x86
As efi console is drawn and with functional comconsole driver,
we can use proper terminal emulator on efi framebuffer console.
---
stand/efi/libefi/efi_console.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stand/efi/libefi/efi_console.c b/stand/efi/libefi/efi_console.c
index 533f4458c15b..1ed2be15d3d6 100644
--- a/stand/efi/libefi/efi_console.c
+++ b/stand/efi/libefi/efi_console.c
@@ -929,7 +929,11 @@ cons_update_mode(bool use_gfx_mode)
* also just use the old emulator. RB_MULTIPLE also implies
* we're using a serial console.
*/
+#if defined(__i386__) || defined(__amd64__)
mode = parse_uefi_con_out();
+#else
+ mode = 0;
+#endif
if ((mode & (RB_SERIAL | RB_MULTIPLE)) == 0) {
conout->EnableCursor(conout, FALSE);
gfx_state.tg_cursor_visible = false;
More information about the dev-commits-src-main
mailing list