Revision 2507c12a hw/integratorcp.c
b/hw/integratorcp.c | ||
---|---|---|
256 | 256 |
s->flash_offset = qemu_ram_alloc(NULL, "integrator.flash", 0x100000); |
257 | 257 |
|
258 | 258 |
iomemtype = cpu_register_io_memory(integratorcm_readfn, |
259 |
integratorcm_writefn, s); |
|
259 |
integratorcm_writefn, s, |
|
260 |
DEVICE_NATIVE_ENDIAN); |
|
260 | 261 |
sysbus_init_mmio(dev, 0x00800000, iomemtype); |
261 | 262 |
integratorcm_do_remap(s, 1); |
262 | 263 |
/* ??? Save/restore. */ |
... | ... | |
382 | 383 |
sysbus_init_irq(dev, &s->parent_irq); |
383 | 384 |
sysbus_init_irq(dev, &s->parent_fiq); |
384 | 385 |
iomemtype = cpu_register_io_memory(icp_pic_readfn, |
385 |
icp_pic_writefn, s); |
|
386 |
icp_pic_writefn, s, |
|
387 |
DEVICE_NATIVE_ENDIAN); |
|
386 | 388 |
sysbus_init_mmio(dev, 0x00800000, iomemtype); |
387 | 389 |
return 0; |
388 | 390 |
} |
... | ... | |
435 | 437 |
int iomemtype; |
436 | 438 |
|
437 | 439 |
iomemtype = cpu_register_io_memory(icp_control_readfn, |
438 |
icp_control_writefn, NULL); |
|
440 |
icp_control_writefn, NULL, |
|
441 |
DEVICE_NATIVE_ENDIAN); |
|
439 | 442 |
cpu_register_physical_memory(base, 0x00800000, iomemtype); |
440 | 443 |
/* ??? Save/restore. */ |
441 | 444 |
} |
Also available in: Unified diff