nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] patacongo edited a comment on pull request #957: Add nx_ variant for fs API
Date Sun, 03 May 2020 20:41:58 GMT

patacongo edited a comment on pull request #957:

   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.
   It would be preferable to create the TLS data at the "beginning" (ie., hight address) of
the stack using up_stack_frame, but think that cannot be done easily for a variety of reasons.

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:

View raw message