Mail Archives: djgpp-workers/1997/09/29/10:01:52
> Do we have any means to detect whether the DPMI host is IOPL 0 or
> IOPL 3? If not, based on what you say, it seems that CLI/STI is a
> better choice, since most of the DPMI are IOPL 3.
PUSHF, then some tests. I did read someplace that sometimes Windows
will do both depending on the context, but I never investigated. It
would be interesting to see which are which.
> So any problems with IRET should be affecting us in any code that
> involves signals, no?
Yes, and I'm not sure we always handle the interrupt flag properly
in exceptions, either. At one time there was an IRET in longjmp.
- Raw text -