aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4c_intctl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-08 20:24:47 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-08 20:24:47 +0000
commit4b48bf059b2824e09ca8062269b689a20528f16c (patch)
tree6cb03c3605b390f75fcd496948cdbf459d23608a /hw/sun4c_intctl.c
parent7204ff9c792e47339ea506ea1466e9f5c36f63b2 (diff)
Sparc32: move device instantiation to sun4m.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4c_intctl.c')
-rw-r--r--hw/sun4c_intctl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/hw/sun4c_intctl.c b/hw/sun4c_intctl.c
index c9867da454..76b739c1f0 100644
--- a/hw/sun4c_intctl.c
+++ b/hw/sun4c_intctl.c
@@ -198,25 +198,6 @@ static void sun4c_intctl_reset(void *opaque)
s->pending = 0;
}
-DeviceState *sun4c_intctl_init(target_phys_addr_t addr, qemu_irq *parent_irq)
-{
- DeviceState *dev;
- SysBusDevice *s;
- unsigned int i;
-
- dev = qdev_create(NULL, "sun4c_intctl");
- qdev_init(dev);
-
- s = sysbus_from_qdev(dev);
-
- for (i = 0; i < MAX_PILS; i++) {
- sysbus_connect_irq(s, i, parent_irq[i]);
- }
- sysbus_mmio_map(s, 0, addr);
-
- return dev;
-}
-
static void sun4c_intctl_init1(SysBusDevice *dev)
{
Sun4c_INTCTLState *s = FROM_SYSBUS(Sun4c_INTCTLState, dev);