Commit 95870356023ce0a355c0005ae8ea1292de3c25a2

Authored by aurel32
1 parent 93220573

target-alpha: fix 2 warnings

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5992 c046a42c-6fe2-441c-8c8c-71466251a162
target-alpha/cpu.h
@@ -407,6 +407,10 @@ int cpu_alpha_exec(CPUAlphaState *s); @@ -407,6 +407,10 @@ int cpu_alpha_exec(CPUAlphaState *s);
407 is returned if the signal was handled by the virtual CPU. */ 407 is returned if the signal was handled by the virtual CPU. */
408 int cpu_alpha_signal_handler(int host_signum, void *pinfo, 408 int cpu_alpha_signal_handler(int host_signum, void *pinfo,
409 void *puc); 409 void *puc);
  410 +int cpu_alpha_handle_mmu_fault (CPUState *env, uint64_t address, int rw,
  411 + int mmu_idx, int is_softmmu);
  412 +void do_interrupt (CPUState *env);
  413 +
410 int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp); 414 int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp);
411 int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp); 415 int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp);
412 void pal_init (CPUState *env); 416 void pal_init (CPUState *env);
target-alpha/exec.h
@@ -48,11 +48,6 @@ static always_inline void regs_to_env(void) @@ -48,11 +48,6 @@ static always_inline void regs_to_env(void)
48 { 48 {
49 } 49 }
50 50
51 -int cpu_alpha_handle_mmu_fault (CPUState *env, uint64_t address, int rw,  
52 - int mmu_idx, int is_softmmu);  
53 -  
54 -void do_interrupt (CPUState *env);  
55 -  
56 static always_inline int cpu_halted(CPUState *env) { 51 static always_inline int cpu_halted(CPUState *env) {
57 if (!env->halted) 52 if (!env->halted)
58 return 0; 53 return 0;