aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/sim-cr16.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-09 23:04:53 -0800
committerMike Frysinger <vapier@gentoo.org>2015-11-10 02:17:15 -0500
commit6637a4265e6144f5a9ad29e9fa08aba4bd959cb9 (patch)
tree3373068fcf52a3c7e9dedcccf026050e5ca94c71 /include/gdb/sim-cr16.h
parentc316a17c40e44e8798b34ff84130904f2e7a53de (diff)
downloadgdb-6637a4265e6144f5a9ad29e9fa08aba4bd959cb9.zip
gdb-6637a4265e6144f5a9ad29e9fa08aba4bd959cb9.tar.gz
gdb-6637a4265e6144f5a9ad29e9fa08aba4bd959cb9.tar.bz2
sim: cr16/d10v: localize translation funcs
These functions are only used in the interp module, so there's no point in exporting them and declaring them in the external sim interface.
Diffstat (limited to 'include/gdb/sim-cr16.h')
-rw-r--r--include/gdb/sim-cr16.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/gdb/sim-cr16.h b/include/gdb/sim-cr16.h
index 4d4da04..03f4b81 100644
--- a/include/gdb/sim-cr16.h
+++ b/include/gdb/sim-cr16.h
@@ -33,29 +33,6 @@ enum
SIM_CR16_MEMORY_IMAP = 0x10000000
};
-extern unsigned long sim_cr16_translate_dmap_addr
- (unsigned long offset,
- int nr_bytes,
- unsigned long *phys,
- void *regcache,
- unsigned long (*dmap_register) (void *regcache, int reg_nr));
-
-extern unsigned long sim_cr16_translate_imap_addr
- (unsigned long offset,
- int nr_bytes,
- unsigned long *phys,
- void *regcache,
- unsigned long (*imap_register) (void *regcache, int reg_nr));
-
-extern unsigned long sim_cr16_translate_addr
- (unsigned long vaddr,
- int nr_bytes,
- unsigned long *phys,
- void *regcache,
- unsigned long (*dmap_register) (void *regcache, int reg_nr),
- unsigned long (*imap_register) (void *regcache, int reg_nr));
-
-
/* The simulator makes use of the following register information. */
enum sim_cr16_regs