* [Qemu-devel] [6101] ETRAX: Correct the frequency of the free-running counter.
@ 2008-12-19 12:57 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-12-19 12:57 UTC (permalink / raw)
To: qemu-devel
Revision: 6101
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6101
Author: edgar_igl
Date: 2008-12-19 12:57:18 +0000 (Fri, 19 Dec 2008)
Log Message:
-----------
ETRAX: Correct the frequency of the free-running counter.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Modified Paths:
--------------
trunk/hw/etraxfs_timer.c
Modified: trunk/hw/etraxfs_timer.c
===================================================================
--- trunk/hw/etraxfs_timer.c 2008-12-19 12:49:13 UTC (rev 6100)
+++ trunk/hw/etraxfs_timer.c 2008-12-19 12:57:18 UTC (rev 6101)
@@ -96,7 +96,7 @@
D(printf ("R_TMR1_DATA\n"));
break;
case R_TIME:
- r = qemu_get_clock(vm_clock) * 10;
+ r = qemu_get_clock(vm_clock) / 10;
break;
case RW_INTR_MASK:
r = t->rw_intr_mask;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-19 12:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19 12:57 [Qemu-devel] [6101] ETRAX: Correct the frequency of the free-running counter Edgar E. Iglesias
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).