qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5214] MIPS: remove empty cpu_mips_irqctrl_init()
@ 2008-09-14 16:38 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-14 16:38 UTC (permalink / raw)
  To: qemu-devel

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-14 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14 16:38 [Qemu-devel] [5214] MIPS: remove empty cpu_mips_irqctrl_init() Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).