diff options
author | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2017-02-27 17:10:19 +0100 |
---|---|---|
committer | Matthias Welwarsky <matthias@welwarsky.de> | 2018-01-16 09:05:41 +0000 |
commit | b3d29cb5441ee5d38e8f7b561a58f03eb269dbe4 (patch) | |
tree | 2b0d763407ddac3be85ff4b7596e315b1fcb3eb3 /src/target/aarch64.h | |
parent | f7836bbc75586666d639edd1cf39a871c434d980 (diff) | |
download | riscv-openocd-b3d29cb5441ee5d38e8f7b561a58f03eb269dbe4.zip riscv-openocd-b3d29cb5441ee5d38e8f7b561a58f03eb269dbe4.tar.gz riscv-openocd-b3d29cb5441ee5d38e8f7b561a58f03eb269dbe4.tar.bz2 |
aarch64: add 'maskisr' command
Allow to configure ISR masking during single-step and add
handling for stepping over WFI with ISR masked.
Change-Id: I7918be7bcda6a1d9badac44fc36c59b52f662fef
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4023
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'src/target/aarch64.h')
-rw-r--r-- | src/target/aarch64.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/aarch64.h b/src/target/aarch64.h index c9ec02d..d7886a3 100644 --- a/src/target/aarch64.h +++ b/src/target/aarch64.h @@ -36,6 +36,11 @@ #define AARCH64_PADDRDBG_CPU_SHIFT 13 +enum aarch64_isrmasking_mode { + AARCH64_ISRMASK_OFF, + AARCH64_ISRMASK_ON, +}; + struct aarch64_brp { int used; int type; @@ -58,6 +63,8 @@ struct aarch64_common { struct aarch64_brp *brp_list; struct armv8_common armv8_common; + + enum aarch64_isrmasking_mode isrmasking_mode; }; static inline struct aarch64_common * |