RTEMS | Draft: sparc/erc32: removed uses, prototype and implementation of set_vector() (!447)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Mar 12 18:04:52 UTC 2025
Gedare Bloom started a new discussion on bsps/sparc/erc32/include/tm27.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120808
> #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)) \
I think the empty line needs a continuation for this to be in the macro.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_120808
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/dbab0864/attachment.htm>
More information about the bugs
mailing list