diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-10 20:18:52 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-10-20 11:27:49 +0100 |
commit | 575a94af3c113157cf749364a921336ddd346e9a (patch) | |
tree | 1a455c592bc1f94aacda3cc517ae37e5e2daa1f2 /target/arm/cpu-param.h | |
parent | a1ce3084c572e39d588a7978002d83fee01edd60 (diff) | |
download | qemu-575a94af3c113157cf749364a921336ddd346e9a.zip qemu-575a94af3c113157cf749364a921336ddd346e9a.tar.gz qemu-575a94af3c113157cf749364a921336ddd346e9a.tar.bz2 |
target/arm: Move ARMMMUIdx_Stage2 to a real tlb mmu_idx
We had been marking this ARM_MMU_IDX_NOTLB, move it to a real tlb.
Flush the tlb when invalidating stage 1+2 translations. Re-use
alle1_tlbmask() for other instances of EL1&0 + Stage2.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20221011031911.2408754-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu-param.h')
-rw-r--r-- | target/arm/cpu-param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu-param.h b/target/arm/cpu-param.h index a5b27db..b7bde18 100644 --- a/target/arm/cpu-param.h +++ b/target/arm/cpu-param.h @@ -45,6 +45,6 @@ bool guarded; #endif -#define NB_MMU_MODES 10 +#define NB_MMU_MODES 12 #endif |