qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5820] Common cpu_loop_exit prototype


From: Aurelien Jarno
Subject: [Qemu-devel] [5820] Common cpu_loop_exit prototype
Date: Sun, 30 Nov 2008 16:23:10 +0000

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.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

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.h

Modified: trunk/exec-all.h
===================================================================
--- trunk/exec-all.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/exec-all.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-alpha/cpu.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-alpha/cpu.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-arm/exec.h     2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-arm/exec.h     2008-11-30 16:23:09 UTC (rev 5820)
@@ -58,6 +58,4 @@
 #include "softmmu_exec.h"
 #endif
 
-void cpu_loop_exit(void);
-
 void raise_exception(int);

Modified: trunk/target-cris/exec.h
===================================================================
--- trunk/target-cris/exec.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-cris/exec.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-i386/exec.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-i386/exec.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-m68k/exec.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-m68k/exec.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-mips/exec.h    2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-mips/exec.h    2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-ppc/cpu.h      2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-ppc/cpu.h      2008-11-30 16:23:09 UTC (rev 5820)
@@ -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
===================================================================
--- trunk/target-sh4/exec.h     2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-sh4/exec.h     2008-11-30 16:23:09 UTC (rev 5820)
@@ -65,6 +65,4 @@
 
 void do_interrupt(CPUState * env);
 
-void cpu_loop_exit(void);
-
 #endif                         /* _EXEC_SH4_H */

Modified: trunk/target-sparc/exec.h
===================================================================
--- trunk/target-sparc/exec.h   2008-11-30 16:22:56 UTC (rev 5819)
+++ trunk/target-sparc/exec.h   2008-11-30 16:23:09 UTC (rev 5820)
@@ -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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]