summaryrefslogtreecommitdiffstats
path: root/sim/common/sim-core.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-26 02:18:43 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-26 02:18:43 +0000
commita35a332283963d66a7ff272ace86cf49c50119e1 (patch)
treeaf4399c260992bc590e92d544e8a81f248f64956 /sim/common/sim-core.h
parentfc72a5f0f1a5b41a23ad80cead0e9bdc1459d7b3 (diff)
downloadppe42-binutils-a35a332283963d66a7ff272ace86cf49c50119e1.tar.gz
ppe42-binutils-a35a332283963d66a7ff272ace86cf49c50119e1.zip
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>
Diffstat (limited to 'sim/common/sim-core.h')
-rw-r--r--sim/common/sim-core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/common/sim-core.h b/sim/common/sim-core.h
index 5797be0e62..9607b6029c 100644
--- a/sim/common/sim-core.h
+++ b/sim/common/sim-core.h
@@ -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.
OpenPOWER on IntegriCloud