[Bug 1807] sparc - rtems_bsp_delay depends on the clock driver

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon May 23 20:40:45 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1807

--- Comment #3 from Jiri Gaisler <jiri at gaisler.com> 2011-05-23 15:40:44 CDT ---
The scaler on both ERC32 and LEON platform is initialized by the boot-loader or
debug monitor to generate a 1 us tick to the timers. Timer 1 is used as O/S
timer, with a default time-out of 10,000 (10 ms). The additional timers are not
used. A small delay could be implemented by polling timer 1, adjusting for
underflow/roll-over. Alternatively, timer 2 could be started with maximum
time-out and polled instead. In both cases, an interrupt could cause the
polling to fail unless interrupt are disabled ...

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list