diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-02 22:57:08 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-02 23:08:43 -0800 |
commit | f0c3e7011f9a829b518770247d143b1ac612f0f1 (patch) | |
tree | 3f150050455d13588b6e58a09905be31d66bf8a3 /src/target/arm11_dbgtap.h | |
parent | 62dd15d78f57d56310bb3cb1bfc9b8995cb69668 (diff) |
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_dbgtap.h')
-rw-r--r-- | src/target/arm11_dbgtap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm11_dbgtap.h b/src/target/arm11_dbgtap.h index 2203361d..fa197447 100644 --- a/src/target/arm11_dbgtap.h +++ b/src/target/arm11_dbgtap.h @@ -11,7 +11,7 @@ void arm11_add_IR(struct arm11_common *arm11, uint8_t instr, tap_state_t state); int arm11_add_debug_SCAN_N(struct arm11_common *arm11, uint8_t chain, tap_state_t state); -int arm11_read_DSCR(struct arm11_common *arm11, uint32_t *dscr); +int arm11_read_DSCR(struct arm11_common *arm11); int arm11_write_DSCR(struct arm11_common *arm11, uint32_t dscr); enum target_debug_reason arm11_get_DSCR_debug_reason(uint32_t dscr); |