Home
last modified time | relevance | path

Searched refs:VM_REG_GUEST_LDTR (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/lib/libvmmapi/
H A Dvmmapi_freebsd.c163 error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR, 0, 0, in vm_setup_freebsd_registers_i386()
193 if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0) in vm_setup_freebsd_registers_i386()
290 error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR, 0, 0, in vm_setup_freebsd_registers()
320 if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0) in vm_setup_freebsd_registers()
H A Dvmmapi.c1335 error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR, desc_base, in vcpu_reset()
1341 if ((error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, 0)) != 0) in vcpu_reset()
/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dtask_switch.c180 reg = ISLDT(sel) ? VM_REG_GUEST_LDTR : VM_REG_GUEST_GDTR; in desc_table_limit_check()
184 if (reg == VM_REG_GUEST_LDTR) { in desc_table_limit_check()
213 reg = ISLDT(sel) ? VM_REG_GUEST_LDTR : VM_REG_GUEST_GDTR; in desc_table_rw()
321 case VM_REG_GUEST_LDTR: in validate_seg_desc()
500 SETREG(vcpu, VM_REG_GUEST_LDTR, tss->tss_ldt); in tss32_restore()
563 error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_LDTR, &seg_desc, in tss32_restore()
567 update_seg_desc(vcpu, VM_REG_GUEST_LDTR, &seg_desc); in tss32_restore()
/freebsd-14.2/sys/amd64/vmm/amd/
H A Dvmcb.c101 case VM_REG_GUEST_LDTR: in vmcb_segptr()
227 case VM_REG_GUEST_LDTR: in vmcb_read()
343 case VM_REG_GUEST_LDTR: in vmcb_write()
H A Dsvm.c2651 err += svm_snapshot_reg(vcpu, VM_REG_GUEST_LDTR, meta); in svm_vcpu_snapshot()
2652 err += vmcb_snapshot_desc(vcpu, VM_REG_GUEST_LDTR, meta); in svm_vcpu_snapshot()
/freebsd-14.2/sys/amd64/vmm/intel/
H A Dvmcs.c109 case VM_REG_GUEST_LDTR: in vmcs_field_encoding()
172 case VM_REG_GUEST_LDTR: in vmcs_seg_desc_encoding()
H A Dvmx.c4180 err += vmcs_snapshot_reg(vmcs, run, VM_REG_GUEST_LDTR, meta); in vmx_vcpu_snapshot()
4181 err += vmcs_snapshot_desc(vmcs, run, VM_REG_GUEST_LDTR, meta); in vmx_vcpu_snapshot()
/freebsd-14.2/usr.sbin/bhyvectl/
H A Dbhyvectl.c740 error = vm_get_desc(vcpu, VM_REG_GUEST_LDTR, in get_all_segments()
809 error = vm_get_register(vcpu, VM_REG_GUEST_LDTR, &ldtr); in get_all_segments()
1927 error = vm_set_desc(vcpu, VM_REG_GUEST_LDTR, in main()
1963 error = vm_set_register(vcpu, VM_REG_GUEST_LDTR, ldtr); in main()
/freebsd-14.2/sys/amd64/include/
H A Dvmm.h84 VM_REG_GUEST_LDTR, enumerator
/freebsd-14.2/sys/amd64/vmm/
H A Dvmm.c1275 case VM_REG_GUEST_LDTR: in is_segment_register()