]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do the linear address calculation for the ins/outs emulation using a new
authorNeel Natu <neel@FreeBSD.org>
Sun, 25 May 2014 00:57:24 +0000 (00:57 +0000)
committerNeel Natu <neel@FreeBSD.org>
Sun, 25 May 2014 00:57:24 +0000 (00:57 +0000)
commit5382c19d8173e50a5590ba6997bdca26a4cfe74c
tree88b474b3403d076cec0ddc0873ec0df3dbc90f68
parent497dcf4c36640e61e56eb6f77a29cfa923edbf82
Do the linear address calculation for the ins/outs emulation using a new
API function 'vie_calculate_gla()'.

While the current implementation is simplistic it forms the basis of doing
segmentation checks if the guest is in 32-bit protected mode.
sys/amd64/include/vmm.h
sys/amd64/include/vmm_instruction_emul.h
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/vmm_instruction_emul.c
sys/amd64/vmm/vmm_ioport.c
usr.sbin/bhyve/inout.c