On Sat, May 4, 2019 at 1:12 PM Andy Lutomirski <l...@amacapital.net> wrote:
>
> As an aside, is it even *possible* to get #BP from v8086 mode?  On a quick 
> SDM read, the INT3 instruction causes #GP if VM=1 and IOPL<3.  And, if we 
> allow vm86() to have IOPL=3, we should just remove that ability. It’s nuts.

Oh, and I think you mis-read the SDM.

Yes, iopl matters for "int X" (cd xx) instruction in vm86 mode.

But no, iopl does *not* matter for the special "int3/into/int1"
(cc/ce/f1) instructions, I think.

              Linus

Reply via email to