Legacy Networking | sonic.c: Replace set_vector with rtems_interrupt_catch (!27)

Vijay Banerjee (@vijay) gitlab at rtems.org
Fri Nov 21 21:35:23 UTC 2025




Vijay Banerjee commented on a discussion on bsps/shared/net/sonic.c: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_136198

 >  */
 >  
 >    /* Ignore returned old handler */
 > -  (void) set_vector(sonic_interrupt_handler, sc->vector, 1);
 > -
 > +    rtems_interrupt_catch(sonic_interrupt_handler,
 > +                          sc->vector,
 > +                          &old_isr_entry);
 > +    rtems_interrupt_clear(sc->vector);
 > +    rtems_interrupt_vector_enable(sc->vector);

Fixed in the new version of the commit. Thanks

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_136198
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/20251121/fd0c42c5/attachment.htm>


More information about the bugs mailing list