diff options
author | Evan Hunter <ehunter@broadcom.com> | 2015-07-17 12:41:12 +0100 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2015-11-07 20:36:13 +0000 |
commit | 987201c6dc4329c79057d6057a451e8e2c3568dc (patch) | |
tree | 6e2516cbdc27cdfcf3eff41051996379a7e3a315 /src/target/cortex_a.h | |
parent | 7ae5b45f75f0becea3bc8e165ddd19a84674fbed (diff) |
Cortex A/R : Allow interrupt disable during single-step
Example usage:
cortex_a maskisr on
cortex_a maskisr off
cortex_r maskisr on
cortex_r maskisr off
Change-Id: I799288d9b848a06f561ba29ec1eb8e5eeace5685
Signed-off-by: Evan Hunter <ehunter@broadcom.com>
Reviewed-on: http://openocd.zylin.com/2876
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/target/cortex_a.h')
-rw-r--r-- | src/target/cortex_a.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/cortex_a.h b/src/target/cortex_a.h index ebf79b88..e124a9e0 100644 --- a/src/target/cortex_a.h +++ b/src/target/cortex_a.h @@ -55,6 +55,11 @@ #define CORTEX_A_PADDRDBG_CPU_SHIFT 13 +enum cortex_a_isrmasking_mode { + CORTEX_A_ISRMASK_OFF, + CORTEX_A_ISRMASK_ON, +}; + struct cortex_a_brp { int used; int type; @@ -91,6 +96,8 @@ struct cortex_a_common { uint32_t ttypr; uint32_t didr; + enum cortex_a_isrmasking_mode isrmasking_mode; + struct armv7a_common armv7a_common; }; |