LibBSD | bus_teardown_intr does not work on nexus bus (#13)

Loris Nardo (@loris.nardo) gitlab at rtems.org
Wed Nov 6 17:29:51 UTC 2024



Loris Nardo created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/13



## Summary
To remove a registered interrupt handler from bus_setup_intr, I called the bus_teardown_intr function however the implementation of the teardown function for the nexus bus does install again the interrupt handler instead of removing it. This can be seen in the function `nexus_teardown_intr` at rtemsbsd/rtems/rtems-kernel-nexus.c. The function probably should also free the cookie that `nexus_setup_intr` has allocated 


## Steps to reproduce


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/13
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/20241106/d1886e3a/attachment-0001.htm>


More information about the bugs mailing list