diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-09-12 19:13:59 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-09-21 16:31:09 +0100 |
commit | 94a34abe32fcdc70b3ee388ccf48b6d3d1aedcfc (patch) | |
tree | f417bc89951f5fed8a0d23856a21d20ce614260d /hw/intc/exynos4210_combiner.c | |
parent | 80ac2390358c906215a849670ca5b7a3d1d112a3 (diff) |
nvic: In escalation to HardFault, support HF not being priority -1
When escalating to HardFault, we must go into Lockup if we
can't take the synchronous HardFault because the current
execution priority is already at or below the priority of
HardFault. In v7M HF is always priority -1 so a simple < 0
comparison sufficed; in v8M the priority of HardFault can
vary depending on whether it is a Secure or NonSecure
HardFault, so we must check against the priority of the
HardFault exception vector we're about to use.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505240046-11454-13-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/intc/exynos4210_combiner.c')
0 files changed, 0 insertions, 0 deletions