Revision 2507c12a hw/sh_timer.c
b/hw/sh_timer.c | ||
---|---|---|
319 | 319 |
s->timer[2] = sh_timer_init(freq, timer_feat | TIMER_FEAT_CAPT, |
320 | 320 |
ch2_irq0); /* ch2_irq1 not supported */ |
321 | 321 |
iomemtype = cpu_register_io_memory(tmu012_readfn, |
322 |
tmu012_writefn, s); |
|
322 |
tmu012_writefn, s, |
|
323 |
DEVICE_NATIVE_ENDIAN); |
|
323 | 324 |
cpu_register_physical_memory(P4ADDR(base), 0x00001000, iomemtype); |
324 | 325 |
cpu_register_physical_memory(A7ADDR(base), 0x00001000, iomemtype); |
325 | 326 |
/* ??? Save/restore. */ |
Also available in: Unified diff