diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-15 12:25:29 -0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-15 21:35:31 -0500 |
commit | 137fbfd2818b5d1443f5f628e28b55b4e23037d1 (patch) | |
tree | b7ee43e99770f7d564b4e51ac5322a2031b0b2a7 /sim/cr16/cr16_sim.h | |
parent | c2270cd8a662cb8046bcde090db60a933b69d0ed (diff) | |
download | gdb-137fbfd2818b5d1443f5f628e28b55b4e23037d1.zip gdb-137fbfd2818b5d1443f5f628e28b55b4e23037d1.tar.gz gdb-137fbfd2818b5d1443f5f628e28b55b4e23037d1.tar.bz2 |
sim: cr16: delete unused memory helpers
These aren't used anywhere and are just leftover from the d10v port.
Delete them so follow up commits are easier to follow.
Diffstat (limited to 'sim/cr16/cr16_sim.h')
-rw-r--r-- | sim/cr16/cr16_sim.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sim/cr16/cr16_sim.h b/sim/cr16/cr16_sim.h index 5e0eabe..e9769ac 100644 --- a/sim/cr16/cr16_sim.h +++ b/sim/cr16/cr16_sim.h @@ -436,10 +436,8 @@ extern bfd_vma decode_pc (void); #else extern uint32 get_longword (uint8 *); extern uint16 get_word (uint8 *); -extern int64 get_longlong (uint8 *); extern void write_word (uint8 *addr, uint16 data); extern void write_longword (uint8 *addr, uint32 data); -extern void write_longlong (uint8 *addr, int64 data); #endif #define SW(addr,data) write_word(dmem_addr(addr),data) @@ -447,9 +445,6 @@ extern void write_longlong (uint8 *addr, int64 data); #define SLW(addr,data) write_longword(dmem_addr(addr),data) #define RLW(x) get_longword(dmem_addr(x)) #define READ_16(x) get_word(x) -#define WRITE_16(addr,data) write_word(addr,data) -#define READ_64(x) get_longlong(x) -#define WRITE_64(addr,data) write_longlong(addr,data) #define JMP(x) do { SET_PC (x); State.pc_changed = 1; } while (0) |