]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/internals.h
target/arm: Move stage_1_mmu_idx decl to internals.h
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:48 +0000 (19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:48 +0000 (19:38 +0100)
commitd8cca960a9a5dbd216d2331cef3cc72f2c7338e0
tree16aa79aadf4cc7850f65b18da1d35d187d453648
parentb3f5cc3fda5775b34aa52e111d50c9d10911b352
target/arm: Move stage_1_mmu_idx decl to internals.h

Move the decl from ptw.h to internals.h.  Provide an inline
version for user-only, just as we do for arm_stage1_mmu_idx.
Move an endif down to make the definition in helper.c be
system only.

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