forked from Imagelibrary/binutils-gdb
sim: add a proper sim_core_trans_addr prototype
The common code has a sim_core_trans_addr() helper that only the m32r code uses. Move the inline extern in the m32r code to the proper common header. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -241,6 +241,14 @@ extern unsigned sim_core_xor_write_buffer
|
||||
unsigned nr_bytes);
|
||||
|
||||
|
||||
/* Translate an address based on a map. */
|
||||
|
||||
extern void *sim_core_trans_addr
|
||||
(SIM_DESC sd,
|
||||
sim_cpu *cpu,
|
||||
unsigned map,
|
||||
address_word addr);
|
||||
|
||||
|
||||
/* Fixed sized, processor oriented, read/write.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user