RTEMS | bsps/leon3: Fix AMBA frequency initialization (!1174)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Wed Apr 8 08:01:15 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1174 was reviewed by Matteo Concas

--
  
Matteo Concas started a new discussion on bsps/sparc/leon3/start/amba.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1174#note_148211

 >       */
 >      if (leon3_timer_prescaler)
 >        grlib_store_32(&LEON3_Timer_Regs->sreload, leon3_timer_prescaler);

Sorry for being a bit late, but I think that in the case where `leon3_timer_prescaler` is non-zero we will access `LEON3_Timer_Regs` before it's initialized here.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1174
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260408/0ef1f648/attachment-0001.htm>


More information about the bugs mailing list