target/arm: Move regime_is_secure() to target/arm/internals.h
commit61fcd69b0db268e7612b07fadc436b93def91768
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:54 +0000 (7 13:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:54 +0000 (7 13:54 +0100)
tree2cd9c8bfb4fa08f3e1e63570fbef64f1218411bc
parent334e8dad7a109d15cb20b090131374ae98682a50
target/arm: Move regime_is_secure() to target/arm/internals.h

Move the regime_is_secure() utility function to internals.h;
we are going to want to call it from translate.c.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1503414539-28762-20-git-send-email-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h