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>
This commit is contained in:
Michael Bruck
2009-10-27 22:41:00 +01:00
committed by Øyvind Harboe
parent c202ba7d34
commit 627bd19768
3 changed files with 142 additions and 0 deletions

View File

@@ -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 */