hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Jan 2025 22:56:12 +0000 (23:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jan 2025 12:58:26 +0000 (12:58 +0000)
commit13f113e46944e735cc1d9fadd62d61d8ead7856e
tree27040c57ae6e4c7a190d4b072a06ebb5ac5bce36
parented734377ab3f3f3cc15d7aa301a87ab6370f2eed
hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m'

The ARMv7MState object is not simply a CPU, it also
contains the NVIC, SysTick timer, and various MemoryRegions.

Rename the field as 'armv7m', like other Cortex-M boards.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20250112225614.33723-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/nrf51_soc.c
include/hw/arm/nrf51_soc.h