RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Sunil Hegde (@sunil-hegde)
gitlab at rtems.org
Wed Mar 12 20:10:55 UTC 2025
Sunil Hegde commented on a discussion on bsps/sparc/erc32/include/tm27.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120819
> #define TM27_USE_VECTOR_HANDLER
>
> #define Install_tm27_vector( handler ) \
> - set_vector( (handler), TEST_VECTOR, 1 );
> + rtems_isr_entry previous_handler; \
> + rtems_interrupt_catch( (handler), TEST_VECTOR, &previous_handler ); \
> +
> + if (SPARC_IS_INTERRUPT_TRAP(TEST_VECTOR)) \
replaced it with a new helper function
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120819
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250312/c3b37843/attachment.htm>
More information about the bugs
mailing list