You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/05/22 19:25:30 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request #2601: pic32: Fix context switch

kasjer opened a new pull request #2601:
URL: https://github.com/apache/mynewt-core/pull/2601


   At some point task_t was modified and keeps stack
   bottom instead of stack top.
   t_stacktop -> t_stackbottom
   
   For PIC32 FPU context is stored at the very top of stack
   (CPU context is stored at current SP).
   Context switch code was not updated and still was
   using same storage from task_t that was changed.
   Lack of update resulted in writes to random places.
   
   This change computes stack top to restore functionality.


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



[GitHub] [mynewt-core] kasjer merged pull request #2601: pic32: Fix context switch

Posted by GitBox <gi...@apache.org>.
kasjer merged pull request #2601:
URL: https://github.com/apache/mynewt-core/pull/2601


   


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