]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move setting of console earlier in boot.
authorimp <imp@FreeBSD.org>
Mon, 22 Apr 2019 18:33:32 +0000 (18:33 +0000)
committerimp <imp@FreeBSD.org>
Mon, 22 Apr 2019 18:33:32 +0000 (18:33 +0000)
commitb00e0c706c0c6a2918d14b1b3c4c5a4f8e2fedb2
tree024c3d30e8a1a93357ca4610c3e321309e1ad931
parent3c3251f12d64a74a44389d377b6842368a4add5e
Move setting of console earlier in boot.

There's no reason we can't setup the console first thing after the
arch flags are setup. We set it undconditionally to efi. This is a
good default, and will get us error messages to at least the efi
console no matter what. This will also prime the pump so that as other
variables are set, they will take effect and the console will be
correct as soon as those env vars are set. Also remove the redundant
setting of the console to efi when we know the console is efi.

Differential Revision: https://reviews.freebsd.org/D20014
stand/efi/loader/main.c