target/arm: Tidy ARMMMUIdx m-profile definitions
commit25568316b2a7e73d68701042ba6ebdb217205e20
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Feb 2020 14:04:24 +0000 (7 14:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2020 14:04:24 +0000 (7 14:04 +0000)
treeb3e0975596524e2c5ffbf06ea4c31ba057a2ba5a
parent5f09a6dfbfbff4662f52cc3130a2e07044816497
target/arm: Tidy ARMMMUIdx m-profile definitions

Replace the magic numbers with the relevant ARM_MMU_IDX_M_* constants.
Keep the definitions short by referencing previous symbols.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200206105448.4726-19-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h