diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-24 15:18:39 +1000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-10-27 10:27:23 +0100 |
commit | 48da29e485af5c92e284fbb6ef279b2a98eea7c4 (patch) | |
tree | 8750a1481bf34ffa986e9a3feb9abcd97536ed2a /target/arm/cpu.h | |
parent | edc05dd43ade287e735f1d8c972562dbdd12a378 (diff) | |
download | qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.zip qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.tar.gz qemu-48da29e485af5c92e284fbb6ef279b2a98eea7c4.tar.bz2 |
target/arm: Add ptw_idx to S1Translate
Hoist the computation of the mmu_idx for the ptw up to
get_phys_addr_with_struct and get_phys_addr_twostage.
This removes the duplicate check for stage2 disabled
from the middle of the walk, performing it only once.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20221024051851.3074715-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
0 files changed, 0 insertions, 0 deletions