From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Keucm-0001gZ-Ku for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:39:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Keucl-0001gN-93 for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:38:59 -0400 Received: from [199.232.76.173] (port=42044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Keucl-0001gK-3A for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:38:59 -0400 Received: from savannah.gnu.org ([199.232.41.3]:41449 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 1Keuck-0008Ek-RH for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:38:58 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Keuck-0005yf-5S for qemu-devel@nongnu.org; Sun, 14 Sep 2008 16:38:58 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Keucj-0005yb-VL for qemu-devel@nongnu.org; Sun, 14 Sep 2008 16:38:58 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 14 Sep 2008 16:38:57 +0000 Subject: [Qemu-devel] [5214] MIPS: remove empty cpu_mips_irqctrl_init() 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: 5214 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5214 Author: aurel32 Date: 2008-09-14 16:38:57 +0000 (Sun, 14 Sep 2008) Log Message: ----------- MIPS: remove empty cpu_mips_irqctrl_init() cpu_mips_irqctrl_init() function in hw/mips_timer.c is empty. Attached patch removes it, and its callers. (Herv?\195?\169 Poussineau) Modified Paths: -------------- trunk/hw/mips.h trunk/hw/mips_malta.c trunk/hw/mips_mipssim.c trunk/hw/mips_r4k.c trunk/hw/mips_timer.c trunk/target-mips/exec.h Modified: trunk/hw/mips.h =================================================================== --- trunk/hw/mips.h 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/hw/mips.h 2008-09-14 16:38:57 UTC (rev 5214) @@ -25,7 +25,6 @@ /* mips_timer.c */ extern void cpu_mips_clock_init(CPUState *); -extern void cpu_mips_irqctrl_init (void); /* rc4030.c */ qemu_irq *rc4030_init(qemu_irq timer, qemu_irq jazz_bus); Modified: trunk/hw/mips_malta.c =================================================================== --- trunk/hw/mips_malta.c 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/hw/mips_malta.c 2008-09-14 16:38:57 UTC (rev 5214) @@ -878,7 +878,6 @@ /* Init internal devices */ cpu_mips_irq_init_cpu(env); cpu_mips_clock_init(env); - cpu_mips_irqctrl_init(); /* Interrupt controller */ /* The 8259 is attached to the MIPS CPU INT0 pin, ie interrupt 2 */ Modified: trunk/hw/mips_mipssim.c =================================================================== --- trunk/hw/mips_mipssim.c 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/hw/mips_mipssim.c 2008-09-14 16:38:57 UTC (rev 5214) @@ -165,7 +165,6 @@ /* Init CPU internal devices. */ cpu_mips_irq_init_cpu(env); cpu_mips_clock_init(env); - cpu_mips_irqctrl_init(); /* Register 64 KB of ISA IO space at 0x1fd00000. */ isa_mmio_init(0x1fd00000, 0x00010000); Modified: trunk/hw/mips_r4k.c =================================================================== --- trunk/hw/mips_r4k.c 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/hw/mips_r4k.c 2008-09-14 16:38:57 UTC (rev 5214) @@ -225,7 +225,6 @@ /* Init CPU internal devices */ cpu_mips_irq_init_cpu(env); cpu_mips_clock_init(env); - cpu_mips_irqctrl_init(); /* The PIC is attached to the MIPS CPU INT0 pin */ i8259 = i8259_init(env->irq[2]); Modified: trunk/hw/mips_timer.c =================================================================== --- trunk/hw/mips_timer.c 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/hw/mips_timer.c 2008-09-14 16:38:57 UTC (rev 5214) @@ -4,10 +4,6 @@ #define TIMER_FREQ 100 * 1000 * 1000 -void cpu_mips_irqctrl_init (void) -{ -} - /* XXX: do not use a global */ uint32_t cpu_mips_get_random (CPUState *env) { Modified: trunk/target-mips/exec.h =================================================================== --- trunk/target-mips/exec.h 2008-09-14 16:28:26 UTC (rev 5213) +++ trunk/target-mips/exec.h 2008-09-14 16:38:57 UTC (rev 5214) @@ -33,7 +33,6 @@ void do_raise_exception_err (uint32_t exception, int error_code); void do_raise_exception (uint32_t exception); -void cpu_mips_irqctrl_init (void); uint32_t cpu_mips_get_random (CPUState *env); uint32_t cpu_mips_get_count (CPUState *env); void cpu_mips_store_count (CPUState *env, uint32_t value);