]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-core.h
sim: add a proper sim_core_trans_addr prototype
[thirdparty/binutils-gdb.git] / sim / common / sim-core.h
index 5797be0e625a372be1faaf730c5d88ef4ca82719..9607b6029c5bd2ed12cc7b74002b87a523b3c60f 100644 (file)
@@ -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.