]> git.proxmox.com Git - mirror_qemu.git/commitdiff
uninorth: Fix PCI hole size
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 23 Jun 2014 19:10:59 +0000 (21:10 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 27 Jun 2014 11:48:24 +0000 (13:48 +0200)
Fix PCI hole size to match that what is found on real hardware.
(OpenBIOS already uses the correct length.)

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/pci-host/uninorth.c

index e72fe2a70b954bf5675ad0c8735fea6bad665be6..21f805f314eae1bec30347bd87c860c8666ebb26 100644 (file)
@@ -230,7 +230,7 @@ PCIBus *pci_pmac_init(qemu_irq *pic,
     d = UNI_NORTH_PCI_HOST_BRIDGE(dev);
     memory_region_init(&d->pci_mmio, OBJECT(d), "pci-mmio", 0x100000000ULL);
     memory_region_init_alias(&d->pci_hole, OBJECT(d), "pci-hole", &d->pci_mmio,
-                             0x80000000ULL, 0x70000000ULL);
+                             0x80000000ULL, 0x10000000ULL);
     memory_region_add_subregion(address_space_mem, 0x80000000ULL,
                                 &d->pci_hole);