[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mask interrupts from inside the ISR
- Date: Wed, 21 Jan 2009 12:37:44 -0800
- From: strauman at slac.stanford.edu (Till Straumann)
- Subject: Mask interrupts from inside the ISR
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.
>