summaryrefslogtreecommitdiffstats
path: root/target/arm/tlb_helper.c
diff options
context:
space:
mode:
authorPeter Maydell2022-07-14 15:22:59 +0200
committerPeter Maydell2022-07-18 14:20:13 +0200
commitc1547bba7eead64575a662acd95a986ac2956213 (patch)
tree89fa882ad70cac5584cd835153b071277f9d22c6 /target/arm/tlb_helper.c
parenttarget/arm: Calculate mask/base_mask in get_level1_table_address() (diff)
downloadqemu-c1547bba7eead64575a662acd95a986ac2956213.tar.gz
qemu-c1547bba7eead64575a662acd95a986ac2956213.tar.xz
qemu-c1547bba7eead64575a662acd95a986ac2956213.zip
target/arm: Fold regime_tcr() and regime_tcr_value() together
The only caller of regime_tcr() is now regime_tcr_value(); fold the two together, and use the shorter and more natural 'regime_tcr' name for the new function. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220714132303.1287193-4-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/tlb_helper.c')
-rw-r--r--target/arm/tlb_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/tlb_helper.c b/target/arm/tlb_helper.c
index a2f87a5042..5a709eab56 100644
--- a/target/arm/tlb_helper.c
+++ b/target/arm/tlb_helper.c
@@ -20,7 +20,7 @@ bool regime_using_lpae_format(CPUARMState *env, ARMMMUIdx mmu_idx)
return true;
}
if (arm_feature(env, ARM_FEATURE_LPAE)
- && (regime_tcr_value(env, mmu_idx) & TTBCR_EAE)) {
+ && (regime_tcr(env, mmu_idx) & TTBCR_EAE)) {
return true;
}
return false;