[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mask interrupts from inside the ISR
- Date: Wed, 21 Jan 2009 19:38:33 +0200
- From: leonp at plris.com (Leon Pollak)
- Subject: Mask interrupts from inside the ISR
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