Revision 1eed09cb hw/integratorcp.c
b/hw/integratorcp.c | ||
---|---|---|
256 | 256 |
s->cm_init = 0x00000112; |
257 | 257 |
s->flash_offset = qemu_ram_alloc(0x100000); |
258 | 258 |
|
259 |
iomemtype = cpu_register_io_memory(0, integratorcm_readfn,
|
|
259 |
iomemtype = cpu_register_io_memory(integratorcm_readfn, |
|
260 | 260 |
integratorcm_writefn, s); |
261 | 261 |
sysbus_init_mmio(dev, 0x00800000, iomemtype); |
262 | 262 |
integratorcm_do_remap(s, 1); |
... | ... | |
381 | 381 |
qdev_init_gpio_in(&dev->qdev, icp_pic_set_irq, 32); |
382 | 382 |
sysbus_init_irq(dev, &s->parent_irq); |
383 | 383 |
sysbus_init_irq(dev, &s->parent_fiq); |
384 |
iomemtype = cpu_register_io_memory(0, icp_pic_readfn,
|
|
384 |
iomemtype = cpu_register_io_memory(icp_pic_readfn, |
|
385 | 385 |
icp_pic_writefn, s); |
386 | 386 |
sysbus_init_mmio(dev, 0x00800000, iomemtype); |
387 | 387 |
} |
... | ... | |
433 | 433 |
{ |
434 | 434 |
int iomemtype; |
435 | 435 |
|
436 |
iomemtype = cpu_register_io_memory(0, icp_control_readfn,
|
|
436 |
iomemtype = cpu_register_io_memory(icp_control_readfn, |
|
437 | 437 |
icp_control_writefn, NULL); |
438 | 438 |
cpu_register_physical_memory(base, 0x00800000, iomemtype); |
439 | 439 |
/* ??? Save/restore. */ |
Also available in: Unified diff