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

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
rGe20b74da223d: bhyve: Move vcpu initialization into a MD source file
Branches
Unknown
Tags
Unknown