diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 02ee24198b..316eef9ce9 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -137,6 +137,10 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model); int cpu_sh4_exec(CPUSH4State * s); int cpu_sh4_signal_handler(int host_signum, void *pinfo, void *puc); +int cpu_sh4_handle_mmu_fault(CPUSH4State * env, target_ulong address, int rw, + int mmu_idx, int is_softmmu); +void do_interrupt(CPUSH4State * env); + void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, target_phys_addr_t addr, uint32_t mem_value); diff --git a/target-sh4/exec.h b/target-sh4/exec.h index 1c51167e49..70297841ab 100644 --- a/target-sh4/exec.h +++ b/target-sh4/exec.h @@ -53,14 +53,10 @@ static inline void env_to_regs(void) /* XXXXX */ } -int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw, - int mmu_idx, int is_softmmu); void cpu_load_tlb(CPUState * env); int find_itlb_entry(CPUState * env, target_ulong address, int use_asid, int update); int find_utlb_entry(CPUState * env, target_ulong address, int use_asid); -void do_interrupt(CPUState * env); - #endif /* _EXEC_SH4_H */