diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-19 12:57:18 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-19 12:57:18 +0000 |
commit | 3dcd4a7f96b42c66f2f54881e7eded2ec9d0f2c2 (patch) | |
tree | 5c8a62c3ba35c954cdf58f67d3550ba075548859 /hw/etraxfs_timer.c | |
parent | 71fcd907205049518e26114fb6d1c08589557809 (diff) | |
download | qemu-3dcd4a7f96b42c66f2f54881e7eded2ec9d0f2c2.tar.gz qemu-3dcd4a7f96b42c66f2f54881e7eded2ec9d0f2c2.tar.bz2 qemu-3dcd4a7f96b42c66f2f54881e7eded2ec9d0f2c2.zip |
ETRAX: Correct the frequency of the free-running counter.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6101 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs_timer.c')
-rw-r--r-- | hw/etraxfs_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index ea0009aa8b..a895ed38f3 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -96,7 +96,7 @@ static uint32_t timer_readl (void *opaque, target_phys_addr_t addr) 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; |