Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/bhyve/
H A Dspinup_ap.c65 error = vm_get_desc(ctx, newcpu, VM_REG_GUEST_CS, &desc_base, in spinup_ap_realmode()
70 error = vm_set_desc(ctx, newcpu, VM_REG_GUEST_CS, in spinup_ap_realmode()
75 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_CS, cs); in spinup_ap_realmode()
H A Dtask_switch.c327 case VM_REG_GUEST_CS: in validate_seg_desc()
399 cs = GETREG(ctx, vcpu, VM_REG_GUEST_CS); in validate_seg_desc()
454 tss->tss_cs = GETREG(ctx, vcpu, VM_REG_GUEST_CS); in tss32_save()
552 SETREG(ctx, vcpu, VM_REG_GUEST_CS, tss->tss_cs); in tss32_restore()
581 error = validate_seg_desc(ctx, vcpu, ts, VM_REG_GUEST_CS, &seg_desc, in tss32_restore()
590 update_seg_desc(ctx, vcpu, VM_REG_GUEST_CS, &seg_desc); in tss32_restore()
H A Dgdb.c155 VM_REG_GUEST_CS,
/freebsd-13.1/sys/amd64/vmm/amd/
H A Dvmcb.c70 case VM_REG_GUEST_CS: in vmcb_segptr()
223 case VM_REG_GUEST_CS: in vmcb_read()
322 case VM_REG_GUEST_CS: in vmcb_write()
401 case VM_REG_GUEST_CS: in vmcb_setdesc()
450 if (reg != VM_REG_GUEST_CS && reg != VM_REG_GUEST_TR) { in vmcb_getdesc()
H A Dsvm.c662 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_vcpu_mode()
871 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_handle_inst_emul()
2592 err += svm_snapshot_reg(sc, vcpu, VM_REG_GUEST_CS, meta); in svm_vmcx_snapshot()
2593 err += vmcb_snapshot_desc(sc, vcpu, VM_REG_GUEST_CS, meta); in svm_vmcx_snapshot()
/freebsd-13.1/lib/libvmmapi/
H A Dvmmapi_freebsd.c128 error = vm_set_desc(vmctx, vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers_i386()
172 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers_i386()
253 error = vm_set_desc(vmctx, vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers()
299 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers()
H A Dvmmapi.c1167 error = vm_set_desc(vmctx, vcpu, VM_REG_GUEST_CS, in vcpu_reset()
1173 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, sel)) != 0) in vcpu_reset()
/freebsd-13.1/sys/amd64/vmm/intel/
H A Dvmcs.c101 case VM_REG_GUEST_CS: in vmcs_field_encoding()
143 case VM_REG_GUEST_CS: in vmcs_seg_desc_encoding()
H A Dvmx.c4123 err += vmcs_snapshot_reg(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vmcx_snapshot()
4124 err += vmcs_snapshot_desc(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vmcx_snapshot()
/freebsd-13.1/usr.sbin/bhyvectl/
H A Dbhyvectl.c910 error = vm_get_desc(ctx, vcpu, VM_REG_GUEST_CS, in get_all_segments()
955 error = vm_get_register(ctx, vcpu, VM_REG_GUEST_CS, &cs); in get_all_segments()
2036 error = vm_set_desc(ctx, vcpu, VM_REG_GUEST_CS, in main()
2071 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CS, cs); in main()
/freebsd-13.1/sys/amd64/include/
H A Dvmm.h79 VM_REG_GUEST_CS, enumerator
/freebsd-13.1/sys/amd64/vmm/
H A Dvmm.c1108 case VM_REG_GUEST_CS: in is_segment_register()
2643 VM_REG_GUEST_CS, in vm_segment_name() enumerator
H A Dvmm_instruction_emul.c2332 *seg = VM_REG_GUEST_CS; in segment_override()