xiaoxiang781216 commented on code in PR #5993:
URL: https://github.com/apache/incubator-nuttx/pull/5993#discussion_r844633684
##########
arch/risc-v/src/mpfs/mpfs_start.c:
##########
@@ -169,6 +175,16 @@ void __mpfs_start(uint64_t mhartid)
mpfs_boardinitialize();
+#ifdef CONFIG_ARCH_USE_S_MODE
+ /* Initialize the per CPU areas */
+
+ if (mhartid != 0)
+ {
+ riscv_percpu_init();
Review Comment:
Let's talk riscv_percpu_init in #5985
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]