aboutsummaryrefslogtreecommitdiff
path: root/user-exec.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2017-02-20 14:04:42 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-02-20 14:04:42 +0000
commit13ce330688f3f2046f2321547af0de8360b25880 (patch)
tree2059dc8b57985ea80a91c5e6f4d05fc64d1eed54 /user-exec.c
parent37a1dea58508a52060df3a94ddb4d03dd334ce96 (diff)
armv7m: Simpler and faster exception start
All the places in armv7m_cpu_do_interrupt() which pend an exception in the NVIC are doing so for synchronous exceptions. We know that we will always take some exception in this case, so we can just acknowledge it immediately, rather than returning and then immediately being called again because the NVIC has raised its outbound IRQ line. Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com> [PMM: tweaked commit message; added DEBUG to the set of exceptions we handle immediately, since it is synchronous when it results from the BKPT instruction] Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'user-exec.c')
0 files changed, 0 insertions, 0 deletions