Searched refs:tss_selector (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/target/i386/tcg/ |
H A D | seg_helper.c | 293 static void tss_set_busy(CPUX86State *env, int tss_selector, bool value, in tss_set_busy() argument 296 target_ulong ptr = env->gdt.base + (tss_selector & ~7); in tss_set_busy() 313 static int switch_tss_ra(CPUX86State *env, int tss_selector, in switch_tss_ra() argument 328 LOG_PCALL("switch_tss: sel=0x%04x type=%d src=%d\n", tss_selector, type, in switch_tss_ra() 334 raise_exception_err_ra(env, EXCP0B_NOSEG, tss_selector & 0xfffc, retaddr); in switch_tss_ra() 336 tss_selector = e1 >> 16; in switch_tss_ra() 337 if (tss_selector & 4) { in switch_tss_ra() 338 raise_exception_err_ra(env, EXCP0A_TSS, tss_selector & 0xfffc, retaddr); in switch_tss_ra() 340 if (load_segment_ra(env, &e1, &e2, tss_selector, retaddr) != 0) { in switch_tss_ra() 341 raise_exception_err_ra(env, EXCP0D_GPF, tss_selector & 0xfffc, retaddr); in switch_tss_ra() [all …]
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_emulate.h | 503 u16 tss_selector, int idt_index, int reason,
|
H A D | emulate.c | 2919 u16 tss_selector, int idt_index, int reason, in emulator_do_task_switch() argument 2933 ret = read_segment_descriptor(ctxt, tss_selector, &next_tss_desc, &desc_addr); in emulator_do_task_switch() 2962 if ((tss_selector & 3) > dpl || ops->cpl(ctxt) > dpl) in emulator_do_task_switch() 2971 return emulate_ts(ctxt, tss_selector & 0xfffc); in emulator_do_task_switch() 3000 write_segment_descriptor(ctxt, tss_selector, &next_tss_desc); in emulator_do_task_switch() 3004 ops->set_segment(ctxt, tss_selector, &next_tss_desc, 0, VCPU_SREG_TR); in emulator_do_task_switch() 3020 u16 tss_selector, int idt_index, int reason, in emulator_task_switch() argument 3029 rc = emulator_do_task_switch(ctxt, tss_selector, idt_index, reason, in emulator_task_switch()
|
H A D | x86.c | 11466 int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index, in kvm_task_switch() argument 11474 ret = emulator_task_switch(ctxt, tss_selector, idt_index, reason, in kvm_task_switch()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 2516 u16 tss_selector; in task_switch_interception() local 2528 tss_selector = (u16)svm->vmcb->control.exit_info_1; in task_switch_interception() 2575 return kvm_task_switch(vcpu, tss_selector, int_vec, reason, in task_switch_interception()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 1984 int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index,
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 5704 u16 tss_selector; in handle_task_switch() local 5739 tss_selector = exit_qualification; in handle_task_switch() 5750 return kvm_task_switch(vcpu, tss_selector, in handle_task_switch()
|