summary refs log tree commit diff stats
path: root/hw/timer/imx_gpt.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2017-02-28 12:08:18 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-02-28 12:08:18 +0000
commita25dc805e2e63a55029e787a52335e12dabf07dc (patch)
tree673e21844680308089a21a059c92a595f5d1f2b1 /hw/timer/imx_gpt.c
parenta5d8235545e98c1ce02560d5f4f57552d937efe9 (diff)
downloadfocaccia-qemu-a25dc805e2e63a55029e787a52335e12dabf07dc.tar.gz
focaccia-qemu-a25dc805e2e63a55029e787a52335e12dabf07dc.zip
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 'hw/timer/imx_gpt.c')
0 files changed, 0 insertions, 0 deletions