RTEMS | Draft: bsps/riscv: add Smrnmi extension support (!1391)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Aug 26 16:52:48 UTC 2026




Gedare Bloom started a new discussion on bsps/riscv/riscv/irq/irq.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158068

 >  {
 >    rtems_vector_number max;
 >  
 > +#ifdef RISCV_SMRNMI
 > +  /* The RNMI vectors are located above the external interrupts */
 > +  if (RISCV_INTERRUPT_VECTOR_IS_RNMI(vector)) {

you could define `RISCV_INTERRUPT_VECTOR_IS_RNMI()` as false when `!RISCV_SMRNMI` and simplify some logic.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158068
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-4m2bmaquiu7223hy0ymeqai0j-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260826/4bc73c03/attachment.htm>


More information about the bugs mailing list