On 2/6/23 12:34, Philippe Mathieu-Daudé wrote:
arm_v7m_mmu_idx_all() and arm_v7m_mmu_idx_for_secstate_and_priv()
are only used for system emulation in m_helper.c.
Move the definitions to avoid prototype forward declarations.

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  target/arm/internals.h | 14 --------
  target/arm/m_helper.c  | 74 +++++++++++++++++++++---------------------
  2 files changed, 37 insertions(+), 51 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to