summaryrefslogtreecommitdiffstats
path: root/linux-user/linux_loop.h
diff options
context:
space:
mode:
authorPeter Maydell2019-05-07 13:55:03 +0200
committerPeter Maydell2019-05-07 13:55:03 +0200
commitb01e2f0284a2df11aef990219104e3f52c317061 (patch)
tree3b0541553b7ac1a6d8a42a754f13f3efa1d0dfb8 /linux-user/linux_loop.h
parentosdep: Fix mingw compilation regarding stdio formats (diff)
downloadqemu-b01e2f0284a2df11aef990219104e3f52c317061.tar.gz
qemu-b01e2f0284a2df11aef990219104e3f52c317061.tar.xz
qemu-b01e2f0284a2df11aef990219104e3f52c317061.zip
hw/arm/armv7m_nvic: Check subpriority in nvic_recompute_state_secure()
Rule R_CQRV says that if two pending interrupts have the same group priority then ties are broken by looking at the subpriority. We had a comment describing this but had forgotten to actually implement the subpriority comparison. Correct the omission. (The further tie break rules of "lowest exception number" and "secure before non-secure" are handled implicitly by the order in which we iterate through the exceptions in the loops.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190430131439.25251-2-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions