OSDN Git Service

target/arm: make arm_casq_ptw CONFIG_TCG only
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 30 Jun 2023 18:04:03 +0000 (19:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Jul 2023 11:51:58 +0000 (12:51 +0100)
commit465af4db965322630b253691b569b40cf84a2dbc
treeb41505e27c70a2a0a8abcc430a7e32d91d3191b3
parent7ea47af3905d37565d34beb4a35bc1b7bdc8a885
target/arm: make arm_casq_ptw CONFIG_TCG only

The ptw code is accessed by non-TCG code (specifically arm_pamax and
arm_cpu_get_phys_page_attrs_debug) but most of it is really only for
TCG emulation. Seeing as we already assert for a non TARGET_AARCH64
build lets extend the test rather than further messing with the ifdef
ladder.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-19-alex.bennee@linaro.org>
target/arm/ptw.c