diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 16:38:57 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 16:38:57 +0000 |
commit | 1a59b931e341e0ec2d687ba96574b840b255f589 (patch) | |
tree | 75b8445c6dd675320a5f40787a69e2d5bf558df9 | |
parent | 71ff8de1e7e8d59fb0200b59f26556e8ed743431 (diff) | |
download | qemu-1a59b931e341e0ec2d687ba96574b840b255f589.tar.gz qemu-1a59b931e341e0ec2d687ba96574b840b255f589.tar.bz2 qemu-1a59b931e341e0ec2d687ba96574b840b255f589.zip |
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é Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5214 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/mips.h | 1 | ||||
-rw-r--r-- | hw/mips_malta.c | 1 | ||||
-rw-r--r-- | hw/mips_mipssim.c | 1 | ||||
-rw-r--r-- | hw/mips_r4k.c | 1 | ||||
-rw-r--r-- | hw/mips_timer.c | 4 | ||||
-rw-r--r-- | target-mips/exec.h | 1 |
6 files changed, 0 insertions, 9 deletions
@@ -25,7 +25,6 @@ extern void cpu_mips_irq_init_cpu(CPUState *env); /* 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); diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 63af965d7c..d94613c8e7 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -878,7 +878,6 @@ void mips_malta_init (ram_addr_t ram_size, int vga_ram_size, /* 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 */ diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c index 01f4c1b6b2..fb56dc5450 100644 --- a/hw/mips_mipssim.c +++ b/hw/mips_mipssim.c @@ -165,7 +165,6 @@ mips_mipssim_init (ram_addr_t ram_size, int vga_ram_size, /* 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); diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index b1551b9827..8b3f4e93a3 100644 --- a/hw/mips_r4k.c +++ b/hw/mips_r4k.c @@ -225,7 +225,6 @@ void mips_r4k_init (ram_addr_t ram_size, int vga_ram_size, /* 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]); diff --git a/hw/mips_timer.c b/hw/mips_timer.c index 5549e2483a..13217b2da0 100644 --- a/hw/mips_timer.c +++ b/hw/mips_timer.c @@ -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) { diff --git a/target-mips/exec.h b/target-mips/exec.h index 3395da4f4d..de6e6dd103 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -33,7 +33,6 @@ void cpu_loop_exit(void); 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); |