diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-10-16 22:16:21 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-10-16 22:16:21 +0000 |
commit | d6fe5ca5689638a23556073ca9207e8c706a6ef8 (patch) | |
tree | 41f379333790bb83253e99da77afe19cc16d178f /sim/d10v/d10v_sim.h | |
parent | 5c2556697f7f23dc449704a4ca2e58eaf2ef342f (diff) | |
download | gdb-d6fe5ca5689638a23556073ca9207e8c706a6ef8.zip gdb-d6fe5ca5689638a23556073ca9207e8c706a6ef8.tar.gz gdb-d6fe5ca5689638a23556073ca9207e8c706a6ef8.tar.bz2 |
Make read/write memory functions inlined
Diffstat (limited to 'sim/d10v/d10v_sim.h')
-rw-r--r-- | sim/d10v/d10v_sim.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sim/d10v/d10v_sim.h b/sim/d10v/d10v_sim.h index 038f23a..3ecdc7a 100644 --- a/sim/d10v/d10v_sim.h +++ b/sim/d10v/d10v_sim.h @@ -167,12 +167,12 @@ extern struct simops Simops[]; #undef ENDIAN_INLINE #else -uint32 get_longword PARAMS ((uint8 *)); -uint16 get_word PARAMS ((uint8 *)); -int64 get_longlong PARAMS ((uint8 *)); -void write_word PARAMS ((uint8 *addr, uint16 data)); -void write_longword PARAMS ((uint8 *addr, uint32 data)); -void write_longlong PARAMS ((uint8 *addr, int64 data)); +extern uint32 get_longword PARAMS ((uint8 *)); +extern uint16 get_word PARAMS ((uint8 *)); +extern int64 get_longlong PARAMS ((uint8 *)); +extern void write_word PARAMS ((uint8 *addr, uint16 data)); +extern void write_longword PARAMS ((uint8 *addr, uint32 data)); +extern void write_longlong PARAMS ((uint8 *addr, int64 data)); #endif #define SW(addr,data) write_word((long)(addr)+State.imem,data) |