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

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Sep 1 18:44:22 UTC 2026




Gedare Bloom commented on a discussion on bsps/riscv/riscv/irq/rnmi.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158446

 > + */
 > +
 > +#include <bsp/fatal.h>
 > +#include <bsp/irq-generic.h>
 > +#include <bsp/riscv-rnmi.h>
 > +#include <bsp/rnmi.h>
 > +
 > +#include <inttypes.h>
 > +#include <rtems/bspIo.h>
 > +#include <rtems/score/cpu.h>
 > +#include <rtems/score/percpu.h>
 > +#include <rtems/score/riscv-utility.h>
 > +#include <rtems/score/smpimpl.h>
 > +
 > +/* Per-core deferred RNMI contexts */
 > +static RISCV_RNMI_Context _RISCV_RNMI_context[CPU_MAXIMUM_PROCESSORS];

My preference is to have ABI support available in cpukit, to the widest possible support of all BSPs. I think there is too much copy-paste-modify going on in the RISC-V BSPs already, we will end up with a lot of different solutions for the same problems.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158446
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-91s98aocg4104h7acwh188d8r-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/20260901/9f3f9513/attachment-0001.htm>


More information about the bugs mailing list