diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2023-08-22 17:31:06 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-08-22 17:31:06 +0100 |
commit | a5637bec4c8989373f70c3d2841988c967fc4642 (patch) | |
tree | a07b92874406c6f00e268a9925ac7a5b322c3f1f /scripts | |
parent | 4f51edd3cd1746c0eee66eebafdfb642f8dd7e87 (diff) | |
download | qemu-a5637bec4c8989373f70c3d2841988c967fc4642.zip qemu-a5637bec4c8989373f70c3d2841988c967fc4642.tar.gz qemu-a5637bec4c8989373f70c3d2841988c967fc4642.tar.bz2 |
target/arm/ptw: Pass ptw into get_phys_addr_pmsa*() and get_phys_addr_disabled()
In commit 6d2654ffacea813916176 we created the S1Translate struct and
used it to plumb through various arguments that we were previously
passing one-at-a-time to get_phys_addr_v5(), get_phys_addr_v6(), and
get_phys_addr_lpae(). Extend that pattern to get_phys_addr_pmsav5(),
get_phys_addr_pmsav7(), get_phys_addr_pmsav8() and
get_phys_addr_disabled(), so that all the get_phys_addr_* functions
we call from get_phys_addr_nogpc() take the S1Translate struct rather
than the mmu_idx and is_secure bool.
(This refactoring is a prelude to having the called functions look
at ptw->is_space rather than using an is_secure boolean.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230807141514.19075-5-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions