(m32r_mspr_device): Declare.
(struct _devicep: Define.
* m32r.c (m32r_mspr_device): New global.
(device_{io_{read,write}_buffer,error}): New functions.
* mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
* sim-if.c: Delete redundant inclusion of cpu-sim.h.
(sim_open): Attach device to handle MSPR register.
* sim-main.h (WITH_DEVICES): Define as 1.
Include cpu-sim.h.
|
||
|---|---|---|
| .. | ||
| .Sanitize | ||
| arch-defs.h | ||
| ChangeLog | ||
| configure | ||
| configure.in | ||
| extract.c | ||
| mainloop.in | ||
| Makefile.in | ||
| mem-ops.h | ||
| README | ||
| sem-ops.h | ||
| semantics.c | ||
| sim-if.c | ||
This is the m32r simulator directory. It is still work-in-progress.