diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-05-05 11:02:03 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-05-05 11:02:03 +0000 |
commit | 054b091623edcdc962e8c65066039f38edf2f814 (patch) | |
tree | cab15bc2ad80709893da11027a38e2514e14ed39 /src/target/arm7_9_common.c | |
parent | a1562e8f560759cdd5c36c957bf12137eda9e419 (diff) |
- further work on ETB decoding (not yet functional)
- fixed several uses of uninitialized bits (Thanks to Vincent Palatin for finding and fixing these bugs)
git-svn-id: svn://svn.berlios.de/openocd/trunk@145 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r-- | src/target/arm7_9_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index 5569ad5b..d28aca59 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -2496,6 +2496,8 @@ int handle_arm7_9_etb_command(struct command_context_s *cmd_ctx, char *cmd, char arm7_9->etb->chain_pos = strtoul(args[1], NULL, 0); arm7_9->etb->cur_scan_chain = -1; arm7_9->etb->reg_cache = NULL; + arm7_9->etb->RAM_width = 0; + arm7_9->etb->RAM_depth = 0; return ERROR_OK; } |