target/arm: Export arm_v7m_get_sp_ptr
authorDavid Reiss <dreiss@meta.com>
Mon, 27 Feb 2023 21:33:28 +0000 (11:33 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Mar 2023 14:08:11 +0000 (14:08 +0000)
commit6c8676512f347cc6c3d89bed45540df08fb2b4ef
tree72baa30f78cfe4c468d95da44152e79197527ad6
parent48688c94418590585c05faed6fd7abb3296bf686
target/arm: Export arm_v7m_get_sp_ptr

Allow the function to be used outside of m_helper.c.
Move to be outside of ifndef CONFIG_USER_ONLY block.
Rename from get_v7m_sp_ptr.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: David Reiss <dreiss@meta.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230227213329.793795-14-richard.henderson@linaro.org
[rth: Split out of a larger patch]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/internals.h
target/arm/tcg/m_helper.c