Split vmd into mi/md parts.
authordv <dv@openbsd.org>
Wed, 10 Jul 2024 09:27:32 +0000 (09:27 +0000)
committerdv <dv@openbsd.org>
Wed, 10 Jul 2024 09:27:32 +0000 (09:27 +0000)
commitc4fd4c5b29fc2f24970f3ce1ba4877296028afcf
tree11ce13c191048ce1b72bdda6b036c6c18ad1bffe
parent2889c8c8b2b0ea172361d6a867e520a23134027d
Split vmd into mi/md parts.

Makes as much of the core of vmd mi, pushing x86-isms into separate
compilation units. Adds build logic for arm64, but no emulation
yet. (You can build vmd, but it won't have a vmm device to connect
to.)

Some more cleanup probably needed around interrupt controller
abstraction, but that can come as we implement more than the i8259.

ok mlarkin@
16 files changed:
sys/arch/amd64/include/vmmvar.h
usr.sbin/vmctl/Makefile
usr.sbin/vmd/Makefile
usr.sbin/vmd/i8253.c
usr.sbin/vmd/mc146818.c
usr.sbin/vmd/mmio.c
usr.sbin/vmd/ns8250.c
usr.sbin/vmd/pci.c
usr.sbin/vmd/pci.h
usr.sbin/vmd/vioblk.c
usr.sbin/vmd/virtio.c
usr.sbin/vmd/virtio.h
usr.sbin/vmd/vm.c
usr.sbin/vmd/vmd.c
usr.sbin/vmd/vmd.h
usr.sbin/vmd/vmm.c