Legacy Networking | sonic.c: Replace set_vector with rtems_interrupt_catch (!27)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Oct 13 18:31:42 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_134897
> */
>
> /* 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);
This problem also came up during the removal of `set_vector`. It seems that maybe we need another API call to quiesce the interrupt vector state (prior to enabling it)?
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_134897
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/20251013/9e101683/attachment.htm>
More information about the bugs
mailing list