qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [5407] Fix missing prototype warnings by moving declaration


From: Blue Swirl
Subject: [Qemu-devel] [5407] Fix missing prototype warnings by moving declarations
Date: Fri, 03 Oct 2008 19:02:42 +0000

Revision: 5407
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5407
Author:   blueswir1
Date:     2008-10-03 19:02:42 +0000 (Fri, 03 Oct 2008)

Log Message:
-----------
Fix missing prototype warnings by moving declarations

Modified Paths:
--------------
    trunk/target-sparc/cpu.h
    trunk/target-sparc/exec.h

Modified: trunk/target-sparc/cpu.h
===================================================================
--- trunk/target-sparc/cpu.h    2008-10-03 19:01:41 UTC (rev 5406)
+++ trunk/target-sparc/cpu.h    2008-10-03 19:02:42 UTC (rev 5407)
@@ -340,6 +340,12 @@
 void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu);
 void sparc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt,
                                                  ...));
+void cpu_lock(void);
+void cpu_unlock(void);
+int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int 
rw,
+                               int mmu_idx, int is_softmmu);
+target_ulong mmu_probe(CPUSPARCState *env, target_ulong address, int mmulev);
+void dump_mmu(CPUSPARCState *env);
 
 /* translate.c */
 void gen_intermediate_code_init(CPUSPARCState *env);
@@ -492,4 +498,7 @@
 
 #include "cpu-all.h"
 
+/* sum4m.c, sun4u.c */
+void cpu_check_irqs(CPUSPARCState *env);
+
 #endif

Modified: trunk/target-sparc/exec.h
===================================================================
--- trunk/target-sparc/exec.h   2008-10-03 19:01:41 UTC (rev 5406)
+++ trunk/target-sparc/exec.h   2008-10-03 19:02:42 UTC (rev 5407)
@@ -21,23 +21,12 @@
 {
 }
 
-/* helper.c */
-void cpu_lock(void);
-void cpu_unlock(void);
-int cpu_sparc_handle_mmu_fault(CPUState *env1, target_ulong address, int rw,
-                               int mmu_idx, int is_softmmu);
-target_ulong mmu_probe(CPUState *env, target_ulong address, int mmulev);
-void dump_mmu(CPUState *env);
-
 /* op_helper.c */
 void do_interrupt(CPUState *env);
 
 /* cpu-exec.c */
 void cpu_loop_exit(void);
 
-/* sun4m.c */
-void cpu_check_irqs(CPUSPARCState *env);
-
 static inline int cpu_halted(CPUState *env1) {
     if (!env1->halted)
         return 0;






reply via email to

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