]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: fall back to term_emu on efi console with serial backend
authortsoome <tsoome@FreeBSD.org>
Sat, 2 Nov 2019 09:50:36 +0000 (09:50 +0000)
committertsoome <tsoome@FreeBSD.org>
Sat, 2 Nov 2019 09:50:36 +0000 (09:50 +0000)
commit615ed873f7cf801306ff577bf438a56e5986599e
treefa40f56f9f91e1d4ad4ba132a19119df590ace1c
parenta4f7035c09eaddb6e1e7bacb159910f3bae2d8f7
loader: fall back to term_emu on efi console with serial backend

In case of efi console having serial backend (video + serial or only serial),
we need to stick with old emulator till we can draw console.

Eventually we would need to get console terminal emulator to be removed
from serial console because the serial link already has the terminal.

However, we need to implement comconsole on all efi platforms first, then
we need the ability to draw console, so we do not have to use SimpleTextOutput
protocol (which will write both on video and serial in case of multiplexed
ComOut).

Differential Revision: https://reviews.freebsd.org/D22161
stand/efi/include/efilib.h
stand/efi/libefi/Makefile
stand/efi/libefi/efi_console.c
stand/efi/loader/main.c