From 6637a4265e6144f5a9ad29e9fa08aba4bd959cb9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 9 Nov 2015 23:04:53 -0800 Subject: 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. --- sim/cr16/interp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sim/cr16/interp.c') diff --git a/sim/cr16/interp.c b/sim/cr16/interp.c index 6e31e1a..5b3f5bb 100644 --- a/sim/cr16/interp.c +++ b/sim/cr16/interp.c @@ -426,7 +426,7 @@ imap_register (void *regcache, int reg_nr) /* Given a virtual address in the DMAP address space, translate it into a physical address. */ -unsigned long +static unsigned long sim_cr16_translate_dmap_addr (unsigned long offset, int nr_bytes, unsigned long *phys, @@ -489,7 +489,7 @@ sim_cr16_translate_dmap_addr (unsigned long offset, /* Given a virtual address in the IMAP address space, translate it into a physical address. */ -unsigned long +static unsigned long sim_cr16_translate_imap_addr (unsigned long offset, int nr_bytes, unsigned long *phys, @@ -542,7 +542,7 @@ sim_cr16_translate_imap_addr (unsigned long offset, return nr_bytes; } -unsigned long +static unsigned long sim_cr16_translate_addr (unsigned long memaddr, int nr_bytes, unsigned long *targ_addr, void *regcache, unsigned long (*dmap_register) (void *regcache, -- cgit v1.1