RTEMS | bsps/riscv: use lw to load _SMP_Processor_configured_maximum on rv64 (!490)

Lucian Silistru (@lsilistr) gitlab at rtems.org
Sat May 24 18:25:15 UTC 2025



Lucian Silistru created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/490

Project:Branches: lsilistr/rtems:5251-LREG-to-lw-_SMP_Processor_configured_maximum to rtems/rtos/rtems:main
Author:   Lucian Silistru




## Summary

bsps/riscv: use lw to load _SMP_Processor_configured_maximum on rv64

_SMP_Processor_configured_maximum is 32 bit, LREG macro is ld on rv64,
lw on rv32. Changing the load to explicit 'lw' to always load 4 bytes

Closes #5251


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

Closes #5251

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/490
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/20250524/aedf75e9/attachment-0001.htm>


More information about the bugs mailing list