You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/14 10:07:33 UTC

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5490: riscv/k210: Check idle stack before load to cpu[x]

no1wudi commented on a change in pull request #5490:
URL: https://github.com/apache/incubator-nuttx/pull/5490#discussion_r805683069



##########
File path: arch/risc-v/src/k210/k210_head.S
##########
@@ -48,15 +48,29 @@ __start:
 
   /* Set stack pointer to the idle thread stack */
 
-  bnez a0, 1f
+  bnez a0, boot_slave_core
   la   sp, K210_IDLESTACK0_TOP
-  j    2f
-1:
+  j    common_startup
+
+boot_slave_core:

Review comment:
       Just for better readability




-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org