sim: constify sim_write source buffer (part 2)

As pointed out by Sandra Loosemore, a bunch of targets define sim_write
themselves instead of using the common/ code.  So constify them too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2010-04-14 07:38:06 +00:00
parent e1caee70ee
commit 5558e7e691
30 changed files with 74 additions and 18 deletions

View File

@ -1622,7 +1622,7 @@ sim_trace (SIM_DESC sd)
}
int
sim_write (SIM_DESC sd, SIM_ADDR addr, unsigned char *buffer, int size)
sim_write (SIM_DESC sd, SIM_ADDR addr, const unsigned char *buffer, int size)
{
int osize = size;