RTEMS | Draft: bsps/riscv: add Smrnmi extension support (!1391)
Lucian Silistru (@lsilistr)
gitlab at rtems.org
Wed Aug 26 17:16:06 UTC 2026
Lucian Silistru commented on a discussion on bsps/riscv/riscv/irq/rnmi.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158077
> + 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 needs to be removed like the ticker code, forgot about it.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158077
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-a0wyq0efnly33qmbizfemkbly-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/dfca598a/attachment.htm>
More information about the bugs
mailing list