]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add emulation of the "outsb" instruction. NetBSD guests use this to write to
authorNeel Natu <neel@FreeBSD.org>
Fri, 23 May 2014 05:15:17 +0000 (05:15 +0000)
committerNeel Natu <neel@FreeBSD.org>
Fri, 23 May 2014 05:15:17 +0000 (05:15 +0000)
commitd17b5104a9434afa07c3cb2b6a93caa892ab3573
treebe2b310758f6bb7d7e91c4b4594bc520fe6c5898
parentc5e423dd2e97e7672b5f8b84ab15ccfa3ca1e70d
Add emulation of the "outsb" instruction. NetBSD guests use this to write to
the UART FIFO.

The emulation is constrained in a number of ways: 64-bit only, doesn't check
for all exception conditions, limited to i/o ports emulated in userspace.

Some of these constraints will be relaxed in followup commits.

Requested by: grehan
Reviewed by: tychon (partially and a much earlier version)
sys/amd64/include/vmm.h
sys/amd64/include/vmm_instruction_emul.h
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_instruction_emul.c
sys/amd64/vmm/vmm_ioport.c
sys/amd64/vmm/vmm_ioport.h
sys/amd64/vmm/vmm_ktr.h
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/inout.c
usr.sbin/bhyve/inout.h