Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlpvJ-0001fG-LK for qemu-devel@nongnu.org; Fri, 03 Oct 2008 15:02:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlpvJ-0001ep-2U for qemu-devel@nongnu.org; Fri, 03 Oct 2008 15:02:45 -0400 Received: from [199.232.76.173] (port=34762 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlpvI-0001eg-DS for qemu-devel@nongnu.org; Fri, 03 Oct 2008 15:02:44 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47772 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlpvH-0000fa-Tr for qemu-devel@nongnu.org; Fri, 03 Oct 2008 15:02:44 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KlpvH-0001yj-3V for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:02:43 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KlpvG-0001yb-NT for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:02:42 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Fri, 03 Oct 2008 19:02:42 +0000 Subject: [Qemu-devel] [5407] Fix missing prototype warnings by moving declarations Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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;