OSDN Git Service

nvic: Add cached vectpending_is_s_banked state
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Sep 2017 18:13:50 +0000 (19:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2017 15:29:23 +0000 (16:29 +0100)
commite93bc2ac11cd37796fd48e11eaeacec3aff20f9c
treecab4b58e036475b4181edf17adb14686397d634c
parent17906a162a1febef92e1d3eddc090e967a351757
nvic: Add cached vectpending_is_s_banked state

With banked exceptions, just the exception number in
s->vectpending is no longer sufficient to uniquely identify
the pending exception. Add a vectpending_is_s_banked bool
which is true if the exception is using the sec_vectors[]
array.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1505240046-11454-4-git-send-email-peter.maydell@linaro.org
hw/intc/armv7m_nvic.c
include/hw/intc/armv7m_nvic.h