* m32r-sim.h (MSPR_ADDR): New macro.
authorDoug Evans <dje@google.com>
Fri, 5 Dec 1997 00:48:05 +0000 (00:48 +0000)
committerDoug Evans <dje@google.com>
Fri, 5 Dec 1997 00:48:05 +0000 (00:48 +0000)
commit62381069c9cc7378d3184347abacafbc4f63016e
tree45b9a51607a1fc6cad20c5495aabb944657e7958
parent9bb68e20969f463c92f0e0e73ad55aebef761b6f
* m32r-sim.h (MSPR_ADDR): New macro.
(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.
sim/m32r/ChangeLog
sim/m32r/mem-ops.h