nvic: Add banked exception states
commit17906a162a1febef92e1d3eddc090e967a351757
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2017 15:28:59 +0000 (21 16:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2017 15:28:59 +0000 (21 16:28 +0100)
tree2775332378ae84f30e7081990fe7c0956ade32ad
parent50f11062d4c896408731d6a286bcd116d1e08465
nvic: Add banked exception states

For the v8M security extension, some exceptions must be banked
between security states. Add the new vecinfo array which holds
the state for the banked exceptions and migrate it if the
CPU the NVIC is attached to implements the security extension.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/intc/armv7m_nvic.c
include/hw/intc/armv7m_nvic.h