Home
last modified time | relevance | path

Searched refs:R_CS (Results 1 – 12 of 12) sorted by relevance

/external/qemu/target-i386/
Dop_helper.c235 if (seg_reg == R_CS) { in tss_load_seg()
266 if (seg_reg == R_SS || seg_reg == R_CS) in tss_load_seg()
462 cpu_x86_set_cpl(env, new_segs[R_CS] & 3); in switch_tss()
494 tss_load_seg(R_CS, new_segs[R_CS]); in switch_tss()
503 if (new_eip > env->segs[R_CS].limit) { in switch_tss()
798 PUSHL(ssp, esp, sp_mask, env->segs[R_CS].selector); in do_interrupt_protected()
815 PUSHW(ssp, esp, sp_mask, env->segs[R_CS].selector); in do_interrupt_protected()
836 cpu_x86_load_seg_cache(env, R_CS, selector, in do_interrupt_protected()
971 PUSHQ(esp, env->segs[R_CS].selector); in do_interrupt64()
984 cpu_x86_load_seg_cache(env, R_CS, selector, in do_interrupt64()
[all …]
Dcpu.h70 #define R_CS 1 macro
732 if (seg_reg == R_CS) { in cpu_x86_load_seg_cache()
742 new_hflags = (env->segs[R_CS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
913 *cs_base = env->segs[R_CS].base; in cpu_get_tb_cpu_state()
Dkvm.c396 set_v8086_seg(&sregs.cs, &env->segs[R_CS]); in kvm_put_sregs()
403 set_seg(&sregs.cs, &env->segs[R_CS]); in kvm_put_sregs()
510 get_seg(&env->segs[R_CS], &sregs.cs); in kvm_get_sregs()
543 hflags = (env->segs[R_CS].flags >> DESC_DPL_SHIFT) & HF_CPL_MASK; in kvm_get_sregs()
555 if ((hflags & HF_LMA_MASK) && (env->segs[R_CS].flags & DESC_L_MASK)) { in kvm_get_sregs()
558 hflags |= (env->segs[R_CS].flags & DESC_B_MASK) >> in kvm_get_sregs()
Dtranslate.c4080 s->override = R_CS; in disas_insn()
4135 s->override = R_CS; in disas_insn()
4637 gen_op_movl_seg_T0_vm(R_CS); in disas_insn()
5081 if (reg >= 6 || reg == R_CS) in disas_insn()
6183 gen_op_movl_seg_T0_vm(R_CS); in disas_insn()
Dhelper.c498 cpu_x86_load_seg_cache(env, R_CS, 0xf000, 0xffff0000, 0xffff, in cpu_reset()
/external/qemu/
Dkqemu.c526 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, in do_syscall()
547 cpu_x86_load_seg_cache(env, R_CS, selector & 0xfffc, in do_syscall()
826 (env->segs[R_CS].flags & DESC_L_MASK)) { in kqemu_cpu_exec()
833 new_hflags = (env->segs[R_CS].flags & DESC_B_MASK) in kqemu_cpu_exec()
902 unsigned long pc = env->eip + env->segs[R_CS].base; in kqemu_cpu_exec()
Dmonitor.c408 env->eip + env->segs[R_CS].base); in do_info_cpus()
661 (env->segs[R_CS].flags & DESC_L_MASK)) in memory_dump()
665 if (!(env->segs[R_CS].flags & DESC_B_MASK)) in memory_dump()
1771 return env->eip + env->segs[R_CS].base; in monitor_get_pc()
1881 SEG("cs", R_CS)
Dgdbstub.c539 case 2: GET_REG32(env->segs[R_CS].selector); in cpu_gdb_read_register()
598 case 2: LOAD_SEG(10, R_CS); return 4; in cpu_gdb_write_register()
Dexec.c1061 cpu_single_env->eip + (long)cpu_single_env->segs[R_CS].base); in tb_invalidate_phys_page_fast()
/external/qemu/hw/
Dapic.c503 cpu_x86_load_seg_cache(env, R_CS, s->sipi_vector << 8, s->sipi_vector << 12, in apic_sipi()
/external/valgrind/main/VEX/priv/
Dguest_x86_toIR.c308 #define R_CS 1 macro
491 case R_CS: return OFFB_CS; in segmentGuestRegOffset()
1288 case R_CS: return "%cs"; in nameSReg()
12778 putSReg( R_CS, unop(Iop_32to16, mkexpr(t3)) ); in disInstr_X86_WRK()
13837 dis_push_segreg( R_CS, sz ); break; in disInstr_X86_WRK()
Dguest_amd64_toIR.c483 #define R_CS 1 macro