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

@ -245,7 +245,7 @@ sim_read (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)
}
int
sim_write (SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length)
sim_write (SIM_DESC sd, SIM_ADDR mem, const unsigned char *buf, int length)
{
int i;