W-M-R opened a new pull request, #14477:
URL: https://github.com/apache/nuttx/pull/14477

   ## Summary
   The linux implementation is as follows:
   /*
    * Modify bits in a sysreg. Bits in the clear mask are zeroed, then bits in 
the
    * set mask are set. Other bits are left as-is. */ u64 __scs_val = 
read_sysreg(sysreg);                              \ u64 __scs_new = (__scs_val 
& ~(u64)(clear)) | (set);          \ if (__scs_new != __scs_val)                
                   \ write_sysreg(__scs_new, sysreg);                      \ } 
while (0)
   ## Impact
   NOne
   ## Testing
   None
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to