target/arm: Introduce mmu indexes for GCS

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-28-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Richard Henderson
2025-10-10 10:42:12 +01:00
committed by Peter Maydell
parent 35ba934011
commit f76cee647c
7 changed files with 132 additions and 43 deletions
+3 -2
View File
@@ -198,9 +198,10 @@ struct CPUClass {
};
/*
* Fix the number of mmu modes to 16.
* Fix the number of mmu modes across all targets.
* Current maximum is target/arm/.
*/
#define NB_MMU_MODES 16
#define NB_MMU_MODES 22
typedef uint32_t MMUIdxMap;
/* Use a fully associative victim tlb of 8 entries. */