diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-21 11:13:10 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-02-21 11:13:10 +0000 |
commit | 2f43e00ea77694bdc21486b65ec1bd1ca714a39a (patch) | |
tree | 6220ceb78ca214177c4f53c0e4cb49ed0cbc762b /hw | |
parent | 514f7a277473a79fd42303f128379792a4667e65 (diff) | |
download | qemu-2f43e00ea77694bdc21486b65ec1bd1ca714a39a.zip qemu-2f43e00ea77694bdc21486b65ec1bd1ca714a39a.tar.gz qemu-2f43e00ea77694bdc21486b65ec1bd1ca714a39a.tar.bz2 |
Reload ptimers on reset
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6635 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sun4u.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -274,13 +274,13 @@ static void main_cpu_reset(void *opaque) cpu_reset(env); env->tick_cmpr = TICK_INT_DIS | 0; ptimer_set_limit(env->tick, TICK_MAX, 1); - ptimer_run(env->tick, 0); + ptimer_run(env->tick, 1); env->stick_cmpr = TICK_INT_DIS | 0; ptimer_set_limit(env->stick, TICK_MAX, 1); - ptimer_run(env->stick, 0); + ptimer_run(env->stick, 1); env->hstick_cmpr = TICK_INT_DIS | 0; ptimer_set_limit(env->hstick, TICK_MAX, 1); - ptimer_run(env->hstick, 0); + ptimer_run(env->hstick, 1); env->gregs[1] = 0; // Memory start env->gregs[2] = ram_size; // Memory size env->gregs[3] = 0; // Machine description XXX |