summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Henderson2019-01-21 11:23:12 +0100
committerPeter Maydell2019-01-21 11:38:54 +0100
commit50494a279dab22a015aba9501a94fcc3cd52140e (patch)
tree0a2d2ab7d036d1c21606e7399ba04440eff54e19 /scripts
parenttarget/arm: Move cpu_mmu_index out of line (diff)
downloadqemu-50494a279dab22a015aba9501a94fcc3cd52140e.tar.gz
qemu-50494a279dab22a015aba9501a94fcc3cd52140e.tar.xz
qemu-50494a279dab22a015aba9501a94fcc3cd52140e.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions