Commit 420832208e4287ce3f1eda877c354cd01e3b7023
1 parent
95870356
target-sh4: remove 2 warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5993 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
4 additions
and
4 deletions
target-sh4/cpu.h
@@ -137,6 +137,10 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model); | @@ -137,6 +137,10 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model); | ||
137 | int cpu_sh4_exec(CPUSH4State * s); | 137 | int cpu_sh4_exec(CPUSH4State * s); |
138 | int cpu_sh4_signal_handler(int host_signum, void *pinfo, | 138 | int cpu_sh4_signal_handler(int host_signum, void *pinfo, |
139 | void *puc); | 139 | void *puc); |
140 | +int cpu_sh4_handle_mmu_fault(CPUSH4State * env, target_ulong address, int rw, | ||
141 | + int mmu_idx, int is_softmmu); | ||
142 | +void do_interrupt(CPUSH4State * env); | ||
143 | + | ||
140 | void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); | 144 | void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...)); |
141 | void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, target_phys_addr_t addr, | 145 | void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, target_phys_addr_t addr, |
142 | uint32_t mem_value); | 146 | uint32_t mem_value); |
target-sh4/exec.h
@@ -53,14 +53,10 @@ static inline void env_to_regs(void) | @@ -53,14 +53,10 @@ static inline void env_to_regs(void) | ||
53 | /* XXXXX */ | 53 | /* XXXXX */ |
54 | } | 54 | } |
55 | 55 | ||
56 | -int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw, | ||
57 | - int mmu_idx, int is_softmmu); | ||
58 | void cpu_load_tlb(CPUState * env); | 56 | void cpu_load_tlb(CPUState * env); |
59 | 57 | ||
60 | int find_itlb_entry(CPUState * env, target_ulong address, | 58 | int find_itlb_entry(CPUState * env, target_ulong address, |
61 | int use_asid, int update); | 59 | int use_asid, int update); |
62 | int find_utlb_entry(CPUState * env, target_ulong address, int use_asid); | 60 | int find_utlb_entry(CPUState * env, target_ulong address, int use_asid); |
63 | 61 | ||
64 | -void do_interrupt(CPUState * env); | ||
65 | - | ||
66 | #endif /* _EXEC_SH4_H */ | 62 | #endif /* _EXEC_SH4_H */ |