RTEMS | SMP: Minor system start improvements (!227)

Sebastian Huber (@sebhub) gitlab at rtems.org
Sat Sep 21 15:38:25 UTC 2024




Sebastian Huber commented on a discussion on cpukit/score/src/percpustatewait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/227#note_112409

 >  #endif
 >  
 >  #include <rtems/score/percpu.h>
 > -#include <rtems/counter.h>
 >  
 > -bool _Per_CPU_State_wait_for_non_initial_state(
 > -  uint32_t cpu_index,
 > -  uint32_t timeout_in_ns
 > -)
 > +#include <rtems/score/smpimpl.h>
 > +
 > +bool _Per_CPU_Wait_for_non_initial_state( uint32_t cpu_index )

This allows a tail call optimization.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/227#note_112409
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/20240921/fbd66449/attachment.htm>


More information about the bugs mailing list