* [Qemu-devel] [6635] Reload ptimers on reset
@ 2009-02-21 11:13 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-02-21 11:13 UTC (permalink / raw)
To: qemu-devel
Revision: 6635
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6635
Author: blueswir1
Date: 2009-02-21 11:13:10 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Reload ptimers on reset
Modified Paths:
--------------
trunk/hw/sun4u.c
Modified: trunk/hw/sun4u.c
===================================================================
--- trunk/hw/sun4u.c 2009-02-21 05:48:19 UTC (rev 6634)
+++ trunk/hw/sun4u.c 2009-02-21 11:13:10 UTC (rev 6635)
@@ -274,13 +274,13 @@
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-21 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-21 11:13 [Qemu-devel] [6635] Reload ptimers on reset Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).