From 22bc5194ae101282cf5c30d681d7f4720bec2534 Mon Sep 17 00:00:00 2001 From: drath Date: Wed, 25 Apr 2007 20:15:59 +0000 Subject: - added support for error handlers to JTAG scan commands (jtag_[plain_][ir|dr]_scan) - catch apparently broken JTAG IR scan after ARM926EJ-S CP15 operations - added "arm7_9 dump_etb" command git-svn-id: svn://svn.berlios.de/openocd/trunk@142 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/etb.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/target/etb.h') diff --git a/src/target/etb.h b/src/target/etb.h index 55b7857b..12e613ff 100644 --- a/src/target/etb.h +++ b/src/target/etb.h @@ -20,6 +20,7 @@ #ifndef ETB_H #define ETB_H +#include "command.h" #include "target.h" #include "register.h" #include "arm_jtag.h" @@ -43,6 +44,10 @@ typedef struct etb_s int chain_pos; int cur_scan_chain; reg_cache_t *reg_cache; + + /* ETB parameters */ + int RAM_depth; + int RAM_width; } etb_t; typedef struct etb_reg_s @@ -59,4 +64,6 @@ extern int etb_store_reg(reg_t *reg); extern int etb_set_reg(reg_t *reg, u32 value); extern int etb_set_reg_w_exec(reg_t *reg, u8 *buf); +extern int etb_register_commands(struct command_context_s *cmd_ctx, command_t *arm7_9_cmd); + #endif /* ETB_H */ -- cgit v1.2.3