Commit 2f43e00ea77694bdc21486b65ec1bd1ca714a39a
1 parent
514f7a27
Reload ptimers on reset
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6635 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
3 deletions
hw/sun4u.c
@@ -274,13 +274,13 @@ static void main_cpu_reset(void *opaque) | @@ -274,13 +274,13 @@ static void main_cpu_reset(void *opaque) | ||
274 | cpu_reset(env); | 274 | cpu_reset(env); |
275 | env->tick_cmpr = TICK_INT_DIS | 0; | 275 | env->tick_cmpr = TICK_INT_DIS | 0; |
276 | ptimer_set_limit(env->tick, TICK_MAX, 1); | 276 | ptimer_set_limit(env->tick, TICK_MAX, 1); |
277 | - ptimer_run(env->tick, 0); | 277 | + ptimer_run(env->tick, 1); |
278 | env->stick_cmpr = TICK_INT_DIS | 0; | 278 | env->stick_cmpr = TICK_INT_DIS | 0; |
279 | ptimer_set_limit(env->stick, TICK_MAX, 1); | 279 | ptimer_set_limit(env->stick, TICK_MAX, 1); |
280 | - ptimer_run(env->stick, 0); | 280 | + ptimer_run(env->stick, 1); |
281 | env->hstick_cmpr = TICK_INT_DIS | 0; | 281 | env->hstick_cmpr = TICK_INT_DIS | 0; |
282 | ptimer_set_limit(env->hstick, TICK_MAX, 1); | 282 | ptimer_set_limit(env->hstick, TICK_MAX, 1); |
283 | - ptimer_run(env->hstick, 0); | 283 | + ptimer_run(env->hstick, 1); |
284 | env->gregs[1] = 0; // Memory start | 284 | env->gregs[1] = 0; // Memory start |
285 | env->gregs[2] = ram_size; // Memory size | 285 | env->gregs[2] = ram_size; // Memory size |
286 | env->gregs[3] = 0; // Machine description XXX | 286 | env->gregs[3] = 0; // Machine description XXX |