vmd(8): import mmio decode and emulation, disabled for now.
authordv <dv@openbsd.org>
Thu, 10 Nov 2022 11:46:39 +0000 (11:46 +0000)
committerdv <dv@openbsd.org>
Thu, 10 Nov 2022 11:46:39 +0000 (11:46 +0000)
commitbee700365812940b1368f1b028399959bf15b43d
treefb222815679180cc275f5d402eaee1f717c77ad0
parent7bd61a10996d0005a65b5d441a53bc68cdf6bc62
vmd(8): import mmio decode and emulation, disabled for now.

The initial mmio support for vmd adds support for only specific MOV
and MOVZX instructions. Plan is to begin iterating in-tree on other
missing pieces. All functionality is gated behind an #if for now.

Only change to vmm(4) is reordering register #define's in vmmvar.h.

ok mlarkin@
sys/arch/amd64/include/vmmvar.h
usr.sbin/vmd/Makefile
usr.sbin/vmd/mmio.c [new file with mode: 0644]
usr.sbin/vmd/mmio.h [new file with mode: 0644]
usr.sbin/vmd/vm.c