Legacy Networking | sonic.c: Replace set_vector with rtems_interrupt_catch (!27)
Gedare Bloom (@gedare)
gitlab at rtems.org
Tue Oct 28 20:12:09 UTC 2025
Gedare Bloom commented on a discussion on bsps/shared/net/sonic.c: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_135435
> */
>
> /* Ignore returned old handler */
> - (void) set_vector(sonic_interrupt_handler, sc->vector, 1);
> + rtems_interrupt_catch(sonic_interrupt_handler,
> + sc->vector,
> + &old_isr_entry);
> + SPARC_Clear_and_unmask_interrupt(sc->vector);
Yes, that would seem to make sense to me.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_135435
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/20251028/057b148b/attachment-0001.htm>
More information about the bugs
mailing list