hw interrupts off, __ipipe_handle_irq
Hello,
in the comment before the definition of the function __ipipe_handle_irq(), it is written : "hw interrupts are off on entry". For the isr of the nios2, is it done (disable hw interrupts) in entry.s or in __ipipe_grab_irq() ? In fact, we do not find where it is done. Regards
Adrien Chiron & Vincent Vanbesien
Quoted 5 lines · A C
Hello, in the comment before the definition of the function
__ipipe_handle_irq(), it is written : "hw interrupts are off on entry". For the isr of the nios2, is it done (disable hw interrupts) in entry.s or in__ipipe_grab_irq()? In fact, we do not find where it is done. Regards Adrien Chiron & Vincent Vanbesien
That is standard behaviour for a processor to enter interrupt handling code with interrupts disabled somehow. Otherwise, for level interrupts, you would get an infinite loop. So, what you should look for in entry.S are the points where interrupts are re-enabled, because this code is entered with irqs off, mostly.
Signature · 1 line
Gilles.