diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-03 06:17:35 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-03 06:17:35 +0000 |
commit | 68fb89a2c07b6ad1e69a9a45f664d533f2662ec6 (patch) | |
tree | fda0fe64363a15cf360a440b52d46605b0bf4e26 /hw/sun4m_iommu.c | |
parent | 25da2f343cba4f854f19b2b52817f2e5c851ee17 (diff) |
sparc32: improve timer implementation
Timer with zero period (free-run) will never match.
Timer counting starts with tick value of 0x200, not from 0,
so the period must calculated from one tick less than the limit.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4m_iommu.c')
0 files changed, 0 insertions, 0 deletions