RTEMS | contrib/riscv: add zicsr option to csr macros (!1228)

Joel Sherrill (@joel) gitlab at rtems.org
Sun May 3 19:06:30 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1228 was reviewed by Joel Sherrill

--
  
Joel Sherrill started a new discussion on contrib/cpukit/riscv-opcodes/encoding.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1228#note_149432

 >  #ifdef __GNUC__
 >  
 > +#ifdef __rtems__

How does having these as macros dependent on __rtems__ fix the use of instructions not present on specific CPU models?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1228
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260503/08532cc5/attachment.htm>


More information about the bugs mailing list