sti within interrupt handler
sti within interrupt handler
The way I'm implementing threading requires that I prematurely exit an interrupt handler. This requires I restore interrupts, but an "sti" doesn't seem to work. I've verified that it does set the IF bit, but the system clock interrupt won't fire, and so my thread switching won't work. Is there a reason why interrupts won't fire even though the IF bit is set?
Valix is an experiment in an interpreted userspace with object-oriented and functional design patterns. Developers needed! Join #valix on irc.freenode.net
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: sti within interrupt handler
Do you still send an EOI in the premature exit of the handler?
Re: sti within interrupt handler
thanks... I knew I was forgetting something
Valix is an experiment in an interpreted userspace with object-oriented and functional design patterns. Developers needed! Join #valix on irc.freenode.net