Commit 420832208e4287ce3f1eda877c354cd01e3b7023

Authored by aurel32
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
target-sh4/cpu.h
... ... @@ -137,6 +137,10 @@ CPUSH4State *cpu_sh4_init(const char *cpu_model);
137 137 int cpu_sh4_exec(CPUSH4State * s);
138 138 int cpu_sh4_signal_handler(int host_signum, void *pinfo,
139 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 144 void sh4_cpu_list(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
141 145 void cpu_sh4_write_mmaped_utlb_addr(CPUSH4State *s, target_phys_addr_t addr,
142 146 uint32_t mem_value);
... ...
target-sh4/exec.h
... ... @@ -53,14 +53,10 @@ static inline void env_to_regs(void)
53 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 56 void cpu_load_tlb(CPUState * env);
59 57  
60 58 int find_itlb_entry(CPUState * env, target_ulong address,
61 59 int use_asid, int update);
62 60 int find_utlb_entry(CPUState * env, target_ulong address, int use_asid);
63 61  
64   -void do_interrupt(CPUState * env);
65   -
66 62 #endif /* _EXEC_SH4_H */
... ...