Searched refs:old_tss_sel (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/arch/x86/kvm/ |
D | emulate.c | 2716 static int task_switch_16(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, in task_switch_16() argument 2737 if (old_tss_sel != 0xffff) { in task_switch_16() 2738 tss_seg.prev_task_link = old_tss_sel; in task_switch_16() 2854 static int task_switch_32(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, in task_switch_32() argument 2879 if (old_tss_sel != 0xffff) { in task_switch_32() 2880 tss_seg.prev_task_link = old_tss_sel; in task_switch_32() 2899 u16 old_tss_sel = get_segment_selector(ctxt, VCPU_SREG_TR); in emulator_do_task_switch() local 2910 ret = read_segment_descriptor(ctxt, old_tss_sel, &curr_tss_desc, &desc_addr); in emulator_do_task_switch() 2950 write_segment_descriptor(ctxt, old_tss_sel, &curr_tss_desc); in emulator_do_task_switch() 2959 old_tss_sel = 0xffff; in emulator_do_task_switch() [all …]
|