Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 11:11:04 GMT
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8b1839548750 - main - loader.efi: disable workaround for serial console on non-x86
Message-ID:  <202101121111.10CBB4Qf055780@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tsoome:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b18395487506d3602205e5844e0b67ba0c0dc80

commit 8b18395487506d3602205e5844e0b67ba0c0dc80
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2021-01-11 20:07:06 +0000
Commit:     Toomas Soome <tsoome@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101121111.10CBB4Qf055780>