no1wudi commented on pull request #5775:
URL: https://github.com/apache/incubator-nuttx/pull/5775#issuecomment-1072083359


   > In my understanding, we can not use csrc/csrs in exception_common to 
save/restore the mstatus.
   
   Only few bits like `MSTATUS_FS_INIT / MSTATUS_MPPM / MSTATUS_MPIE` will be 
used by user tasks, it might be a potential issue that a bit were changed by 
bit operation for some reason, but it would be override by task's mstatus by 
context switch.
   


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

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

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


Reply via email to