commit | 4e999bf4197ae3dc58b7092260f98146920a7469 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Sun Jan 28 15:58:52 2024 +1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Sat Feb 03 16:46:10 2024 +1000 |
tree | 989ae0ccf4a936449c5a21f77a0309b823b4462d | |
parent | 167d6cd0e855eb64d51707fea194833695bac2c4 [diff] |
target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill Rather than adjust env->hflags so that the value computed by cpu_mmu_index() changes, compute the mmu_idx that we want directly and pass it down. Introduce symbolic constants for MMU_{KERNEL,ERL}_IDX. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>