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

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Mar 3 16:38:15 UTC 2011


--- Comment #7 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-03-03 10:38:15 CST ---
(In reply to comment #6)
> Yes, that should be okay.
> But why don't you disable interrupt.
> Can you assume, that the nanoseconds handler shall always be called with
> interrupts disabled ?
> IMO from the handlers point of view, it must make sure, that no interrupts
> disturb the register reads.

It is always called with interrupts disabled.  I need to check that this
is documented.

I think the LEON2 and LEON3 can have a similar fix if we ignore the newer LEON3
IP clearing change which is really not part of this bug.  It is just related to
the same code area.

Do you have a LEON3 fix tested?

> Rolf.

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