Arm IRQ entry in Cpukit/score/arm/arm_exec_interrupt. S, where BSP most concern is the BL bsp_interrupt_dispatch This sentence, see Beagle BSP implementation, c/src/lib/libbsp/arm/beagle/ IRQ.C, the implementation is very simple, find out which interrupt source (vector number) caused by the interrupt, and then call Bsp_interrupt_handler_dispatch can, after the last interrupt processing, notify the interrupt Controller interrupt processing end, The next interrupt can be introduced.
Several functions related to interrupts:
- Bsp_interrupt_facility_initialize (): Interrupt Controller initialization
- Bsp_interrupt_vector_enable (): Interrupts the controller to enable interrupt
- Bsp_interrupt_vector_disable (): Disable Interrupt Controller generation
- Bsp_interrupt_dispatch (): Locate the interrupt source, and then call Bsp_interrupt_handler_dispatch
Rtems 4.11 IRQ (Arm,beagle)