Lines Matching refs:new_ldt
320 uint32_t new_eflags, new_eip, new_cr3, new_ldt, new_trap; in switch_tss_ra() local
441 new_ldt = access_ldw(&new, tss_base + 0x60); in switch_tss_ra()
454 new_ldt = access_ldw(&new, tss_base + 0x2a); in switch_tss_ra()
534 env->ldt.selector = new_ldt & ~4; in switch_tss_ra()
540 if (new_ldt & 4) { in switch_tss_ra()
541 raise_exception_err_ra(env, EXCP0A_TSS, new_ldt & 0xfffc, retaddr); in switch_tss_ra()
544 if ((new_ldt & 0xfffc) != 0) { in switch_tss_ra()
546 index = new_ldt & ~7; in switch_tss_ra()
548 raise_exception_err_ra(env, EXCP0A_TSS, new_ldt & 0xfffc, retaddr); in switch_tss_ra()
554 raise_exception_err_ra(env, EXCP0A_TSS, new_ldt & 0xfffc, retaddr); in switch_tss_ra()
557 raise_exception_err_ra(env, EXCP0A_TSS, new_ldt & 0xfffc, retaddr); in switch_tss_ra()