From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LapnH-0008VV-Fh for qemu-devel@nongnu.org; Sat, 21 Feb 2009 06:13:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LapnF-0008V1-Lw for qemu-devel@nongnu.org; Sat, 21 Feb 2009 06:13:13 -0500 Received: from [199.232.76.173] (port=58786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LapnF-0008Ut-BL for qemu-devel@nongnu.org; Sat, 21 Feb 2009 06:13:13 -0500 Received: from savannah.gnu.org ([199.232.41.3]:59644 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LapnF-0003Gc-0C for qemu-devel@nongnu.org; Sat, 21 Feb 2009 06:13:13 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LapnD-00030V-Ot for qemu-devel@nongnu.org; Sat, 21 Feb 2009 11:13:11 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LapnD-00030Q-CX for qemu-devel@nongnu.org; Sat, 21 Feb 2009 11:13:11 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 21 Feb 2009 11:13:11 +0000 Subject: [Qemu-devel] [6635] Reload ptimers on reset Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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