aboutsummaryrefslogtreecommitdiff
path: root/target/mips
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-01-21 10:23:12 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-01-21 10:38:54 +0000
commit50494a279dab22a015aba9501a94fcc3cd52140e (patch)
tree0a2d2ab7d036d1c21606e7399ba04440eff54e19 /target/mips
parent65e4655c609a4a2fd428459d3efb62b704488fd6 (diff)
downloadqemu-50494a279dab22a015aba9501a94fcc3cd52140e.zip
qemu-50494a279dab22a015aba9501a94fcc3cd52140e.tar.gz
qemu-50494a279dab22a015aba9501a94fcc3cd52140e.tar.bz2
target/arm: Introduce arm_mmu_idx
The pattern ARMMMUIdx mmu_idx = core_to_arm_mmu_idx(env, cpu_mmu_index(env, false)); is computing the full ARMMMUIdx, stripping off the ARM bits, and then putting them back. Avoid the extra two steps with the appropriate helper function. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190108223129.5570-17-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/mips')
0 files changed, 0 insertions, 0 deletions