diff options
Diffstat (limited to 'hw/armv7m.c')
-rw-r--r-- | hw/armv7m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/armv7m.c b/hw/armv7m.c index c3c5b9e347..297a3e1f0c 100644 --- a/hw/armv7m.c +++ b/hw/armv7m.c @@ -128,7 +128,7 @@ static void bitband_init(SysBusDevice *dev) int iomemtype; s->base = qdev_get_prop_int(&dev->qdev, "base", 0); - iomemtype = cpu_register_io_memory(0, bitband_readfn, bitband_writefn, + iomemtype = cpu_register_io_memory(bitband_readfn, bitband_writefn, &s->base); sysbus_init_mmio(dev, 0x02000000, iomemtype); } |