On 08/22/2017 08:08 AM, Peter Maydell wrote: > 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.mayd...@linaro.org> > --- > target/arm/cpu.h | 4 ++-- > hw/intc/armv7m_nvic.c | 8 ++++---- > target/arm/cpu.c | 26 ++++++++++++++++++++------ > target/arm/helper.c | 11 ++++++----- > target/arm/machine.c | 12 ++++++++---- > 5 files changed, 40 insertions(+), 21 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~