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

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Nov 5 20:14:46 UTC 2025




Gedare Bloom started a new discussion on bsps/shared/net/sonic.c: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_135724

 >  */
 >  
 >    /* 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);

the whitespace looks wrong?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/27#note_135724
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/20251105/79d1ec5c/attachment.htm>


More information about the bugs mailing list