target/arm: Make MPU_RBAR, MPU_RLAR banked for v8M
commit62c58ee0b24eafb44c06402fe059fbd7972eb409
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:53 +0000 (7 13:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:53 +0000 (7 13:54 +0100)
treeaf7e6106d118cefe157af3c60b3c1be7e92db0cf
parent4125e6feb71c810ca38f0d8e66e748b472a9cc54
target/arm: Make MPU_RBAR, MPU_RLAR banked for v8M

Make the MPU registers MPU_MAIR0 and MPU_MAIR1 banked if v8M security
extensions are enabled.

We can freely add more items to vmstate_m_security without
breaking migration compatibility, because no CPU currently
has the ARM_FEATURE_M_SECURITY bit enabled and so this
subsection is not yet used by anything.

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