]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vt: use TERMINAL_DECLARE_EARLY() macro
authorMitchell Horne <mhorne@FreeBSD.org>
Mon, 20 Sep 2021 19:50:04 +0000 (16:50 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 6 May 2022 17:24:01 +0000 (14:24 -0300)
commitff1c8af8c34965cc13e53f8290adc5a2fe09501b
treee6154bda6314e87028fee851c99c1226047b8726
parent0c0bfa0f6f2f3415f139aa65019f43f498883a89
vt: use TERMINAL_DECLARE_EARLY() macro

It simplifies the declaration of the driver structures a little. There
are no current consumers of this macro, in fact it looks like it was
added for exactly this purpose.

This decreases the scope of some variables, so rework the initialization
in vt_init_logos() such that it doesn't require them.

No functional change intended.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34820
sys/dev/vt/vt.h
sys/dev/vt/vt_core.c
sys/dev/vt/vt_cpulogos.c