target/arm: Move regime_using_lpae_format into internal.h
commit2ea2998f27da92ae1225c1da95cee51a4a6783af
authorFabiano Rosas <farosas@suse.de>
Fri, 17 Feb 2023 20:11:34 +0000 (17 17:11 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Feb 2023 13:27:04 +0000 (27 13:27 +0000)
tree2b10163453f6ac1d5a18320e7463aa60d4d82418
parent671efad16a242b3fb5fb5111e9981d56887f7755
target/arm: Move regime_using_lpae_format into internal.h

This function is needed by common code (ptw.c), so move it along with
the other regime_* functions in internal.h. When we enable the build
without TCG, the tlb_helper.c file will not be present.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/internals.h
target/arm/tcg/tlb_helper.c