Revision 1eed09cb hw/mcf_fec.c
b/hw/mcf_fec.c | ||
---|---|---|
458 | 458 |
|
459 | 459 |
s = (mcf_fec_state *)qemu_mallocz(sizeof(mcf_fec_state)); |
460 | 460 |
s->irq = irq; |
461 |
s->mmio_index = cpu_register_io_memory(0, mcf_fec_readfn,
|
|
461 |
s->mmio_index = cpu_register_io_memory(mcf_fec_readfn, |
|
462 | 462 |
mcf_fec_writefn, s); |
463 | 463 |
cpu_register_physical_memory(base, 0x400, s->mmio_index); |
464 | 464 |
|
Also available in: Unified diff