target/arm: Store CPUARMState::nvic as NVICState*
commit8f4e07c9d1e8cf58ab196148e0c179e95f70201e
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 6 Feb 2023 22:35:01 +0000 (6 23:35 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2023 16:00:47 +0000 (16 16:00 +0000)
tree2f32502c1624f2c281b9daa46049e984f0789e7e
parent2bd6918f3cfe939c1335f421da2cae0221cf28e5
target/arm: Store CPUARMState::nvic as NVICState*

There is no point in using a void pointer to access the NVIC.
Use the real type to avoid casting it while debugging.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230206223502.25122-11-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/armv7m_nvic.c
target/arm/cpu.c
target/arm/cpu.h
target/arm/m_helper.c