Searched refs:inst_length (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/amd64/include/ |
| H A D | vmm_instruction_emul.h | 86 uint64_t rip, int inst_length, struct vie *vie, 109 void vie_init(struct vie *vie, const char *inst_bytes, int inst_length);
|
| H A D | vmm.h | 674 int inst_length; /* 0 means unknown */ member 719 int inst_length; member
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_instruction_emul.c | 2015 vie_init(struct vie *vie, const char *inst_bytes, int inst_length) in vie_init() argument 2017 KASSERT(inst_length >= 0 && inst_length <= VIE_INST_SIZE, in vie_init() 2022 if (inst_length != 0) in vie_init() 2023 memcpy(vie->inst, inst_bytes, inst_length); in vie_init() 2024 vie->num_valid = inst_length; in vie_init() 2287 uint64_t rip, int inst_length, struct vie *vie, int *faultptr) in vmm_fetch_instruction() argument 2292 if (inst_length > VIE_INST_SIZE) in vmm_fetch_instruction() 2293 panic("vmm_fetch_instruction: invalid length %d", inst_length); in vmm_fetch_instruction() 2296 error = vm_copy_setup(vm, vcpuid, paging, rip, inst_length, prot, in vmm_fetch_instruction() 2301 vm_copyin(vm, vcpuid, copyinfo, vie->inst, inst_length); in vmm_fetch_instruction() [all …]
|
| H A D | vmm.c | 1428 KASSERT(vme->inst_length == 0, ("%s: invalid inst_length %d", in vm_handle_paging() 1429 __func__, vme->inst_length)); in vm_handle_paging() 1476 __func__, vme->inst_length)); in vm_handle_inst_emul() 1511 vme->inst_length = vie->num_processed; in vm_handle_inst_emul() 1646 vmexit->inst_length = 0; in vm_exit_suspended() 1658 vmexit->inst_length = 0; in vm_exit_debug() 1671 vmexit->inst_length = 0; in vm_exit_rendezvous() 1683 vmexit->inst_length = 0; in vm_exit_reqidle() 1695 vmexit->inst_length = 0; in vm_exit_astpending() 1754 vcpu->nextrip = vme->rip + vme->inst_length; in vm_run() [all …]
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | svm.c | 1346 vmexit->inst_length = nrip_valid(code) ? ctrl->nrip - state->rip : 0; in svm_vmexit() 1363 KASSERT(vmexit->inst_length >= 0 && vmexit->inst_length <= 15, in svm_vmexit() 1365 vmexit->inst_length, code, info1, info2)); in svm_vmexit() 1375 vmexit->inst_length = 0; in svm_vmexit() 1437 vmexit->inst_length, idtvec); in svm_vmexit() 1438 vmexit->inst_length = 0; in svm_vmexit() 1445 KASSERT(vmexit->inst_length == 0, ("invalid inst_length (%d) " in svm_vmexit() 1447 vmexit->inst_length, idtvec)); in svm_vmexit() 1562 vmexit->rip, vmexit->inst_length); in svm_vmexit() 1565 vmexit->rip += vmexit->inst_length; in svm_vmexit() [all …]
|
| /f-stack/freebsd/amd64/vmm/intel/ |
| H A D | vmx.c | 2038 vmexit->inst_length = 0; in vmexit_inst_emul() 2446 vmexit->inst_length = 0; in vmx_exit_process() 2532 vmexit->inst_length = 0; in vmx_exit_process() 2657 vmexit->u.bpt.inst_length = vmexit->inst_length; in vmx_exit_process() 2658 vmexit->inst_length = 0; in vmx_exit_process() 2703 vmexit->inst_length = 0; in vmx_exit_process() 2742 vmexit->inst_length = 0; in vmx_exit_process() 2763 vmexit->inst_length = 0; in vmx_exit_process() 2797 vmexit->rip += vmexit->inst_length; in vmx_exit_process() 2798 vmexit->inst_length = 0; in vmx_exit_process() [all …]
|