[RTEMS Project] #4312: bsps, leon3: need to make cpucounter restart after underflow

RTEMS trac trac at rtems.org
Sun Mar 7 15:57:16 UTC 2021

#4312: bsps,leon3: need to make cpucounter restart after underflow
 Reporter:  Daniel Hellstrom  |       Owner:  Daniel Hellstrom
     Type:  defect            |      Status:  assigned
 Priority:  normal            |   Milestone:  6.1
Component:  bsps              |     Version:  5
 Severity:  normal            |  Resolution:
 Keywords:                    |  Blocked By:
 Blocking:                    |

Comment (by Daniel Hellstrom <daniel@…>):

 In [changeset:"cb8379dc0915c10960a0923a9869e98869e410bd/rtems"
 #!CommitTicketReference repository="rtems"
 leon: restart and load timer counter at initialization

 Without this smp05 and smpthreadlife01 tests may fail
 depending on how the boot loader initialized the GPTIMER.
 Before the time counter stopped counting when reaching
 zero, but tests could work since it could take 2^32 us
 before stopping.

 The timer driver will potentially overwrite this, but it
 happens later due to the initialization order having

 Update #4312.

Ticket URL: <http://devel.rtems.org/ticket/4312#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list