Home
last modified time | relevance | path

Searched refs:R_SS (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c259 } else if (seg_reg == R_SS) { in tss_load_seg()
287 if (seg_reg == R_SS || seg_reg == R_CS) { in tss_load_seg()
566 tss_load_seg(env, R_SS, new_segs[R_SS], cpl, retaddr); in switch_tss_ra()
710 if (env->segs[R_SS].flags & DESC_B_MASK) { in do_interrupt_protected()
716 sa.ss_base = env->segs[R_SS].base; in do_interrupt_protected()
791 sa.sp_mask = get_sp_mask(env->segs[R_SS].flags); in do_interrupt_protected()
792 sa.ss_base = env->segs[R_SS].base; in do_interrupt_protected()
822 pushl(&sa, env->segs[R_SS].selector); in do_interrupt_protected()
839 pushw(&sa, env->segs[R_SS].selector); in do_interrupt_protected()
864 cpu_x86_load_seg_cache(env, R_SS, ss, sa.ss_base, in do_interrupt_protected()
[all …]
H A Dtranslate.c1621 def_seg = R_SS; in gen_lea_modrm_0()
1650 def_seg = R_SS; in gen_lea_modrm_0()
1655 def_seg = R_SS; in gen_lea_modrm_0()
1665 def_seg = R_SS; in gen_lea_modrm_0()
1888 if (seg_reg == R_SS) { in gen_movl_seg()
1895 if (seg_reg == R_SS) { in gen_movl_seg()
1953 gen_lea_v_seg_dest(s, mo_stacksize(s), dest, src, R_SS, -1); in gen_lea_ss_ofs()
3577 [R_SS] = "ss_base", in tcg_x86_init()
/openbmc/qemu/linux-user/
H A Dvm86.c70 target_v86->regs.ss = tswap16(env->segs[R_SS].selector); in save_v86_state()
94 cpu_x86_load_seg(env, R_SS, ts->vm86_saved_regs.ss); in save_v86_state()
166 ssp = env->segs[R_SS].selector << 4; in do_int()
231 ts->vm86_saved_regs.ss = env->segs[R_SS].selector; in do_vm86()
270 cpu_x86_load_seg(env, R_SS, tswap16(target_v86->regs.ss)); in do_vm86()
/openbmc/qemu/linux-user/i386/
H A Dsignal.c262 if ((env->segs[R_SS].selector & 0xffff) != __USER_DS in get_sigframe()
371 __put_user(env->segs[R_SS].selector, (uint32_t *)&sc->ss); in setup_sigcontext()
404 __put_user(env->segs[R_SS].selector, &sc->ss); in setup_sigcontext()
502 cpu_x86_load_seg(env, R_SS, __USER_DS); in setup_frame()
594 cpu_x86_load_seg(env, R_SS, __USER_DS); in setup_rt_frame()
758 cpu_x86_load_seg(env, R_SS, lduw_le_p(&sc->ss) | 3); in restore_sigcontext()
H A Dcpu_loop.c428 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_copy_regs()
/openbmc/u-boot/drivers/bios_emulator/
H A Dbiosemu.c269 M.x86.R_SS = SEG(M.mem_size - 2); in BE_callRealMode()
312 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86()
356 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86x()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dseg_helper.c55 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, in helper_syscall()
76 cpu_x86_load_seg_cache(env, R_SS, (selector + 8) & 0xfffc, in helper_syscall()
H A Dsvm_helper.c224 &env->segs[R_SS]); in helper_vmrun()
358 env->vm_vmcb + offsetof(struct vmcb, save.ss), R_SS); in helper_vmrun()
777 &env->segs[R_SS]); in do_vmexit()
880 env->vm_hsave + offsetof(struct vmcb, save.ss), R_SS); in do_vmexit()
H A Dsmm_helper.c183 cpu_x86_load_seg_cache(env, R_SS, 0, 0, 0xffffffff, in do_smm_enter()
/openbmc/qemu/target/i386/hvf/
H A Dx86_task.c53 tss->ss = vmx_read_segment_selector(cpu, R_SS).sel; in save_state_to_tss32()
82 vmx_write_segment_selector(cpu, (x68_segment_selector){{tss->ss}}, R_SS); in load_state_from_tss32()
H A Dx86hvf.c113 hvf_set_segment(cs, &seg, &env->segs[R_SS], false); in hvf_put_segments()
114 vmx_write_segment_descriptor(cs, &seg, R_SS); in hvf_put_segments()
189 vmx_read_segment_descriptor(cs, &seg, R_SS); in hvf_get_segments()
190 hvf_get_segment(&env->segs[R_SS], &seg); in hvf_get_segments()
H A Dx86_decode.c219 decode->op[0].reg = R_SS; in decode_pushseg()
246 decode->op[0].reg = R_SS; in decode_popseg()
1659 seg = R_SS; in calc_modrm_operand16()
1663 seg = R_SS; in calc_modrm_operand16()
1673 seg = R_SS; in calc_modrm_operand16()
1737 *sel = R_SS; in get_sib_val()
1776 seg = R_SS; in calc_modrm_operand32()
2178 seg = R_SS; in decode_linear_addr()
/openbmc/qemu/bsd-user/i386/
H A Dtarget_arch_reg.h78 regs->r_ss = env->segs[R_SS].selector & 0xffff; in target_copy_regs()
H A Dtarget_arch_cpu.h96 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_init()
/openbmc/u-boot/drivers/bios_emulator/x86emu/
H A Ddebug.c375 printk("SS=%04x ", M.x86.R_SS); in x86emu_dump_regs()
425 printk("SS=%04x ", M.x86.R_SS); in x86emu_dump_xregs()
H A Ddecode.c269 return M.x86.R_SS; in get_data_segment()
284 return M.x86.R_SS; in get_data_segment()
705 return &M.x86.R_SS; in decode_rm_seg_register()
H A Dprim_ops.c2393 (*sys_wrw)(((u32)M.x86.R_SS << 4) + M.x86.R_SP, w); in push_word()
2407 (*sys_wrl)(((u32)M.x86.R_SS << 4) + M.x86.R_SP, w); in push_long()
2422 res = (*sys_rdw)(((u32)M.x86.R_SS << 4) + M.x86.R_SP); in pop_word()
2439 res = (*sys_rdl)(((u32)M.x86.R_SS << 4) + M.x86.R_SP); in pop_long()
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_reg.h89 regs->r_ss = env->segs[R_SS].selector & 0xffff; in target_copy_regs()
H A Dtarget_arch_cpu.h106 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_init()
/openbmc/qemu/target/i386/
H A Darch_dump.c75 regs.ss = env->segs[R_SS].selector; in x86_64_write_elf64_note()
141 prstatus->regs.ss = env->segs[R_SS].selector; in x86_fill_elf_prstatus()
313 copy_segment(&s->ss, &env->segs[R_SS]); in qemu_get_cpustate()
H A Dgdbstub.c165 return gdb_get_reg32(mem_buf, env->segs[R_SS].selector); in x86_cpu_gdb_read_register()
324 return x86_cpu_gdb_load_seg(cpu, R_SS, mem_buf); in x86_cpu_gdb_write_register()
H A Dmachine.c248 env->segs[R_SS].flags &= ~(env->segs[R_SS].flags & DESC_DPL_MASK); in cpu_pre_save()
346 env->segs[R_SS].flags &= ~(env->segs[R_SS].flags & DESC_DPL_MASK); in cpu_post_load()
355 env->hflags |= (env->segs[R_SS].flags >> DESC_DPL_SHIFT) & HF_CPL_MASK; in cpu_post_load()
H A Dcpu.h80 R_SS = 2, enumerator
2346 if (seg_reg == R_SS) { in cpu_x86_load_seg_cache()
2355 new_hflags = (env->segs[R_SS].flags & DESC_B_MASK) in cpu_x86_load_seg_cache()
2371 env->segs[R_SS].base) != 0) << in cpu_x86_load_seg_cache()
/openbmc/u-boot/drivers/bios_emulator/include/x86emu/
H A Dregs.h173 #define R_SS seg.SS macro
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c123 nvmm_set_segment(&state->segs[NVMM_X64_SEG_SS], &env->segs[R_SS]); in nvmm_set_registers()
272 nvmm_get_segment(&env->segs[R_SS], &state->segs[NVMM_X64_SEG_SS]); in nvmm_get_registers()

12