| /freebsd-14.2/usr.sbin/bhyve/amd64/ |
| H A D | spinup_ap.c | 60 error = vm_get_desc(newcpu, VM_REG_GUEST_CS, &desc_base, in spinup_ap_realmode() 65 error = vm_set_desc(newcpu, VM_REG_GUEST_CS, in spinup_ap_realmode() 70 error = vm_set_register(newcpu, VM_REG_GUEST_CS, cs); in spinup_ap_realmode()
|
| H A D | task_switch.c | 324 case VM_REG_GUEST_CS: in validate_seg_desc() 396 cs = GETREG(vcpu, VM_REG_GUEST_CS); in validate_seg_desc() 451 tss->tss_cs = GETREG(vcpu, VM_REG_GUEST_CS); in tss32_save() 549 SETREG(vcpu, VM_REG_GUEST_CS, tss->tss_cs); in tss32_restore() 578 error = validate_seg_desc(vcpu, ts, VM_REG_GUEST_CS, &seg_desc, in tss32_restore() 587 update_seg_desc(vcpu, VM_REG_GUEST_CS, &seg_desc); in tss32_restore()
|
| /freebsd-14.2/sys/amd64/vmm/amd/ |
| H A D | vmcb.c | 69 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 D | svm.c | 666 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_vcpu_mode() 874 error = vmcb_seg(vmcb, VM_REG_GUEST_CS, &seg); in svm_handle_inst_emul() 2627 err += svm_snapshot_reg(vcpu, VM_REG_GUEST_CS, meta); in svm_vcpu_snapshot() 2628 err += vmcb_snapshot_desc(vcpu, VM_REG_GUEST_CS, meta); in svm_vcpu_snapshot()
|
| /freebsd-14.2/lib/libvmmapi/ |
| H A D | vmmapi_freebsd.c | 125 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers_i386() 169 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers_i386() 250 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vm_setup_freebsd_registers() 296 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, gsel)) != 0) in vm_setup_freebsd_registers()
|
| H A D | vmmapi.c | 1215 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in vcpu_reset() 1221 if ((error = vm_set_register(vcpu, VM_REG_GUEST_CS, sel)) != 0) in vcpu_reset()
|
| /freebsd-14.2/sys/amd64/vmm/intel/ |
| H A D | vmcs.c | 97 case VM_REG_GUEST_CS: in vmcs_field_encoding() 142 case VM_REG_GUEST_CS: in vmcs_seg_desc_encoding()
|
| H A D | vmx.c | 4162 err += vmcs_snapshot_reg(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vcpu_snapshot() 4163 err += vmcs_snapshot_desc(vmcs, run, VM_REG_GUEST_CS, meta); in vmx_vcpu_snapshot()
|
| /freebsd-14.2/usr.sbin/bhyvectl/ |
| H A D | bhyvectl.c | 722 error = vm_get_desc(vcpu, VM_REG_GUEST_CS, in get_all_segments() 767 error = vm_get_register(vcpu, VM_REG_GUEST_CS, &cs); in get_all_segments() 1907 error = vm_set_desc(vcpu, VM_REG_GUEST_CS, in main() 1942 error = vm_set_register(vcpu, VM_REG_GUEST_CS, cs); in main()
|
| /freebsd-14.2/sys/amd64/include/ |
| H A D | vmm.h | 79 VM_REG_GUEST_CS, enumerator
|
| /freebsd-14.2/sys/amd64/vmm/ |
| H A D | vmm.c | 1269 case VM_REG_GUEST_CS: in is_segment_register() 2750 VM_REG_GUEST_CS, in vm_segment_name() enumerator
|
| H A D | vmm_instruction_emul.c | 2330 *seg = VM_REG_GUEST_CS; in segment_override()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | gdb.c | 172 { .id = VM_REG_GUEST_CS, .size = 4 },
|