Hans Lermen wrote: > > it seems that in p-mode, if cpl > iopl, popf instructions are not trapped. > correct. > DPMI under DOSEMU runs in normal Linux user space, hence protected mode > with IOPL=0 and CPL=3. > In protected mode popf _never_ traps (except for stack fault), from > the Intel Programmers Manual: Oops, sorry, didn't know about this. Knowing that it *is* trapped in VM86, I assumed that the same rules are correct also for protmode/dpmi since IOPL and CPL are the same as in VM86 and popf doesn't have enough privs...
And the described limitation is also valid for VM86 on older linux kernels which doesn't return to dosemu when VIF is changed hence leaving it with disabled ints. So there are seems to be two similar limitations, not one. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
