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 2020/10/23 10:31:10 UTC

[GitHub] [incubator-nuttx] davids5 edited a comment on pull request #2061: Refactor arm interrupt stack related code

davids5 edited a comment on pull request #2061:
URL: https://github.com/apache/incubator-nuttx/pull/2061#issuecomment-715207683


   @xiaoxiang781216, @MasayukiIshikawa, @Ouss4 
   
     I would like to test this on HW.  
   
   I also think we need to define Top, bottom, base in terms of addresses.  
   
   Thing like this read wrong 
   
    `if (sp < istackbase && sp > istackbase - istacksize)` 
       
   high address
   <- top, bound
   
   <-sp
   <- bottom, base
   low addresses
   
   I need to review this more carefully, but it look to me that were are adding instructions for alignment when the compiler can do it.
   We need to all ways allocate larger for alignment.
   
   Update: `we are adding instructions for alignment` - I was looking not the latest changes @xiaoxiang781216 had asked for.


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