aboutsummaryrefslogtreecommitdiff
path: root/scripts/xen-detect.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-08-22 17:31:06 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-08-22 17:31:06 +0100
commita5637bec4c8989373f70c3d2841988c967fc4642 (patch)
treea07b92874406c6f00e268a9925ac7a5b322c3f1f /scripts/xen-detect.c
parent4f51edd3cd1746c0eee66eebafdfb642f8dd7e87 (diff)
downloadqemu-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/xen-detect.c')
0 files changed, 0 insertions, 0 deletions