summary refs log tree commit diff stats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-07-17 13:36:07 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-07-17 13:36:07 +0100
commit8d92e26b452f8961ec90df3f93cf5f3b7a9d158f (patch)
treec614b7a6bfc7cfe276edf0d777a0111091636757 /include/exec/exec-all.h
parent5cc56cc6872122af318f07088b7d599c3781719f (diff)
downloadfocaccia-qemu-8d92e26b452f8961ec90df3f93cf5f3b7a9d158f.tar.gz
focaccia-qemu-8d92e26b452f8961ec90df3f93cf5f3b7a9d158f.zip
target/arm: Make Cortex-M3 and M4 default to 8 PMSA regions
The Cortex-M3 and M4 CPUs always have 8 PMSA MPU regions (this isn't
a configurable option for the hardware).  Make the default value of
the pmsav7-dregion property be set per-cpu, so we don't need to have
every user of these CPUs set it manually.  (The existing default of
16 is correct for the other PMSAv7 core, the Cortex-R5.)

This fixes a bug where we were creating the M3 and M4 with
too many regions; most guest software would not notice or
care, though, since it would just not use the registers
associated with the unexpected extra regions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1499788408-10096-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions