arm: Move system PPB container handling to armv7m
commit2089c0102d6c8f5abead691e045d5d73aef717c1
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Aug 2021 09:33:34 +0000 (12 10:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Sep 2021 10:08:18 +0000 (1 11:08 +0100)
tree5367054698d4ecd41e5c12da821da391ef0861e3
parente36a25cb4759b9cfc122650a720e5a968b370a46
arm: Move system PPB container handling to armv7m

Instead of having the NVIC device provide a single sysbus memory
region covering the whole of the "System PPB" space, which implements
the default behaviour for unimplemented ranges and provides the NS
alias window to the sysregs as well as the main sysreg MR, move this
handling to the container armv7m device.  The NVIC now provides a
single memory region which just implements the system registers.
This consolidates all the handling of "map various devices in the
PPB" into the armv7m container where it belongs.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alexandre Iooss <erdnaxe@crans.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Message-id: 20210812093356.1946-4-peter.maydell@linaro.org
hw/arm/armv7m.c
hw/intc/armv7m_nvic.c
include/hw/arm/armv7m.h
include/hw/intc/armv7m_nvic.h