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

Gedare Bloom (@gedare) gitlab at rtems.org
Sun May 3 19:49:19 UTC 2026




Gedare Bloom commented on a discussion on contrib/cpukit/riscv-opcodes/encoding.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1228#note_149435

 >  
 >  #ifdef __GNUC__
 >  
 > +#ifdef __rtems__

The use of the __rtems__ macro is because this is a contrib 3rd party import file. We had the following macros modified in there before, it must have been added by Hesham, and then got removed by re-importing the upstream encoding.h file. The unmodified macros are after the `#else`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1228#note_149435
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/40fe87ba/attachment-0001.htm>


More information about the bugs mailing list