Home
last modified time | relevance | path

Searched refs:inst_emul (Results 1 – 13 of 13) sorted by relevance

/freebsd/usr.sbin/bhyve/aarch64/
H A Dvmexit.c68 vie = &vme->u.inst_emul.vie; in vmexit_inst_emul()
70 err = emulate_mem(vcpu, vme->u.inst_emul.gpa, vie, in vmexit_inst_emul()
71 &vme->u.inst_emul.paging); in vmexit_inst_emul()
75 vme->u.inst_emul.gpa); in vmexit_inst_emul()
/freebsd/usr.sbin/bhyve/amd64/
H A Dvmexit.c353 vie = &vme->u.inst_emul.vie; in vmexit_inst_emul()
362 mode = vme->u.inst_emul.paging.cpu_mode; in vmexit_inst_emul()
363 cs_d = vme->u.inst_emul.cs_d; in vmexit_inst_emul()
371 err = emulate_mem(vcpu, vme->u.inst_emul.gpa, vie, in vmexit_inst_emul()
372 &vme->u.inst_emul.paging); in vmexit_inst_emul()
376 vme->u.inst_emul.gpa); in vmexit_inst_emul()
/freebsd/usr.sbin/bhyve/riscv/
H A Dvmexit.c82 vie = &vme->u.inst_emul.vie; in vmexit_inst_emul()
84 err = emulate_mem(vcpu, vme->u.inst_emul.gpa, vie, in vmexit_inst_emul()
85 &vme->u.inst_emul.paging); in vmexit_inst_emul()
89 vme->u.inst_emul.gpa); in vmexit_inst_emul()
/freebsd/sys/amd64/vmm/amd/
H A Dsvm.c868 paging = &vmexit->u.inst_emul.paging; in svm_handle_inst_emul()
871 vmexit->u.inst_emul.gpa = gpa; in svm_handle_inst_emul()
872 vmexit->u.inst_emul.gla = VIE_INVALID_GLA; in svm_handle_inst_emul()
880 vmexit->u.inst_emul.cs_base = seg.base; in svm_handle_inst_emul()
881 vmexit->u.inst_emul.cs_d = 0; in svm_handle_inst_emul()
885 vmexit->u.inst_emul.cs_base = seg.base; in svm_handle_inst_emul()
890 vmexit->u.inst_emul.cs_d = (seg.attrib & VMCB_CS_ATTRIB_D) ? in svm_handle_inst_emul()
894 vmexit->u.inst_emul.cs_base = 0; in svm_handle_inst_emul()
895 vmexit->u.inst_emul.cs_d = 0; in svm_handle_inst_emul()
909 vie_init(&vmexit->u.inst_emul.vie, inst_bytes, inst_len); in svm_handle_inst_emul()
/freebsd/sys/riscv/vmm/
H A Dvmm_riscv.c428 vme_ret->u.inst_emul.gpa = (vme_ret->htval << 2) | in riscv_gen_inst_emul_data()
432 reg_num, vme_ret->u.inst_emul.gpa); in riscv_gen_inst_emul_data()
434 vie = &vme_ret->u.inst_emul.vie; in riscv_gen_inst_emul_data()
H A Dvmm.c875 vie = &vme->u.inst_emul.vie; in vm_handle_inst_emul()
876 paging = &vme->u.inst_emul.paging; in vm_handle_inst_emul()
878 fault_ipa = vme->u.inst_emul.gpa; in vm_handle_inst_emul()
/freebsd/sys/arm64/vmm/
H A Dvmm_arm64.c603 vme_ret->u.inst_emul.gpa = in arm64_gen_inst_emul_data()
606 vme_ret->u.inst_emul.gpa += hypctx->exit_info.far_el2 & in arm64_gen_inst_emul_data()
612 vie = &vme_ret->u.inst_emul.vie; in arm64_gen_inst_emul_data()
618 paging = &vme_ret->u.inst_emul.paging; in arm64_gen_inst_emul_data()
H A Dvmm.c1149 vie = &vme->u.inst_emul.vie; in vm_handle_inst_emul()
1150 paging = &vme->u.inst_emul.paging; in vm_handle_inst_emul()
1152 fault_ipa = vme->u.inst_emul.gpa; in vm_handle_inst_emul()
/freebsd/sys/amd64/vmm/intel/
H A Dvmx.c2079 paging = &vmexit->u.inst_emul.paging; in vmexit_inst_emul()
2083 vmexit->u.inst_emul.gpa = gpa; in vmexit_inst_emul()
2084 vmexit->u.inst_emul.gla = gla; in vmexit_inst_emul()
2088 vmexit->u.inst_emul.cs_base = vmcs_read(VMCS_GUEST_CS_BASE); in vmexit_inst_emul()
2089 vmexit->u.inst_emul.cs_d = 0; in vmexit_inst_emul()
2093 vmexit->u.inst_emul.cs_base = vmcs_read(VMCS_GUEST_CS_BASE); in vmexit_inst_emul()
2095 vmexit->u.inst_emul.cs_d = SEG_DESC_DEF32(csar); in vmexit_inst_emul()
2098 vmexit->u.inst_emul.cs_base = 0; in vmexit_inst_emul()
2099 vmexit->u.inst_emul.cs_d = 0; in vmexit_inst_emul()
2102 vie_init(&vmexit->u.inst_emul.vie, NULL, 0); in vmexit_inst_emul()
/freebsd/sys/riscv/include/
H A Dvmm.h311 } inst_emul; member
/freebsd/sys/amd64/vmm/
H A Dvmm.c1668 gla = vme->u.inst_emul.gla; in vm_handle_inst_emul()
1669 gpa = vme->u.inst_emul.gpa; in vm_handle_inst_emul()
1670 cs_base = vme->u.inst_emul.cs_base; in vm_handle_inst_emul()
1671 cs_d = vme->u.inst_emul.cs_d; in vm_handle_inst_emul()
1672 vie = &vme->u.inst_emul.vie; in vm_handle_inst_emul()
1673 paging = &vme->u.inst_emul.paging; in vm_handle_inst_emul()
/freebsd/sys/arm64/include/
H A Dvmm.h358 } inst_emul; member
/freebsd/sys/amd64/include/
H A Dvmm.h712 } inst_emul; member