| /openbmc/qemu/linux-user/ |
| H A D | vm86.c | 69 target_v86->regs.cs = tswap16(env->segs[R_CS].selector); in save_v86_state() 79 env->eflags, env->segs[R_CS].selector, env->eip); in save_v86_state() 93 cpu_x86_load_seg(env, R_CS, ts->vm86_saved_regs.cs); in save_v86_state() 152 if (env->segs[R_CS].selector == TARGET_BIOSSEG) in do_int() 169 vm_putw(env, ssp, sp - 4, env->segs[R_CS].selector); in do_int() 174 cpu_x86_load_seg(env, R_CS, segoffs >> 16); in do_int() 230 ts->vm86_saved_regs.cs = env->segs[R_CS].selector; in do_vm86() 269 cpu_x86_load_seg(env, R_CS, tswap16(target_v86->regs.cs)); in do_vm86() 287 env->segs[R_CS].selector, env->eip); in do_vm86()
|
| /openbmc/u-boot/drivers/bios_emulator/x86emu/ |
| H A D | decode.c | 60 push_word(M.x86.R_CS); in x86emu_intr_handle() 61 M.x86.R_CS = mem_access_word(intno * 4 + 2); in x86emu_intr_handle() 101 SAVE_IP_CS(M.x86.R_CS, M.x86.R_IP); in X86EMU_exec() 120 op1 = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in X86EMU_exec() 159 fetched = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in fetch_decode_modrm() 182 fetched = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in fetch_byte_imm() 203 fetched = (*sys_rdw)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP)); in fetch_word_imm() 225 fetched = (*sys_rdl)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP)); in fetch_long_imm() 272 return M.x86.R_CS; in get_data_segment() 702 return &M.x86.R_CS; in decode_rm_seg_register()
|
| H A D | debug.c | 115 tregs.x86.R_CS = seg; in disassemble_forward() 133 op1 = (*sys_rdb) (((u32) M.x86.R_CS << 4) + (M.x86.R_IP++)); in disassemble_forward() 376 printk("CS=%04x ", M.x86.R_CS); in x86emu_dump_regs() 426 printk("CS=%04x ", M.x86.R_CS); in x86emu_dump_xregs()
|
| H A D | sys.c | 323 push_word(M.x86.R_CS); in X86EMU_prepareForInt() 324 M.x86.R_CS = mem_access_word(num * 4 + 2); in X86EMU_prepareForInt()
|
| H A D | ops.c | 185 M.x86.R_CS, M.x86.R_IP-1,op1)); in x86emuOp_illegal_op() 488 push_word(M.x86.R_CS); in x86emuOp_push_CS() 499 u8 op2 = (*sys_rdb)(((u32)M.x86.R_CS << 4) + (M.x86.R_IP++)); in x86emuOp_two_byte() 2324 push_word(M.x86.R_CS); in x86emuOp_call_far_IMM() 2325 M.x86.R_CS = farseg; in x86emuOp_call_far_IMM() 3493 M.x86.R_CS = pop_word(); in x86emuOp_ret_far_IMM() 3510 M.x86.R_CS = pop_word(); in x86emuOp_ret_far() 3532 push_word(M.x86.R_CS); in x86emuOp_int3() 3533 M.x86.R_CS = mem_access_word(3 * 4 + 2); in x86emuOp_int3() 3561 push_word(M.x86.R_CS); in x86emuOp_int_IMM() [all …]
|
| H A D | ops2.c | 64 M.x86.R_CS, M.x86.R_IP-2,op2); in x86emuOp2_illegal_op() 1095 M.x86.R_CS, M.x86.R_IP-3,op2, (mod<<6)|(rh<<3)|rl); in x86emuOp2_btX_I()
|
| /openbmc/qemu/target/i386/hvf/ |
| H A D | x86_task.c | 52 tss->cs = vmx_read_segment_selector(cpu, R_CS).sel; in save_state_to_tss32() 81 vmx_write_segment_selector(cpu, (x86_segment_selector){{tss->cs}}, R_CS); in load_state_from_tss32() 143 x86_segment_selector cs = vmx_read_segment_selector(cpu, R_CS); in vmx_handle_task_switch()
|
| H A D | x86.c | 144 vmx_read_segment_descriptor(cpu, &desc, R_CS); in x86_is_long64_mode() 184 return linear_addr(cpu, rip, R_CS); in linear_rip()
|
| /openbmc/u-boot/drivers/bios_emulator/ |
| H A D | biosemu.c | 266 M.x86.R_CS = SEG(0x04000); in BE_callRealMode() 309 M.x86.R_CS = SEG(0x04000); in BE_int86() 353 M.x86.R_CS = SEG(0x04000); in BE_int86x()
|
| /openbmc/qemu/bsd-user/i386/ |
| H A D | target_arch_reg.h | 73 regs->r_cs = env->segs[R_CS].selector & 0xffff; in target_copy_regs()
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | bios.c | 71 .cs = M.x86.R_CS, in int_exception_handler() 322 M.x86.R_CS = cs; in interrupt_handler()
|
| /openbmc/qemu/bsd-user/x86_64/ |
| H A D | target_arch_reg.h | 86 regs->r_cs = env->segs[R_CS].selector & 0xffff; in target_copy_regs()
|
| /openbmc/qemu/linux-user/i386/ |
| H A D | signal.c | 368 __put_user(env->segs[R_CS].selector, (uint32_t *)&sc->cs); in setup_sigcontext() 401 __put_user(env->segs[R_CS].selector, &sc->cs); in setup_sigcontext() 503 cpu_x86_load_seg(env, R_CS, __USER_CS); in setup_frame() 593 cpu_x86_load_seg(env, R_CS, __USER_CS); in setup_rt_frame() 757 cpu_x86_load_seg(env, R_CS, lduw_le_p(&sc->cs) | 3); in restore_sigcontext()
|
| /openbmc/qemu/target/i386/ |
| H A D | arch_dump.c | 74 regs.cs = env->segs[R_CS].selector; in x86_64_write_elf64_note() 140 prstatus->regs.cs = env->segs[R_CS].selector; in x86_fill_elf_prstatus() 308 copy_segment(&s->cs, &env->segs[R_CS]); in qemu_get_cpustate()
|
| H A D | gdbstub.c | 163 return gdb_get_reg32(mem_buf, env->segs[R_CS].selector); in x86_cpu_gdb_read_register() 322 return x86_cpu_gdb_load_seg(cpu, R_CS, mem_buf); in x86_cpu_gdb_write_register()
|
| /openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
| H A D | regs.h | 171 #define R_CS seg.CS macro
|
| /openbmc/qemu/target/i386/tcg/ |
| H A D | tcg-cpu.c | 63 cs_base = env->segs[R_CS].base; in x86_get_tb_cpu_state()
|
| H A D | translate.c | 2090 gen_op_movl_seg_real(s, R_CS, s->T1); in gen_far_jmp() 3007 offsetof(CPUX86State, segs[R_CS].selector)); in gen_x87() 3699 [R_CS] = "cs_base", in tcg_x86_init()
|
| H A D | decode-new.c.inc | 2064 if (op->n >= 6 || (op->n == R_CS && op == &decode->op[0])) { 2578 s->override = R_CS;
|
| H A D | emit.c.inc | 3621 gen_op_movl_seg_real(s, R_CS, s->T0);
|
| /openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/ |
| H A D | Update-x86emu-from-X.org.patch | 160 tregs.x86.R_CS = seg; 180 - op1 = (*sys_rdb)(((u32)M.x86.R_CS<<4) + (M.x86.R_IP++)); 183 + op1 = (*sys_rdb) (((u32) M.x86.R_CS << 4) + (M.x86.R_IP++)); 582 - printk("CS=%04x ", M.x86.R_CS ); 612 + printk("CS=%04x ", M.x86.R_CS); 664 - printk("CS=%04x ", M.x86.R_CS ); 694 + printk("CS=%04x ", M.x86.R_CS); 752 - push_word(M.x86.R_CS); 753 - M.x86.R_CS = mem_access_word(intno * 4 + 2); 770 + push_word(M.x86.R_CS); [all …]
|
| /openbmc/qemu/target/i386/tcg/system/ |
| H A D | smm_helper.c | 173 cpu_x86_load_seg_cache(env, R_CS, (env->smbase >> 4) & 0xffff, env->smbase, in do_smm_enter()
|