Lines Matching refs:new_cs
1405 int new_cs, target_ulong new_eip,
1412 if ((new_cs & 0xfffc) == 0)
1414 if (load_segment(env, &e1, &e2, new_cs) != 0)
1415 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1419 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1424 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1427 rpl = new_cs & 3;
1429 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1431 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1434 raise_exception_err(env, EXCP0B_NOSEG, new_cs & 0xfffc);
1438 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1439 cpu_x86_load_seg_cache(env, R_CS, (new_cs & 0xfffc) | cpl,
1445 rpl = new_cs & 3;
1453 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1455 switch_tss(env, new_cs, e1, e2, SWITCH_TSS_JMP, next_eip);
1461 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1463 raise_exception_err(env, EXCP0B_NOSEG, new_cs & 0xfffc);
1488 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1496 int new_cs, target_ulong new_eip1,
1517 env->segs[R_CS].selector = new_cs;
1518 env->segs[R_CS].base = (new_cs << 4);
1523 int new_cs, target_ulong new_eip,
1533 LOG_PCALL("lcall %04x:%08x s=%d\n", new_cs, (uint32_t)new_eip, shift);
1535 if ((new_cs & 0xfffc) == 0)
1537 if (load_segment(env, &e1, &e2, new_cs) != 0)
1538 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1543 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1548 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1551 rpl = new_cs & 3;
1553 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1555 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1558 raise_exception_err(env, EXCP0B_NOSEG, new_cs & 0xfffc);
1570 cpu_x86_load_seg_cache(env, R_CS, (new_cs & 0xfffc) | cpl,
1590 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1593 cpu_x86_load_seg_cache(env, R_CS, (new_cs & 0xfffc) | cpl,
1601 rpl = new_cs & 3;
1607 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1608 switch_tss(env, new_cs, e1, e2, SWITCH_TSS_CALL, next_eip);
1615 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1621 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1624 raise_exception_err(env, EXCP0B_NOSEG, new_cs & 0xfffc);
1726 uint32_t sp, new_cs, new_eip, new_eflags, sp_mask;
1736 POPL(ssp, sp, sp_mask, new_cs);
1737 new_cs &= 0xffff;
1742 POPW(ssp, sp, sp_mask, new_cs);
1746 env->segs[R_CS].selector = new_cs;
1747 env->segs[R_CS].base = (new_cs << 4);
1785 uint32_t new_cs, new_eflags, new_ss;
1803 POPQ(sp, new_cs);
1804 new_cs &= 0xffff;
1813 POPL(ssp, sp, sp_mask, new_cs);
1814 new_cs &= 0xffff;
1823 POPW(ssp, sp, sp_mask, new_cs);
1828 new_cs, new_eip, shift, addend);
1830 if ((new_cs & 0xfffc) == 0)
1831 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1832 if (load_segment(env, &e1, &e2, new_cs) != 0)
1833 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1836 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1838 rpl = new_cs & 3;
1840 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1844 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1847 raise_exception_err(env, EXCP0D_GPF, new_cs & 0xfffc);
1850 raise_exception_err(env, EXCP0B_NOSEG, new_cs & 0xfffc);
1856 cpu_x86_load_seg_cache(env, R_CS, new_cs,
1917 cpu_x86_load_seg_cache(env, R_CS, new_cs,
1965 load_seg_vm(env, R_CS, new_cs & 0xffff);