]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.h
target/arm: Implement ARMv8M's PMSAv8 registers
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:51 +0000 (13:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Sep 2017 12:54:51 +0000 (13:54 +0100)
commit0e1a46bbd2d6c39614b87f4e88ea305acce8a35f
treef60754bcef3ac2228d9c92eb246b8e3b4d95b70b
parentdc89a180caf143a5d596d3f2f776d13be83a687d
target/arm: Implement ARMv8M's PMSAv8 registers

As part of ARMv8M, we need to add support for the PMSAv8 MPU
architecture.

PMSAv8 differs from PMSAv7 both in register/data layout (for instance
using base and limit registers rather than base and size) and also in
behaviour (for example it does not have subregions); rather than
trying to wedge it into the existing PMSAv7 code and data structures,
we define separate ones.

This commit adds the data structures which hold the state for a
PMSAv8 MPU and the register interface to it.  The implementation of
the MPU behaviour will be added in a subsequent commit.

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