diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-10-08 11:21:53 -0500 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-20 16:12:00 +0100 |
commit | 4aedfc0f633fd06dd2a5dc8ffa93f4c56117e37f (patch) | |
tree | 98507d445c494babe3847dea28c85d06efd34ee4 /hw/net | |
parent | e7534f29b1587527613fdce3e460ac4720e5d18b (diff) | |
download | qemu-4aedfc0f633fd06dd2a5dc8ffa93f4c56117e37f.zip qemu-4aedfc0f633fd06dd2a5dc8ffa93f4c56117e37f.tar.gz qemu-4aedfc0f633fd06dd2a5dc8ffa93f4c56117e37f.tar.bz2 |
target/arm: Remove redundant mmu_idx lookup
We already have the full ARMMMUIdx as computed from the
function parameter.
For the purpose of regime_has_2_ranges, we can ignore any
difference between AccType_Normal and AccType_Unpriv, which
would be the only difference between the passed mmu_idx
and arm_mmu_idx_el.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Message-id: 20201008162155.161886-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions