]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: autoload_font will hung loader when there is no local console
authorToomas Soome <tsoome@FreeBSD.org>
Sun, 21 Feb 2021 10:32:18 +0000 (12:32 +0200)
committerToomas Soome <tsoome@FreeBSD.org>
Thu, 25 Feb 2021 16:05:24 +0000 (18:05 +0200)
commite680f3c0bd2b6c6d3c76588c7693294d49fa965b
tree749a1decdfdaa791072bb0565e3be067300703c1
parent5ad3a9988cc89e41f4c471d7ca5d8b19d216144f
loader: autoload_font will hung loader when there is no local console

If we start with console set to comconsole, the local
console (vidconsole, efi) is never initialized and attempt to
use the data can render the loader hung.

(cherry picked from commit 61c50cbc096d28e44cb8b627e524ae58158c423a)

Reported by: Kamigishi Rei
Approved by: re (gjb)
stand/efi/libefi/efi_console.c
stand/i386/libi386/vidconsole.c