]> Git Repo - qemu.git/commit
arm: Move systick device creation from NVIC to ARMv7M object
authorPeter Maydell <[email protected]>
Thu, 12 Aug 2021 09:33:33 +0000 (10:33 +0100)
committerPeter Maydell <[email protected]>
Wed, 1 Sep 2021 10:08:18 +0000 (11:08 +0100)
commite36a25cb4759b9cfc122650a720e5a968b370a46
tree37a0fe2eb4b71e4751d410c033520f51909a6e09
parent2f9db77ea8330db9d038603055e0543512365283
arm: Move systick device creation from NVIC to ARMv7M object

There's no particular reason why the NVIC should be owning the
SysTick device objects; move them into the ARMv7M container object
instead, as part of consolidating the "create the devices which are
built into an M-profile CPU and map them into their architected
locations in the address space" work into one place.

This involves temporarily creating a duplicate copy of the
nvic_sysreg_ns_ops struct and its read/write functions (renamed as
v7m_sysreg_ns_*), but we will delete the NVIC's copy of this code in
a subsequent patch.

Signed-off-by: Peter Maydell <[email protected]>
Acked-by: Alistair Francis <[email protected]>
Reviewed-by: Luc Michel <[email protected]>
Message-id: 20210812093356[email protected]
hw/arm/armv7m.c
hw/intc/armv7m_nvic.c
include/hw/arm/armv7m.h
include/hw/intc/armv7m_nvic.h
This page took 0.027793 seconds and 4 git commands to generate.