target/arm: Migrate MPU_RNR register state for M profile cores
commitf1a4694078f1b43cb2f72a1ec81b1c635d8793d1
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Jul 2017 10:59:10 +0000 (27 11:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 31 Jul 2017 12:09:52 +0000 (31 13:09 +0100)
tree00488b9a59fbdd1ea4350b69b91128909a23e128
parent69ceea64bf565559a2b865ffb2a097d2caab805b
target/arm: Migrate MPU_RNR register state for M profile cores

The PMSAv7 region number register is migrated for R profile
cores using the cpreg scheme, but M profile doesn't use
cpregs, and so we weren't migrating the MPU_RNR register state
at all. Fix that by adding a migration subsection for the
M profile case.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1501153150-19984-6-git-send-email-peter.maydell@linaro.org
target/arm/machine.c