Home
last modified time | relevance | path

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

/openbmc/qemu/target/sh4/
H A Dop_helper.c49 void helper_ldtlb(CPUSH4State *env) in helper_ldtlb()
59 void raise_exception(CPUSH4State *env, int index, in raise_exception()
68 void helper_raise_illegal_instruction(CPUSH4State *env) in helper_raise_illegal_instruction()
73 void helper_raise_slot_illegal_instruction(CPUSH4State *env) in helper_raise_slot_illegal_instruction()
78 void helper_raise_fpu_disable(CPUSH4State *env) in helper_raise_fpu_disable()
83 void helper_raise_slot_fpu_disable(CPUSH4State *env) in helper_raise_slot_fpu_disable()
88 void helper_sleep(CPUSH4State *env) in helper_sleep()
97 void helper_trapa(CPUSH4State *env, uint32_t tra) in helper_trapa()
103 void helper_exclusive(CPUSH4State *env) in helper_exclusive()
109 void helper_movcal(CPUSH4State *env, uint32_t address, uint32_t value) in helper_movcal()
[all …]
H A Dcpu.h208 } CPUSH4State; typedef
219 CPUSH4State env;
259 void cpu_sh4_invalidate_tlb(CPUSH4State *s);
260 uint32_t cpu_sh4_read_mmaped_itlb_addr(CPUSH4State *s,
262 void cpu_sh4_write_mmaped_itlb_addr(CPUSH4State *s, hwaddr addr,
264 uint32_t cpu_sh4_read_mmaped_itlb_data(CPUSH4State *s,
266 void cpu_sh4_write_mmaped_itlb_data(CPUSH4State *s, hwaddr addr,
268 uint32_t cpu_sh4_read_mmaped_utlb_addr(CPUSH4State *s,
270 void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, hwaddr addr,
272 uint32_t cpu_sh4_read_mmaped_utlb_data(CPUSH4State *s,
[all …]
H A Dhelper.c49 int cpu_sh4_is_cached(CPUSH4State *env, target_ulong addr) in cpu_sh4_is_cached()
59 CPUSH4State *env = cpu_env(cs); in superh_cpu_do_interrupt()
188 static void update_itlb_use(CPUSH4State * env, int itlbnb) in update_itlb_use()
213 static int itlb_replacement(CPUSH4State * env) in itlb_replacement()
233 static int find_tlb_entry(CPUSH4State * env, target_ulong address, in find_tlb_entry()
259 static void increment_urc(CPUSH4State * env) in increment_urc()
275 static int copy_utlb_entry_itlb(CPUSH4State *env, int utlb) in copy_utlb_entry_itlb()
293 static int find_itlb_entry(CPUSH4State * env, target_ulong address, in find_itlb_entry()
311 static int find_utlb_entry(CPUSH4State * env, target_ulong address, int use_asid) in find_utlb_entry()
327 static int get_mmu_address(CPUSH4State * env, target_ulong * physical, in get_mmu_address()
[all …]
H A Dcpu.c74 CPUSH4State *env = cpu_env(cs); in superh_io_recompile_replay_branch()
93 CPUSH4State *env = cpu_env(cs); in sh4_cpu_mmu_index()
110 CPUSH4State *env = cpu_env(cs); in superh_cpu_reset_hold()
116 memset(env, 0, offsetof(CPUSH4State, end_reset_fields)); in superh_cpu_reset_hold()
160 CPUSH4State *env = cpu_env(CPU(obj)); in sh7750r_cpu_initfn()
177 CPUSH4State *env = cpu_env(CPU(obj)); in sh7751r_cpu_initfn()
194 CPUSH4State *env = cpu_env(CPU(obj)); in sh7785_cpu_initfn()
229 CPUSH4State *env = cpu_env(CPU(obj)); in superh_cpu_initfn()
H A Dtranslate.c99 offsetof(CPUSH4State, gregs[i]), in sh4_translate_init()
105 offsetof(CPUSH4State, pc), "PC"); in sh4_translate_init()
107 offsetof(CPUSH4State, sr), "SR"); in sh4_translate_init()
109 offsetof(CPUSH4State, sr_m), "SR_M"); in sh4_translate_init()
111 offsetof(CPUSH4State, sr_q), "SR_Q"); in sh4_translate_init()
113 offsetof(CPUSH4State, sr_t), "SR_T"); in sh4_translate_init()
115 offsetof(CPUSH4State, ssr), "SSR"); in sh4_translate_init()
117 offsetof(CPUSH4State, spc), "SPC"); in sh4_translate_init()
119 offsetof(CPUSH4State, gbr), "GBR"); in sh4_translate_init()
121 offsetof(CPUSH4State, vbr), "VBR"); in sh4_translate_init()
[all …]
H A Dgdbstub.c29 CPUSH4State *env = cpu_env(cs); in superh_cpu_gdb_read_register()
78 CPUSH4State *env = cpu_env(cs); in superh_cpu_gdb_write_register()
/openbmc/qemu/linux-user/sh4/
H A Dtarget_cpu.h22 static inline void cpu_clone_regs_child(CPUSH4State *env, target_ulong newsp, in cpu_clone_regs_child()
31 static inline void cpu_clone_regs_parent(CPUSH4State *env, unsigned flags) in cpu_clone_regs_parent()
35 static inline void cpu_set_tls(CPUSH4State *env, target_ulong newtls) in cpu_set_tls()
40 static inline abi_ulong get_sp_from_cpustate(CPUSH4State *state) in get_sp_from_cpustate()
H A Dsignal.c89 static void unwind_gusa(CPUSH4State *regs) in unwind_gusa()
119 CPUSH4State *regs, unsigned long mask) in setup_sigcontext()
147 static void restore_sigcontext(CPUSH4State *regs, struct target_sigcontext *sc) in restore_sigcontext()
176 target_sigset_t *set, CPUSH4State *regs) in setup_frame()
222 target_sigset_t *set, CPUSH4State *regs) in setup_rt_frame()
272 long do_sigreturn(CPUSH4State *regs) in do_sigreturn()
305 long do_rt_sigreturn(CPUSH4State *regs) in do_rt_sigreturn()
H A Dtarget_syscall.h24 static inline abi_ulong target_shmlba(CPUSH4State *env) in target_shmlba()
H A Dcpu_loop.c26 void cpu_loop(CPUSH4State *env) in cpu_loop()
/openbmc/qemu/hw/sh4/
H A Dr2d.c210 CPUSH4State *env = &s->cpu->env; in main_cpu_reset()
237 CPUSH4State *env; in r2d_init()
/openbmc/qemu/linux-user/
H A Delfload.c1616 const CPUSH4State *env) in elf_core_copy_regs()