aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-01-10 18:25:48 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-01-10 18:25:48 +0000
commitbae7b517a21abfa703871eba2428182311177f16 (patch)
tree196be0f6731d65dd1e333c05347e99f12e95b63b
parent9c9b0512c7bd00f75dc79677e525d7c3da60f04d (diff)
downloadqemu-bae7b517a21abfa703871eba2428182311177f16.zip
qemu-bae7b517a21abfa703871eba2428182311177f16.tar.gz
qemu-bae7b517a21abfa703871eba2428182311177f16.tar.bz2
Sparc64: increase APB register range
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/apb_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index f05308b9..8e4aebf 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -214,7 +214,7 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
qdev_init_nofail(dev);
s = sysbus_from_qdev(dev);
/* apb_config */
- sysbus_mmio_map(s, 0, special_base + 0x2000ULL);
+ sysbus_mmio_map(s, 0, special_base);
/* pci_ioport */
sysbus_mmio_map(s, 1, special_base + 0x2000000ULL);
/* mem_config: XXX size should be 4G-prom */
@@ -254,7 +254,7 @@ static int pci_pbm_init_device(SysBusDevice *dev)
/* apb_config */
apb_config = cpu_register_io_memory(apb_config_read,
apb_config_write, s);
- sysbus_init_mmio(dev, 0x40ULL, apb_config);
+ sysbus_init_mmio(dev, 0x10000ULL, apb_config);
/* pci_ioport */
pci_ioport = cpu_register_io_memory(pci_apb_ioread,
pci_apb_iowrite, s);