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 2021/04/10 06:50:24 UTC

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #3471: arch: Fix the stack boundary calculation and check

btashton commented on a change in pull request #3471:
URL: https://github.com/apache/incubator-nuttx/pull/3471#discussion_r611007050



##########
File path: arch/arm/src/tiva/common/lmxx_tm4c_start.c
##########
@@ -53,9 +53,7 @@
  * ARM EABI requires 64 bit stack alignment.
  */
 
-#define IDLE_STACKSIZE (CONFIG_IDLETHREAD_STACKSIZE & ~7)

Review comment:
       @xiaoxiang781216 this is what I am talking about. Won't the heap base be wrong if the stack size config variable is not on the right boundary.




-- 
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.

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