HomeFreeBSD

vt: use TERMINAL_DECLARE_EARLY() macro

Description

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

Details

Provenance
mhorneAuthored on Sep 20 2021, 7:50 PM
Differential Revision
D34820: vt: use TERMINAL_DECLARE_EARLY() macro
Parents
rG0c0bfa0f6f2f: Fix ofw_bus_iommu_map() since there is no limit on amount of maps
Branches
Unknown
Tags
Unknown