Searched refs:tss_seg (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_task.c | 91 struct x86_tss_segment32 tss_seg; in task_switch_32() local 96 vmx_read_mem(cpu, &tss_seg, old_tss_base, sizeof(tss_seg)); in task_switch_32() 97 save_state_to_tss32(cpu, &tss_seg); in task_switch_32() 99 vmx_write_mem(cpu, old_tss_base + eip_offset, &tss_seg.eip, ldt_sel_offset - eip_offset); in task_switch_32() 100 vmx_read_mem(cpu, &tss_seg, new_tss_base, sizeof(tss_seg)); in task_switch_32() 103 tss_seg.prev_tss = old_tss_sel.sel; in task_switch_32() 105 vmx_write_mem(cpu, new_tss_base, &tss_seg.prev_tss, sizeof(tss_seg.prev_tss)); in task_switch_32() 107 load_state_from_tss32(cpu, &tss_seg); in task_switch_32()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | emulate.c | 2745 struct tss_segment_16 tss_seg; in task_switch_16() local 2749 ret = linear_read_system(ctxt, old_tss_base, &tss_seg, sizeof(tss_seg)); in task_switch_16() 2753 save_state_to_tss16(ctxt, &tss_seg); in task_switch_16() 2755 ret = linear_write_system(ctxt, old_tss_base, &tss_seg, sizeof(tss_seg)); in task_switch_16() 2759 ret = linear_read_system(ctxt, new_tss_base, &tss_seg, sizeof(tss_seg)); in task_switch_16() 2764 tss_seg.prev_task_link = old_tss_sel; in task_switch_16() 2767 &tss_seg.prev_task_link, in task_switch_16() 2768 sizeof(tss_seg.prev_task_link)); in task_switch_16() 2773 return load_state_from_tss16(ctxt, &tss_seg); in task_switch_16() 2883 struct tss_segment_32 tss_seg; in task_switch_32() local [all …]
|