Mask interrupts from inside the ISR

Leon Pollak leonp at plris.com
Wed Jan 21 17:38:33 UTC 2009


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.
-- 
Leon 



More information about the users mailing list