[Bug 1748] LEON nanoseconds skipping back when called during timer tick

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Mar 4 07:14:44 UTC 2011


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

--- Comment #9 from Rolf Schroedter <rolf.schroedter at dlr.de> 2011-03-04 01:14:44 CST ---
(In reply to comment #8)
> Created an attachment (id=1121)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1121) [details]
> Second Version .. includes erc32, leon2 and leon3
> 
> This version of the patch fixes all of the SPARC BSPs plus a bug in a macro in
> shared/include/ambapp.h.  All three platforms passed the new test to evaluate
> this condition and failed before the patch.
> 
> Please review and say OK and I will commit this.

Your patch looks fine and is should be okay for now.
Checking the interrupt pending from the interrupt controller was one option we
discussed with Daniel H.
However for future Daniel proposed not to rely on the interrupt controller,
because interrupts might be shared. Instead we are discussing to use GPTIMER
interrupt pending bit incl. autodetection.

-- 
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