Home
last modified time | relevance | path

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

/src/usr.sbin/bhyve/amd64/
H A Dspinup_ap.c59 error = vm_get_desc(newcpu, VM_REG_GUEST_CS, &desc_base, in spinup_ap_realmode()
64 error = vm_set_desc(newcpu, VM_REG_GUEST_CS, in spinup_ap_realmode()
69 error = vm_set_register(newcpu, VM_REG_GUEST_CS, cs); in spinup_ap_realmode()
H A Dtask_switch.c323 case VM_REG_GUEST_CS: in validate_seg_desc()
395 cs = GETREG(vcpu, VM_REG_GUEST_CS); in validate_seg_desc()
450 tss->tss_cs = GETREG(vcpu, VM_REG_GUEST_CS); in tss32_save()
548 SETREG(vcpu, VM_REG_GUEST_CS, tss->tss_cs); in tss32_restore()
577 error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_CS, &seg_desc, in tss32_restore()
586 update_seg_desc(vcpu, VM_REG_GUEST_CS, &seg_desc); in tss32_restore()
/src/sys/amd64/vmm/amd/
H A Dvmcb.c69 case VM_REG_GUEST_CS: in vmcb_segptr()
221 case VM_REG_GUEST_CS: in vmcb_read()
336 case VM_REG_GUEST_CS: in vmcb_write()
413 case VM_REG_GUEST_CS: in vmcb_setdesc()
460 if (reg != VM_REG_GUEST_CS && reg != VM_REG_GUEST_TR) { in vmcb_getdesc()
H A Dsvm.c327 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_get_cs_info()
701 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_vcpu_mode()
2652 err += svm_snapshot_reg(vcpu, VM_REG_GUEST_CS, meta); in svm_vcpu_snapshot()
2653 err += vmcb_snapshot_desc(vcpu, VM_REG_GUEST_CS, meta); in svm_vcpu_snapshot()
/src/lib/libvmmapi/amd64/
H A Dvmmapi_freebsd_machdep.c124 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers_i386()
168 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers_i386()
249 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers()
295 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers()
H A Dvmmapi_machdep.c464 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vcpu_reset()
470 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, sel)) != 0) in vcpu_reset()
/src/sys/amd64/vmm/intel/
H A Dvmcs.c96 case VM_REG_GUEST_CS: in vmcs_field_encoding()
141 case VM_REG_GUEST_CS: in vmcs_seg_desc_encoding()
H A Dvmx.c4175 err += vmcs_snapshot_reg(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vcpu_snapshot()
4176 err += vmcs_snapshot_desc(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vcpu_snapshot()
/src/usr.sbin/bhyvectl/amd64/
H A Dbhyvectl_machdep.c692 error = vm_get_desc(vcpu, VM_REG_GUEST_CS, in get_all_segments()
737 error = vm_get_register(vcpu, VM_REG_GUEST_CS, &cs); in get_all_segments()
1620 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in bhyvectl_md_main()
1655 error = vm_set_register(vcpu, VM_REG_GUEST_CS, set_cs_val); in bhyvectl_md_main()
/src/sys/amd64/include/
H A Dvmm.h80 VM_REG_GUEST_CS, enumerator
/src/sys/amd64/vmm/
H A Dvmm.c642 case VM_REG_GUEST_CS: in is_segment_register()
1812 VM_REG_GUEST_CS, in vm_segment_name() enumerator
H A Dvmm_instruction_emul.c2330 *seg = VM_REG_GUEST_CS; in segment_override()
/src/usr.sbin/bhyve/
H A Dgdb.c191 { .id = VM_REG_GUEST_CS, .size = 4 },