nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo commented on pull request #957: Add nx_ variant for fs API
Date Sun, 03 May 2020 20:38:57 GMT

patacongo commented on pull request #957:
URL: https://github.com/apache/incubator-nuttx/pull/957#issuecomment-623178027


   I just submitted PR #962 that implements the first baby step:  A common API to get the
stack address.
   
   In order to be compatible with standard TLS, the data must be stores at the lower end of
the stack (in standard TLS, the SP is AND-ed with a mask to bet the TLS location.  That gets
the allocation base address of the stack.  A push down stack will start at the highest address
and be decremented down.  On stack overflow it will clobber the TLS data.
   
   It is possible that the existence of data at the lower address will cause a problem for
stack coloration and stack checking logic.
   


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



Mime
View raw message