aboutsummaryrefslogtreecommitdiff
path: root/hw/hppa/dino.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-05-04 10:25:29 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2022-05-08 18:52:36 +0100
commit0d068996310c33c2f40dd347746304054fdfa16d (patch)
treee8447e48c3c1d435450887515ef0bdb44fdba4bf /hw/hppa/dino.c
parent36f9bbdb1717eeb9b10cbfa3135c942c43d13d25 (diff)
downloadqemu-0d068996310c33c2f40dd347746304054fdfa16d.zip
qemu-0d068996310c33c2f40dd347746304054fdfa16d.tar.gz
qemu-0d068996310c33c2f40dd347746304054fdfa16d.tar.bz2
hppa: move dino_init() from dino.c to machine.c
Now that dino_init() is completely decoupled from dino.c it can be moved to machine.c with the rest of the board configuration. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Helge Deller <deller@gmx.de> Message-Id: <20220504092600.10048-20-mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/hppa/dino.c')
-rw-r--r--hw/hppa/dino.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c
index d8baf13..6d12c38 100644
--- a/hw/hppa/dino.c
+++ b/hw/hppa/dino.c
@@ -399,20 +399,6 @@ static int dino_pci_map_irq(PCIDevice *d, int irq_num)
return slot & 0x03;
}
-DinoState *dino_init(MemoryRegion *addr_space)
-{
- DeviceState *dev;
- DinoState *s;
-
- dev = qdev_new(TYPE_DINO_PCI_HOST_BRIDGE);
- object_property_set_link(OBJECT(dev), "memory-as", OBJECT(addr_space),
- &error_fatal);
- s = DINO_PCI_HOST_BRIDGE(dev);
- sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
-
- return s;
-}
-
static void dino_pcihost_reset(DeviceState *dev)
{
DinoState *s = DINO_PCI_HOST_BRIDGE(dev);