diff options
Diffstat (limited to 'hw/arm_sysctl.c')
-rw-r--r-- | hw/arm_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c index 1ddb4a2..c9d1e3f 100644 --- a/hw/arm_sysctl.c +++ b/hw/arm_sysctl.c @@ -198,7 +198,7 @@ static void arm_sysctl_init1(SysBusDevice *dev) /* The MPcore bootloader uses these flags to start secondary CPUs. We don't use a bootloader, so do this here. */ s->flags = 3; - iomemtype = cpu_register_io_memory(0, arm_sysctl_readfn, + iomemtype = cpu_register_io_memory(arm_sysctl_readfn, arm_sysctl_writefn, s); sysbus_init_mmio(dev, 0x1000, iomemtype); /* ??? Save/restore. */ |