[5820] Common cpu_loop_exit prototype
Revision: 5820
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5820 Author: aurel32 Date: 2008-11-30 16:23:09 +0000 (Sun, 30 Nov 2008)
Log Message:
-----------
Common cpu_loop_exit prototype
All archs use the same cpu_loop_exit, so move the prototype in a common header. i386 was carrying a __hidden attribute, but that was empty for this arch anyway.
Modified Paths:
--------------
trunk/exec-all.h
trunk/target-alpha/cpu.h
trunk/target-arm/exec.h
trunk/target-cris/exec.h
trunk/target-i386/exec.h
trunk/target-m68k/exec.h
trunk/target-mips/exec.h
trunk/target-ppc/cpu.h
trunk/target-sh4/exec.h
trunk/target-sparc/exec.hModified: trunk/exec-all.h
===================================================================
exec-all.h +1 -0
@@ -82,6 +82,7 @@ target_ulong pc, target_ulong cs_base, int flags, int cflags);void cpu_exec_init (CPUState *env); +void cpu_loop_exit (void );int page_unprotect (target_ulong address,unsigned long pc,void *puc);void tb_invalidate_phys_page_range (target_phys_addr_t start,target_phys_addr_t end,int is_cpu_write_access);
Modified: trunk/target-alpha/cpu.h
===================================================================
target-alpha/cpu.h +0 -1
@@ -409,7 +409,6 @@ void *puc);int cpu_alpha_mfpr (CPUState *env,int iprn,uint64_t *valp);int cpu_alpha_mtpr (CPUState *env,int iprn,uint64_t val,uint64_t *oldvalp); -void cpu_loop_exit (void );void pal_init (CPUState *env);#if !defined (CONFIG_USER_ONLY )void call_pal (CPUState *env);
Modified: trunk/target-arm/exec.h
===================================================================
target-arm/exec.h +0 -2
@@ -58,6 +58,4 @@#include "softmmu_exec.h" #endif -void cpu_loop_exit (void ); -void raise_exception (int );
Modified: trunk/target-cris/exec.h
===================================================================
target-cris/exec.h +0 -2
@@ -45,8 +45,6 @@void cpu_cris_flush_flags (CPUCRISState *env,int cc_op);void helper_movec (CPUCRISState *env,int reg,uint32_t val); -void cpu_loop_exit (void ); -static inline int cpu_halted (CPUState *env) {if (!env->halted)return 0 ;
Modified: trunk/target-i386/exec.h
===================================================================
target-i386/exec.h +0 -1
@@ -72,7 +72,6 @@void raise_exception_err (int exception_index,int error_code);void raise_exception (int exception_index);void do_smm_enter (void ); -void __hidden cpu_loop_exit(void);/* n must be a constant to be efficient */ static inline target_long lshift (target_long x,int n)
Modified: trunk/target-m68k/exec.h
===================================================================
target-m68k/exec.h +0 -2
@@ -44,8 +44,6 @@#include "softmmu_exec.h" #endif -void cpu_loop_exit (void ); -static inline int cpu_halted (CPUState *env) {if (!env->halted)return 0 ;
Modified: trunk/target-mips/exec.h
===================================================================
target-mips/exec.h +0 -1
@@ -29,7 +29,6 @@void do_interrupt (CPUState *env);void r4k_invalidate_tlb (CPUState *env,int idx,int use_extra); -void cpu_loop_exit (void );void do_raise_exception_err (uint32_t exception,int error_code);void do_raise_exception (uint32_t exception);
Modified: trunk/target-ppc/cpu.h
===================================================================
target-ppc/cpu.h +0 -1
@@ -689,7 +689,6 @@void do_interrupt (CPUPPCState *env);void ppc_hw_interrupt (CPUPPCState *env); -void cpu_loop_exit (void );void dump_stack (CPUPPCState *env);
Modified: trunk/target-sh4/exec.h
===================================================================
target-sh4/exec.h +0 -2
@@ -65,6 +65,4 @@void do_interrupt (CPUState * env); -void cpu_loop_exit (void ); -#endif /* _EXEC_SH4_H */
Modified: trunk/target-sparc/exec.h
===================================================================
target-sparc/exec.h +0 -3
@@ -24,9 +24,6 @@/* op_helper.c */ void do_interrupt (CPUState *env); -/* cpu-exec.c */ -void cpu_loop_exit (void ); -static inline int cpu_halted (CPUState *env1) {if (!env1->halted)return 0 ;