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

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Aug 26 17:00:24 UTC 2026




Gedare Bloom started a new discussion on bsps/riscv/shared/rnmi/riscv-rnmi-handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158073

 > + */
 > +
 > +#ifdef HAVE_CONFIG_H
 > +#include "config.h"
 > +#endif
 > +
 > +#include <rtems/asm.h>
 > +#include <rtems/score/percpu.h>
 > +#include <bsp/riscv-rnmi.h>
 > +
 > +PUBLIC(_RISCV_RNMI_handler)
 > +
 > +	.section	.text, "ax", @progbits
 > +	.align	2
 > +	.option	arch, +zicsr
 > +

a lot of this is duplicated from riscv-exception-handler.S, can we share/reuse the code?

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


More information about the bugs mailing list