Mail Archives: djgpp/2002/06/08/09:33:54
Hi folks,
While examining the source of the wrapper in gopint.c I found that it does
not issue a 'sti' before returning with 'iret'.
So I wonder if this is ok, as the DPMI Spec. says that 'popf' and thus also
'iret' may not modify the interrupt flag, wouldn't this leave the
interrupts disabled?
I realize that the wrapper is also written for software interrupts where
the interrupts aren't disabled. Then of course this is the right behaviour,
but it would mean that one must issue a 'sti' within your interrupt handler
if the wrapper is used for hardware interrupts. Is this right?
Please tell me if i'm mistaken.
- Raw text -