RTEMS | bsps/riscv: Put processor to sleep if not boot processor (!1014)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Wed Feb 4 16:02:59 UTC 2026



Matteo Concas created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1014

Project:Branches: matteo.concas/rtems-gaisler:gaisler/riscv-no-smp to rtems/rtos/rtems:main
Author:   Matteo Concas



## Summary

bsps/riscv: Put processor to sleep if not boot processor

If `RTEMS_SMP` is not enabled, this will compare the `RISCV_BOOT_HARTID` with the current hart ID and loop forever if they are not equal.

Needed to have non-SMP BSPs run on multicore systems


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1014
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/20260204/d3bb6012/attachment.htm>


More information about the bugs mailing list