HomeFreeBSD

bhyve: Move most early initialization into an MD routine

Description

bhyve: Move most early initialization into an MD routine

Prior to initializing PCI devices, main() calls a number of
initialization routines, many of which are amd64-specific. Move this
list of calls to bhyverun_machdep.c. Similarly, add an MD function to
handle late initialization.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 1 week
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40989

(cherry picked from commit f82af74c76030029d4d8af95c29f2036a20796a4)

Details

Provenance
markjAuthored on Oct 4 2023, 4:27 PM
Reviewer
corvink
Differential Revision
D40989: bhyve: Move most early initialization into an MD routine
Parents
rGcd60f1af560a: bhyve: Move vcpu initialization into a MD source file
Branches
Unknown
Tags
Unknown