OSDN Git Service

target/arm: Introduce tlbi_aa64_get_range
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Mar 2022 21:59:52 +0000 (11:59 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 2 Mar 2022 19:27:37 +0000 (19:27 +0000)
commitab1cdb47bf89602b3cacf60720971c68f1758a40
tree707495529d012bd58790095173347221c4ea799c
parent13e481c9335582fc7eed12e24e8d4d7068b24ff8
target/arm: Introduce tlbi_aa64_get_range

Merge tlbi_aa64_range_get_length and tlbi_aa64_range_get_base,
returning a structure containing both results.  Pass in the
ARMMMUIdx, rather than the digested two_ranges boolean.

This is in preparation for FEAT_LPA2, where the interpretation
of 'value' depends on the effective value of DS for the regime.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220301215958.157011-13-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c