summaryrefslogtreecommitdiff
path: root/hw/isa
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2015-02-01 09:12:54 +0100
committerLeon Alrae <leon.alrae@imgtec.com>2015-02-13 14:09:27 +0000
commitcdba1415c159975c33776c386b934d6cb772421b (patch)
tree8167e4dd3b70f2876712b9f7b1341d820959c82e /hw/isa
parent0c10962a033bfd4b6935389750e567eae18bd5e7 (diff)
downloadqemu-cdba1415c159975c33776c386b934d6cb772421b.zip
piix4: use PCI address space instead of system memory
piix4 is only used on MIPS Malta board, which gives get_system_memory() to pci_register_bus(). Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/isa')
-rw-r--r--hw/isa/piix4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 0cacc3bd3e..a9916df20a 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -86,7 +86,7 @@ static int piix4_initfn(PCIDevice *dev)
{
PIIX4State *d = DO_UPCAST(PIIX4State, dev, dev);
- isa_bus_new(DEVICE(d), get_system_memory(),
+ isa_bus_new(DEVICE(d), pci_address_space(dev),
pci_address_space_io(dev));
piix4_dev = &d->dev;
qemu_register_reset(piix4_reset, d);