diff options
author | Peter Maydell | 2021-08-12 11:33:34 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-01 12:08:18 +0200 |
commit | 2089c0102d6c8f5abead691e045d5d73aef717c1 (patch) | |
tree | 5367054698d4ecd41e5c12da821da391ef0861e3 /include/hw/arm | |
parent | arm: Move systick device creation from NVIC to ARMv7M object (diff) | |
download | qemu-2089c0102d6c8f5abead691e045d5d73aef717c1.tar.gz qemu-2089c0102d6c8f5abead691e045d5d73aef717c1.tar.xz qemu-2089c0102d6c8f5abead691e045d5d73aef717c1.zip |
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
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/armv7m.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/arm/armv7m.h b/include/hw/arm/armv7m.h index 360c35c5fb..fe8b248a6c 100644 --- a/include/hw/arm/armv7m.h +++ b/include/hw/arm/armv7m.h @@ -77,6 +77,10 @@ struct ARMv7MState { * NS systick device if appropriate. */ MemoryRegion systick_ns_mem; + /* Ditto, for the sysregs region provided by the NVIC */ + MemoryRegion sysreg_ns_mem; + /* MR providing default PPB behaviour */ + MemoryRegion defaultmem; /* Properties */ char *cpu_type; |