qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6101] ETRAX: Correct the frequency of the free-running cou


From: Edgar E. Iglesias
Subject: [Qemu-devel] [6101] ETRAX: Correct the frequency of the free-running counter.
Date: Fri, 19 Dec 2008 12:57:18 +0000

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 <address@hidden>

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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]