nvic: Expose NMI line
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:33 +0000 (11:24 +0100)
commit514b4f361b65c49303877829561faad5e1d2463c
tree242f8e56e2a7db4d5087033e6d4ff1cd88414775
parent050c2ea07b18b77c7562512a2b73e86e48c5c4b7
nvic: Expose NMI line

On real v7M hardware, the NMI line is an externally visible signal
that an SoC or board can toggle to assert an NMI. Expose it in
our QEMU NVIC and armv7m container objects so that a board model
can wire it up if it needs to.

In particular, the MPS2 watchdog is wired to NMI.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/arm/armv7m.c
hw/intc/armv7m_nvic.c
hw/intc/trace-events