summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorMichael Bruck <mbruck@digenius.de>2009-10-27 22:41:00 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-10 14:00:24 +0100
commit627bd197689d71f7beb3e9cd11e2993fe0d4d880 (patch)
tree7d7a8bb52aefe98ed49b3f6585b4b91d0ad6c3d3 /src/target/arm11.h
parentc202ba7d34bd7feba88d7c0ee1aa9ef7be18bca9 (diff)
downloadopenocd+libswd-627bd197689d71f7beb3e9cd11e2993fe0d4d880.tar.gz
openocd+libswd-627bd197689d71f7beb3e9cd11e2993fe0d4d880.tar.bz2
openocd+libswd-627bd197689d71f7beb3e9cd11e2993fe0d4d880.tar.xz
openocd+libswd-627bd197689d71f7beb3e9cd11e2993fe0d4d880.zip
arm11: add etmr/etmw registers to access ETM via DBGTAP scan chain
First cut of these commands. Øyvind tinkered a bit with the number parsing to bring it up to speed + rebased it. Ready for testing. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index be5e77bd..100fc26a 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -184,4 +184,9 @@ typedef struct arm11_reg_state_s
int arm11_register_commands(struct command_context_s *cmd_ctx);
+int arm11_read_etm(arm11_common_t * arm11, uint8_t address, uint32_t *value);
+int arm11_write_etm(arm11_common_t * arm11, uint8_t address, uint32_t value);
+
+
+
#endif /* ARM11_H */