Mask interrupts from inside the ISR
Till Straumann
strauman at slac.stanford.edu
Wed Jan 21 20:37:44 UTC 2009
What BSP?
Till
Leon Pollak wrote:
> Hello, all.
>
> Sorry for a stupid question, but I do not see an answer after studying the
> irq.c files:
>
> If I am inside the ISR and I came to the conclusion that I do not want to have
> this interrupt any more, how can I block it?
>
> Independently of my actions in ISR, the code in irq.c file will restore the
> previous mask value after exiting from my ISR (restoration comes from the
> old_simr_h & old_simr_l variables local to the C_dispatch_irq_handler for
> PowerPC).
>
> Thanks ahead for the help.
>
More information about the users
mailing list