summary refs log tree commit diff stats
path: root/hw/timer/omap_synctimer.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-09-12 19:13:58 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-09-21 16:31:09 +0100
commit80ac2390358c906215a849670ca5b7a3d1d112a3 (patch)
tree4d8e3d9782eb200b8c678388947915e35f4bdee1 /hw/timer/omap_synctimer.c
parente6a0d3500d3a0032680a3eca038c60c5cbab60f8 (diff)
downloadfocaccia-qemu-80ac2390358c906215a849670ca5b7a3d1d112a3.tar.gz
focaccia-qemu-80ac2390358c906215a849670ca5b7a3d1d112a3.zip
nvic: Compare group priority for escalation to HF
In armv7m_nvic_set_pending() we have to compare the
priority of an exception against the execution priority
to decide whether it needs to be escalated to HardFault.
In the specification this is a comparison against the
exception's group priority; for v7M we implemented it
as a comparison against the raw exception priority
because the two comparisons will always give the
same answer. For v8M the existence of AIRCR.PRIS and
the possibility of different PRIGROUP values for secure
and nonsecure exceptions means we need to explicitly
calculate the vector's group priority for this check.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505240046-11454-12-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/omap_synctimer.c')
0 files changed, 0 insertions, 0 deletions