aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2014-06-23 21:10:59 +0200
committerAlexander Graf <agraf@suse.de>2014-06-27 13:48:24 +0200
commit1be88255a71f92f79e027b12609ca36999a21d7c (patch)
tree89c4a2f4ee1ebf642b7ae92b54eed51cb3dad064 /hw
parenta0bb2a5fa095c88819eb6d8e08b1630c8d23c261 (diff)
downloadqemu-1be88255a71f92f79e027b12609ca36999a21d7c.zip
qemu-1be88255a71f92f79e027b12609ca36999a21d7c.tar.gz
qemu-1be88255a71f92f79e027b12609ca36999a21d7c.tar.bz2
uninorth: Fix PCI hole size
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/pci-host/uninorth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/uninorth.c b/hw/pci-host/uninorth.c
index e72fe2a..21f805f 100644
--- a/hw/pci-host/uninorth.c
+++ b/hw/pci-host/uninorth.c
@@ -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);