diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2010-05-11 14:18:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2010-05-11 14:18:20 +0000 |
commit | 941100245a42cb730b23ff0f6889265e2e5f9e2f (patch) | |
tree | b86032d14d811fd2fad3ad74257ea4cd71b14350 /sim/erc32/erc32.c | |
parent | 3390ce3004b151603ed765692601af7050fa53fd (diff) | |
download | gdb-941100245a42cb730b23ff0f6889265e2e5f9e2f.zip gdb-941100245a42cb730b23ff0f6889265e2e5f9e2f.tar.gz gdb-941100245a42cb730b23ff0f6889265e2e5f9e2f.tar.bz2 |
2010-04-20 Tiemen Schut <T.Schut@sron.nl>
* erc32.c (sis_memory_write): Change prototype to const unsigned char *.
* func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64
for counts.
* interf.c (run_sim): Change icount to uint64_t. Use strtol directly.
(sim_resume): Specify maximum run time as uint64.
* sis.c (run_sim): Change icount to uint64_t.
* sis.h: Define uint64 as uint64_t. Change various fields and
prototypes to uint64 to support longer simulations.
Diffstat (limited to 'sim/erc32/erc32.c')
-rw-r--r-- | sim/erc32/erc32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/erc32/erc32.c b/sim/erc32/erc32.c index c79dfd6..0e89273 100644 --- a/sim/erc32/erc32.c +++ b/sim/erc32/erc32.c @@ -1860,9 +1860,9 @@ get_mem_ptr(addr, size) int sis_memory_write(addr, data, length) - uint32 addr; - char *data; - uint32 length; + uint32 addr; + const unsigned char *data; + uint32 length; { char *mem; |