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()
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()
124 void helper_discard_movcal_backup(CPUSH4State *env) in helper_discard_movcal_backup()
138 void helper_ocbi(CPUSH4State *env, uint32_t address) in helper_ocbi()
205 void helper_ld_fpscr(CPUSH4State *env, uint32_t val) in helper_ld_fpscr()
[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,
268 uint32_t cpu_sh4_read_mmaped_utlb_addr(CPUSH4State *s,
272 uint32_t cpu_sh4_read_mmaped_utlb_data(CPUSH4State *s,
278 int cpu_sh4_is_cached(CPUSH4State * env, target_ulong addr);
280 void cpu_load_tlb(CPUSH4State * env);
[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()
213 static int itlb_replacement(CPUSH4State * env) in itlb_replacement()
259 static void increment_urc(CPUSH4State * env) in increment_urc()
446 void cpu_load_tlb(CPUSH4State * env) in cpu_load_tlb()
490 void cpu_sh4_invalidate_tlb(CPUSH4State *s) in cpu_sh4_invalidate_tlb()
508 uint32_t cpu_sh4_read_mmaped_itlb_addr(CPUSH4State *s, in cpu_sh4_read_mmaped_itlb_addr()
538 uint32_t cpu_sh4_read_mmaped_itlb_data(CPUSH4State *s, in cpu_sh4_read_mmaped_itlb_data()
589 uint32_t cpu_sh4_read_mmaped_utlb_addr(CPUSH4State *s, in cpu_sh4_read_mmaped_utlb_addr()
678 uint32_t cpu_sh4_read_mmaped_utlb_data(CPUSH4State *s, in cpu_sh4_read_mmaped_utlb_data()
[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.c105 offsetof(CPUSH4State, pc), "PC"); in sh4_translate_init()
107 offsetof(CPUSH4State, sr), "SR"); 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()
131 offsetof(CPUSH4State, pr), "PR"); in sh4_translate_init()
143 offsetof(CPUSH4State, in sh4_translate_init()
161 CPUSH4State *env = cpu_env(cs); in superh_cpu_dump_state()
1849 static void decode_gusa(DisasContext *ctx, CPUSH4State *env) in decode_gusa()
[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.c1599 const CPUSH4State *env) in elf_core_copy_regs()