| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | task_switch.c | 273 sup_paging = ts->paging; in read_tss_descriptor() 371 sup_paging = ts->paging; in validate_seg_desc() 505 if (ts->paging.paging_mode != PAGING_MODE_FLAT) { in tss32_restore() 506 if (ts->paging.paging_mode == PAGING_MODE_PAE) { in tss32_restore() 532 ts->paging.cr3 = tss->tss_cr3; in tss32_restore() 591 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK; in tss32_restore() 669 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS, in push_errcode() 711 struct vm_guest_paging *paging, sup_paging; in vmexit_task_switch() local 724 paging = &vmexit->u.task_switch.paging; in vmexit_task_switch() 727 assert(paging->cpu_mode == CPU_MODE_PROTECTED); in vmexit_task_switch() [all …]
|
| H A D | gdb.c | 205 paging->cr3 = regs[1]; in guest_paging_info() 206 paging->cpl = 0; in guest_paging_info() 208 paging->cpu_mode = CPU_MODE_64BIT; in guest_paging_info() 210 paging->cpu_mode = CPU_MODE_PROTECTED; in guest_paging_info() 212 paging->cpu_mode = CPU_MODE_REAL; in guest_paging_info() 214 paging->paging_mode = PAGING_MODE_FLAT; in guest_paging_info() 216 paging->paging_mode = PAGING_MODE_32; in guest_paging_info() 218 paging->paging_mode = PAGING_MODE_64; in guest_paging_info() 220 paging->paging_mode = PAGING_MODE_PAE; in guest_paging_info() 233 struct vm_guest_paging paging; in guest_vaddr2paddr() local [all …]
|
| H A D | mem.c | 228 struct vm_guest_paging *paging; member 238 return (vmm_emulate_instruction(ctx, vcpu, paddr, ema->vie, ema->paging, in emulate_mem_cb() 244 struct vm_guest_paging *paging) in emulate_mem() argument 250 ema.paging = paging; in emulate_mem()
|
| H A D | inout.c | 160 if (vie_calculate_gla(vis->paging.cpu_mode, in emulate_inout() 167 error = vm_copy_setup(ctx, vcpu, &vis->paging, gla, in emulate_inout() 177 if (vie_alignment_check(vis->paging.cpl, bytes, in emulate_inout()
|
| H A D | mem.h | 57 struct vm_guest_paging *paging);
|
| H A D | bhyverun.c | 708 vie, &vmexit->u.inst_emul.paging); in vmexit_inst_emul()
|
| /freebsd-12.1/sys/amd64/vmm/ |
| H A D | vmm_instruction_emul.c | 730 if (vie_canonical_check(paging->cpu_mode, *gla)) { in get_gla() 870 error = vm_gla2gpa(vm, vcpuid, paging, srcaddr, in emulate_movs() 875 error = vm_gla2gpa(vm, vcpuid, paging, dstaddr, in emulate_movs() 1445 if (paging->cpu_mode == CPU_MODE_REAL) { in emulate_stack_op() 1447 } else if (paging->cpu_mode == CPU_MODE_64BIT) { in emulate_stack_op() 1968 usermode = (paging->cpl == 3 ? 1 : 0); in _vm_gla2gpa() 1974 ptpphys = paging->cr3; /* root of the page tables */ in _vm_gla2gpa() 1979 if (vie_canonical_check(paging->cpu_mode, gla)) { in _vm_gla2gpa() 1989 if (paging->paging_mode == PAGING_MODE_FLAT) { in _vm_gla2gpa() 1994 if (paging->paging_mode == PAGING_MODE_32) { in _vm_gla2gpa() [all …]
|
| H A D | vmm.c | 1398 ftype = vme->u.paging.fault_type; in vm_handle_paging() 1405 vme->u.paging.gpa, ftype); in vm_handle_paging() 1409 vme->u.paging.gpa); in vm_handle_paging() 1415 rv = vm_fault(map, vme->u.paging.gpa, ftype, VM_FAULT_NORMAL); in vm_handle_paging() 1418 "ftype = %d", rv, vme->u.paging.gpa, ftype); in vm_handle_paging() 1433 struct vm_guest_paging *paging; in vm_handle_inst_emul() local 1450 paging = &vme->u.inst_emul.paging; in vm_handle_inst_emul() 1451 cpu_mode = paging->cpu_mode; in vm_handle_inst_emul() 1457 error = vmm_fetch_instruction(vm, vcpuid, paging, vme->rip + in vm_handle_inst_emul() 1498 error = vmm_emulate_instruction(vm, vcpuid, gpa, vie, paging, in vm_handle_inst_emul() [all …]
|
| H A D | vmm_dev.c | 694 error = vm_gla2gpa(sc->vm, gg->vcpuid, &gg->paging, gg->gla, in vmmdev_ioctl() 702 error = vm_gla2gpa_nofault(sc->vm, gg->vcpuid, &gg->paging, in vmmdev_ioctl()
|
| /freebsd-12.1/sys/amd64/include/ |
| H A D | vmm_instruction_emul.h | 57 struct vm_guest_paging *paging, mem_region_read_t mrr, 97 int vm_gla2gpa(struct vm *vm, int vcpuid, struct vm_guest_paging *paging, 104 int vm_gla2gpa_nofault(struct vm *vm, int vcpuid, struct vm_guest_paging *paging,
|
| H A D | vmm.h | 413 int vm_copy_setup(struct vm *vm, int vcpuid, struct vm_guest_paging *paging, 576 struct vm_guest_paging paging; member 599 struct vm_guest_paging paging; member 612 } paging; member 618 struct vm_guest_paging paging; member
|
| H A D | vmm_dev.h | 196 struct vm_guest_paging paging; member
|
| /freebsd-12.1/sys/amd64/vmm/amd/ |
| H A D | svm.c | 739 paging->cr3 = state->cr3; in svm_paging_info() 740 paging->cpl = svm_cpl(state); in svm_paging_info() 741 paging->cpu_mode = svm_vcpu_mode(vmcb); in svm_paging_info() 742 paging->paging_mode = svm_paging_mode(state->cr0, state->cr4, in svm_paging_info() 789 svm_paging_info(svm_get_vmcb(svm_sc, vcpu), &vis->paging); in svm_handle_io() 836 struct vm_guest_paging *paging; in svm_handle_inst_emul() local 843 paging = &vmexit->u.inst_emul.paging; in svm_handle_inst_emul() 848 svm_paging_info(vmcb, paging); in svm_handle_inst_emul() 853 switch(paging->cpu_mode) { in svm_handle_inst_emul() 1503 vmexit->u.paging.gpa = info2; in svm_vmexit() [all …]
|
| /freebsd-12.1/lib/libvmmapi/ |
| H A D | vmmapi.c | 1215 vm_gla2gpa(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in vm_gla2gpa() argument 1225 gg.paging = *paging; in vm_gla2gpa() 1236 vm_gla2gpa_nofault(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in vm_gla2gpa_nofault() argument 1246 gg.paging = *paging; in vm_gla2gpa_nofault() 1261 vm_copy_setup(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in vm_copy_setup() argument 1276 error = vm_gla2gpa(ctx, vcpu, paging, gla, prot, &gpa, fault); in vm_copy_setup()
|
| H A D | vmmapi.h | 114 int vm_gla2gpa(struct vmctx *, int vcpuid, struct vm_guest_paging *paging, 117 struct vm_guest_paging *paging, uint64_t gla, int prot,
|
| /freebsd-12.1/sys/amd64/vmm/intel/ |
| H A D | vmx.c | 1923 paging->cr3 = vmcs_guest_cr3(); in vmx_paging_info() 1924 paging->cpl = vmx_cpl(); in vmx_paging_info() 1925 paging->cpu_mode = vmx_cpu_mode(); in vmx_paging_info() 1926 paging->paging_mode = vmx_paging_mode(); in vmx_paging_info() 1932 struct vm_guest_paging *paging; in vmexit_inst_emul() local 1935 paging = &vmexit->u.inst_emul.paging; in vmexit_inst_emul() 1941 vmx_paging_info(paging); in vmexit_inst_emul() 1942 switch (paging->cpu_mode) { in vmexit_inst_emul() 2322 vmx_paging_info(&ts->paging); in vmx_exit_process() 2496 vmx_paging_info(&vis->paging); in vmx_exit_process() [all …]
|
| /freebsd-12.1/contrib/file/magic/Magdir/ |
| H A D | att3b | 25 >18 beshort ^00010000 N/A on 3b2/300 w/paging
|
| /freebsd-12.1/sys/mips/conf/ |
| H A D | TP-MR3020 | 32 # Disable support for paging
|
| H A D | OCTEON1 | 90 options NO_SWAPPING # Disable support for paging
|
| /freebsd-12.1/contrib/tnftp/ |
| H A D | README | 25 * paging of local and remote files, and of directory listings
|
| /freebsd-12.1/share/dtrace/ |
| H A D | nfsattrstats | 36 * system paging from NFS, in which case the system call name is
|
| /freebsd-12.1/contrib/processor-trace/libipt/src/ |
| H A D | pt_query_decoder.c | 1698 event->variant.paging.cr3 = packet.cr3; in pt_qry_decode_pip() 1699 event->variant.paging.non_root = packet.nr; in pt_qry_decode_pip() 3361 struct pt_event *paging; in pt_qry_decode_vmcs() local 3363 paging = pt_evq_enqueue(&decoder->evq, evb_tip); in pt_qry_decode_vmcs() 3364 if (!paging) in pt_qry_decode_vmcs() 3367 *paging = *event; in pt_qry_decode_vmcs()
|
| /freebsd-12.1/contrib/libxo/doc/ |
| H A D | howto.rst | 220 xo_open_container("paging-information"); 224 xo_close_container("paging-information");
|
| /freebsd-12.1/contrib/processor-trace/libipt/include/ |
| H A D | intel-pt.h | 1240 } paging; member
|
| H A D | intel-pt.h.in | 1088 /* A synchronous paging event. */ 1091 /* An asynchronous paging event. */ 1222 /** Event: paging. */ 1240 } paging; member 1242 /** Event: async paging. */ 1322 /* An async paging event that binds to the same IP
|