From 627bd197689d71f7beb3e9cd11e2993fe0d4d880 Mon Sep 17 00:00:00 2001 From: Michael Bruck Date: Tue, 27 Oct 2009 22:41:00 +0100 Subject: arm11: add etmr/etmw registers to access ETM via DBGTAP scan chain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/target/arm11.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/target/arm11.h') 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 */ -- cgit v1.2.3