OSDN Git Service

target/i386: Assert !ADDSEG for x86_64 user-only
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:06 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:46 +0000 (12:15 -0500)
commitbeedb93c04bd90868d49f640cdf9dbb439c9fa8f
tree6e098a7c1d292d8a0abb6fcd752c90a17d02e998
parent73e90dc458b8f7d5802fc364359c125305ea04fa
target/i386: Assert !ADDSEG for x86_64 user-only

LMA disables traditional segmentation, exposing a flat address space.
This means that ADDSEG is off.

Since we're adding an accessor macro, pull the value directly out
of flags otherwise.

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