[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL v2 05/14] piix4: use PCI address space instead of sys

From: Leon Alrae
Subject: [Qemu-devel] [PULL v2 05/14] piix4: use PCI address space instead of system memory
Date: Sat, 14 Feb 2015 17:44:55 +0000

From: Hervé Poussineau <address@hidden>

piix4 is only used on MIPS Malta board, which gives get_system_memory()
to pci_register_bus().

Signed-off-by: Hervé Poussineau <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>
 hw/isa/piix4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 0cacc3b..a9916df 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),
     piix4_dev = &d->dev;
     qemu_register_reset(piix4_reset, d);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]