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 2022/03/18 08:53:54 UTC

[GitHub] [incubator-nuttx] jlaitine edited a comment on pull request #5775: arch/risc-v: Merge riscv_getnewintctx into common

jlaitine edited a comment on pull request #5775:
URL: https://github.com/apache/incubator-nuttx/pull/5775#issuecomment-1072204575


   I think this should be done as follows:
   - read the csr
   - mask the bits which should be preserved (from ISA spec)
   - set all the other bits
   
   Don't preserve any other bits here except the ones which are specified to be preserved


-- 
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-unsubscribe@nuttx.apache.org

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