]> git.sur5r.net Git - openocd/commit
aarch64: disable interrupts when stepping [WIP]
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Mon, 19 Sep 2016 15:04:03 +0000 (17:04 +0200)
committerMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 10 Feb 2017 13:01:39 +0000 (14:01 +0100)
commitb430d0a1520903213e0796e9fcbc5ab180f1fbe8
tree5c693e006af6000afc4a87872d6e82c13d5aff66
parent4246fac240eb28e5a28112b71fc0b5f911e6c922
aarch64: disable interrupts when stepping [WIP]

On live hardware, interrupts will happen while the core is
held for stepping. The next step will most of the time execute an
interrupt service instead of the next line of code, which is not
what you expect. Disable interrupts through DSCR before resuming
for a step, and re-enable them again after the step happened.

This should be made configurable, like on cortex_a target.

Change-Id: I94d8ffb58cf7579dedb66bc756b7eb6828b6e8e4
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
src/target/aarch64.c