Lucian Silistru commented on a discussion on bsps/riscv/shared/rnmi/riscv-rnmi-handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158078 > + */ > + > +#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 > + There's some macros on powerpc I could look at. It duplicates quite a bit, at least (F)SREG/(F)LREG blocks could be reused. When I was investigating on that (I hoped ppc critical interrupts would not be disabled by interrupt disable) I found navigating them a little annoying for readability as someone that did not know what exactly they were doing. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1391#note_158078 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-etxw0vzvxtdsx72ejsipniqac-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
