evolution124 commented on issue #19713:
URL: https://github.com/apache/nuttx/issues/19713#issuecomment-5203149720
and in file arch/risc-v/src/qemu-rv/qemu_rv_start.c
```
#ifdef CONFIG_SMP
# ifdef CONFIG_BUILD_PROTECTED
qemu_rv_configure_mpu();
# endif
**riscv_cpu_boot(mhartid); //should change to
riscv_cpu_boot(riscv_hartid_to_cpuid(mhartid));**
#endif
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org