Skip to contentSkip to conversation

uninorth: Fix PCI hole size

PATCH Applied BALATON Zoltan 2 participants 2 messages Jun 23, 2014 – Jun 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uninorth: Fix PCI hole size

Fix PCI hole size to match that what is found on real hardware. (OpenBIOS already uses the correct length.)

---
 hw/pci-host/uninorth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/pci-host/uninorth.c +1 -1
index e72fe2a..21f805f 100644
@@ -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);
 
Signature · 1 line
1.8.1.5