target/arm: Move arm_{ldl,ldq}_ptw to ptw.c
commit11552bb0d95484c99233ec2f09c25261885d08ed
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:51 +0000 (8 19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:51 +0000 (8 19:38 +0100)
treeef2deaecf71c323b2e3a857973c5278fd3a6b7ed
parent3283222acd7579cdbc338360fa6e611027f3c8dc
target/arm: Move arm_{ldl,ldq}_ptw to ptw.c

Move the ptw load functions, plus 3 common subroutines:
S1_ptw_translate, ptw_attrs_are_device, and regime_translation_big_endian.
This also allows get_phys_addr_lpae to become static again.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220604040607.269301-17-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/ptw.c
target/arm/ptw.h