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
This commit is contained in:
Lucian Silistru
2025-05-24 21:16:50 +03:00
committed by Kinsey Moore
parent ef07c0c540
commit 7ec18af86c

View File

@@ -74,7 +74,7 @@ SYM(_start):
* not much that can be done since we do not have a stack available for
* this processor. Just loop forever in this case.
*/
LREG t3, _SMP_Processor_configured_maximum
lw t3, _SMP_Processor_configured_maximum
bgeu s0, t3, .Lwfi
LADDR t0, _Per_CPU_Information