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/sis.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/sis.c')
-rw-r--r-- | sim/erc32/sis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/erc32/sis.c b/sim/erc32/sis.c index 2cb75a6..2354df9 100644 --- a/sim/erc32/sis.c +++ b/sim/erc32/sis.c @@ -82,7 +82,7 @@ extern int era; int run_sim(sregs, icount, dis) struct pstate *sregs; - unsigned int icount; + uint64 icount; int dis; { int irq, mexc, deb, asi; |