Revision 3f7132d1

b/hw/sysbus.c
82 82
    }
83 83
}
84 84

  
85
void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size, int iofunc)
85
void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size,
86
                      ram_addr_t iofunc)
86 87
{
87 88
    int n;
88 89

  
b/hw/sysbus.h
21 21
        target_phys_addr_t addr;
22 22
        target_phys_addr_t size;
23 23
        mmio_mapfunc cb;
24
        int iofunc;
24
        ram_addr_t iofunc;
25 25
    } mmio[QDEV_MAX_MMIO];
26 26
};
27 27

  
......
39 39
void sysbus_register_dev(const char *name, size_t size, sysbus_initfn init);
40 40
void sysbus_register_withprop(SysBusDeviceInfo *info);
41 41
void *sysbus_new(void);
42
void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size, int iofunc);
42
void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size,
43
                      ram_addr_t iofunc);
43 44
void sysbus_init_mmio_cb(SysBusDevice *dev, target_phys_addr_t size,
44 45
                            mmio_mapfunc cb);
45 46
void sysbus_init_irq(SysBusDevice *dev, qemu_irq *p);

Also available in: Unified diff