]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Common cpu_loop_exit prototype
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 30 Nov 2008 16:23:09 +0000 (16:23 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 30 Nov 2008 16:23:09 +0000 (16:23 +0000)
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.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5820 c046a42c-6fe2-441c-8c8c-71466251a162

exec-all.h
target-alpha/cpu.h
target-arm/exec.h
target-cris/exec.h
target-i386/exec.h
target-m68k/exec.h
target-mips/exec.h
target-ppc/cpu.h
target-sh4/exec.h
target-sparc/exec.h

index aec318ba892af7028240cfb39b88324a3eb7b735..ca97f575ef457c2913d97ab8d7b5be17d49f2b6b 100644 (file)
@@ -82,6 +82,7 @@ TranslationBlock *tb_gen_code(CPUState *env,
                               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);
index 122e2c29e616892b2c4832e44a660b10d5eb06d3..65be4fb5e5a90ca155bc5ea3deed4345c05ae92b 100644 (file)
@@ -409,7 +409,6 @@ int cpu_alpha_signal_handler(int host_signum, void *pinfo,
                              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);
index c543cf4a4600c51f49d091047174730313401ab0..88f08862d66a0f508770260e644647b13c922d23 100644 (file)
@@ -58,6 +58,4 @@ static inline int cpu_halted(CPUState *env) {
 #include "softmmu_exec.h"
 #endif
 
-void cpu_loop_exit(void);
-
 void raise_exception(int);
index 61714738d8201c835b8fdedb569de4e0bd533ea3..ec7346acd950f961b1a9ebd458253db03ccc7d27 100644 (file)
@@ -45,8 +45,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
 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;
index d0756e1990b5baa267732847153e45dd206c05a3..36631665ed7f6387dcd9013c2c28af0ab4298e92 100644 (file)
@@ -72,7 +72,6 @@ void raise_interrupt(int intno, int is_int, int error_code,
 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)
index 745606ec0e8a7a6d7958e7460fe2b61b7140b882..f67941d22b902e4b196f314b7485a778f1da92f6 100644 (file)
@@ -44,8 +44,6 @@ int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
 #include "softmmu_exec.h"
 #endif
 
-void cpu_loop_exit(void);
-
 static inline int cpu_halted(CPUState *env) {
     if (!env->halted)
         return 0;
index 5d3e3560770e68002d529d690b9016b0dd9005f9..8ab64370f060b982cc4772e75385a13f655052ec 100644 (file)
@@ -29,7 +29,6 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
 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);
 
index 711044b4d931a921894ec723bd2f97776b4c8517..8f7309b3722c3fbac0684a9c38193b0023262596 100644 (file)
@@ -689,7 +689,6 @@ int cpu_ppc_signal_handler (int host_signum, void *pinfo,
 
 void do_interrupt (CPUPPCState *env);
 void ppc_hw_interrupt (CPUPPCState *env);
-void cpu_loop_exit (void);
 
 void dump_stack (CPUPPCState *env);
 
index f2e6feada2ae3f73e92fe5f40a2c8a68a9ac03e3..6122610844dfd46aedd8e17d7def205ec5a97d7c 100644 (file)
@@ -65,6 +65,4 @@ int find_utlb_entry(CPUState * env, target_ulong address, int use_asid);
 
 void do_interrupt(CPUState * env);
 
-void cpu_loop_exit(void);
-
 #endif                         /* _EXEC_SH4_H */
index 75410aa790a171b4f6070b625066d50a46d92ee4..36fd1176fc5e0750288a349dcc8fbbce535b6491 100644 (file)
@@ -24,9 +24,6 @@ static inline void regs_to_env(void)
 /* 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;