target/i386: split X86_CHECK_prot into PE and VM86 checks
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 May 2024 07:52:30 +0000 (09:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2024 07:47:39 +0000 (09:47 +0200)
commit556c4c5cc44c3454f78d796b6050c6d574a35dd2
treebce81f254c66f0a919814cfe951ab2ef70b08003
parentea89aa895e98fd8a1b9ebf7e3dc8bfcd863b9466
target/i386: split X86_CHECK_prot into PE and VM86 checks

SYSENTER is allowed in VM86 mode, but not in real mode.  Split the check
so that PE and !VM86 are covered by separate bits.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc
target/i386/tcg/decode-new.h