summaryrefslogtreecommitdiff
path: root/sim/tic80
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80')
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/alu.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index 4ab9129f709..777ed7e152f 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 11 14:12:56 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * alu.h (IMEM32_IMMED, IMEM32, STORE, MEM): Replace sim_core_*_map
+ with read_map, write_map, exec_map resp.
+
Thu Feb 26 19:08:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-calls.c (sim_info): Delete.
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index 4def0ee2391..b5bc7c1af31 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -39,20 +39,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* Bring data in from the cold */
#define IMEM32(CIA) \
-(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip))
+(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, exec_map, (CIA).ip))
#define IMEM32_IMMED(CIA, N) \
-(sim_core_read_aligned_4 (STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip + 4 * (N)))
+(sim_core_read_aligned_4 (STATE_CPU (sd, 0), CIA, exec_map, (CIA).ip + 4 * (N)))
#define MEM(SIGN, EA, NR_BYTES) \
((SIGN##_##NR_BYTES) sim_core_read_unaligned_##NR_BYTES (STATE_CPU (sd, 0), cia, \
- sim_core_read_map, \
+ read_map, \
(EA)))
#define STORE(EA, NR_BYTES, VAL) \
do { \
sim_core_write_unaligned_##NR_BYTES (STATE_CPU (sd, 0), cia, \
- sim_core_write_map, \
+ write_map, \
(EA), (VAL)); \
} while (0)