RTEMS | Draft: bsps/riscv: add Smrnmi extension support (!1391)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Aug 26 16:57:27 UTC 2026
Gedare Bloom started a new discussion on bsps/riscv/riscv/irq/rnmi.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158071
> + write_csr(0x740, ctx_addr);
> +}
> +
> +void riscv_rnmi_deferred_enable(void)
> +{
> + _RISCV_RNMI_deferred_enable_action(NULL);
> +#ifdef RTEMS_SMP
> + _SMP_Othercast_action(_RISCV_RNMI_deferred_enable_action, NULL);
> +#endif
> +}
> +
> +void __attribute__((weak))
> +riscv_rnmi_deferred_work_dispatch(uintptr_t mncause, uintptr_t mnepc)
> +{
> + printk("RNMI: mncause=0x%016" PRIxPTR " mnepc=0x%016" PRIxPTR "\n",
> + mncause, mnepc);
This should probably be only with RTEMS_DEBUG?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158071
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-7ovucu376d0ktn39umro5mtag-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/59515d58/attachment-0001.htm>
More information about the bugs
mailing list