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>
Sun, 21 Feb 2021 10:45:36 +0000 (12:45 +0200)
commit61c50cbc096d28e44cb8b627e524ae58158c423a
tree7de2c477d217127c5296641a2f2f3c025743acd3
parentf11e9f325aee3459fee94f3a660a8e6c1a25c2ac
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.

Reported by: Kamigishi Rei
MFC after: 3 days
stand/efi/libefi/efi_console.c
stand/i386/libi386/vidconsole.c