summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 22:57:08 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-02 23:08:43 -0800
commitf0c3e7011f9a829b518770247d143b1ac612f0f1 (patch)
tree3f150050455d13588b6e58a09905be31d66bf8a3 /src/target/arm11.h
parent62dd15d78f57d56310bb3cb1bfc9b8995cb69668 (diff)
downloadopenocd+libswd-f0c3e7011f9a829b518770247d143b1ac612f0f1.tar.gz
openocd+libswd-f0c3e7011f9a829b518770247d143b1ac612f0f1.tar.bz2
openocd+libswd-f0c3e7011f9a829b518770247d143b1ac612f0f1.tar.xz
openocd+libswd-f0c3e7011f9a829b518770247d143b1ac612f0f1.zip
ARM11: store a clean copy of DSCR
Just store a clean copy of DSCR in the per-CPU struct, so we trivially pass a pointer to a recent copy. This replaces the previous "last_dscr" and cleans up most of the related calling conventions ... but it doesn't remove the other DSCR copy.
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index 56feb2ea..1cc09e14 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -59,8 +59,7 @@ struct arm11_common
size_t wrp; /**< Number of Watchpoint Register Pairs from DIDR */
size_t free_brps; /**< Number of breakpoints allocated */
- uint32_t last_dscr; /**< Last retrieved DSCR value;
- Use only for debug message generation */
+ uint32_t dscr; /**< Last retrieved DSCR value. */
uint32_t saved_rdtr;
uint32_t saved_wdtr;