]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336431: stand: Fix UEFI console scrolling
authorkevans <kevans@FreeBSD.org>
Thu, 21 Feb 2019 02:50:45 +0000 (02:50 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 21 Feb 2019 02:50:45 +0000 (02:50 +0000)
commit929f385c14faefb438e421b7b9688ee7b9b0df9b
treeaaf8b2c4bd9ee5fb10a39cc429d1fe1b3f4257e5
parentcaebe0d3f2462299181f1306de67b3feafcd02b4
MFC r336431: stand: Fix UEFI console scrolling

Remove bogus attempt to simulate scrolling. It's not needed and messes
up serial output. Setting the cursor position after every character is
inefficient, and causes all lines to be over-printed in the serial
console for the boot loader. Allow the terminal to do the emulation.

This isn't completely perfect when the size of the terminal attached
to the serial port isn't the same as 80x25 to match the viedoe console
(or whatever the video console is). While imperfect still, these
changes make it much better.

This makes the serial port useful with UEFI.
stand/efi/libefi/efi_console.c