diff options
| author | Richard Henderson | 2019-01-21 11:23:12 +0100 |
|---|---|---|
| committer | Peter Maydell | 2019-01-21 11:38:54 +0100 |
| commit | 50494a279dab22a015aba9501a94fcc3cd52140e (patch) | |
| tree | 0a2d2ab7d036d1c21606e7399ba04440eff54e19 /scripts | |
| parent | target/arm: Move cpu_mmu_index out of line (diff) | |
| download | qemu-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
