target/arm: Move {arm_s1_, }regime_using_lpae_format to tlb_helper.c
commitcd6bc4d51730e9cf47489029d078d18c3bcb3ae2
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:52 +0000 (8 19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:52 +0000 (8 19:38 +0100)
tree993ffd4ff4142cdd24e09f976836d66be1c63086
parent11552bb0d95484c99233ec2f09c25261885d08ed
target/arm: Move {arm_s1_, }regime_using_lpae_format to tlb_helper.c

These functions are used for both page table walking and for
deciding what format in which to deliver exception results.
Since ptw.c is only present for system mode, put the functions
into tlb_helper.c.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220604040607.269301-18-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/tlb_helper.c