target/i386: Assert PE is set for user-only
commitd75f912927099574e4ff6d82ba08f2e1a9583c7a
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:12:58 +0000 (14 10:12 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:46 +0000 (19 12:15 -0500)
treeb140621e8edf03ad8971d22ec2faa69b8b36495a
parentca7874c2fa6502c612514024632cd6ae4a46641f
target/i386: Assert PE is set for user-only

A user-mode executable is never in real-mode.  Since we're adding
an accessor macro, pull the value directly out of flags for sysemu.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-7-richard.henderson@linaro.org>
target/i386/tcg/translate.c