Jeremy Lorelli created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/887

Project:Branches: jjl77/rtems:pr-uC5282-interrupts to rtems/rtos/rtems:main
Author:   Jeremy Lorelli


Approvers: Amar Takhar, Chris Johns, Kinsey Moore, Joel Sherrill, Gedare Bloom, 
Christian Mauderer, Sebastian Huber and Vijay Banerjee


## Summary

Implements the new RTEMS interrupt API (`rtems_interrupt_handler_install`, 
etc.) for uC5282. Previously the only way to install handlers was through 
`BSP_installVME_isr`. For compatibility with existing EPICS software, 
`BSP_installVME_isr` and its functionality has been retained, though it's 
implemented using `rtems_interrupt_handler_install`. It still enables 
interrupts for `IRQn` for relevant vectors (65-71) in case any existing 
software relies on this behavior.

Also adds a safeguard to kill the entire system if the clock interrupt handler 
couldn't be installed.

This fixes a regression introduced by e9cb088995. 
`rtems_interrupt_handler_install` would return error, while PIT3 would still be 
configured, leading to spurious interrupts. I suspect that other m68k BSPs may 
also be affected by the same bug.

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/887
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to