summaryrefslogtreecommitdiff
path: root/src/target/dsp563xx_once.h
diff options
context:
space:
mode:
authorMathias K <kesmtp@freenet.de>2011-02-15 17:25:10 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-02-15 20:20:00 +0100
commitfe0894015fd3d25593ce3a7211b1540ebfbab1f3 (patch)
treed6c9a5caf213bbd0fa082ae084d301e333d27398 /src/target/dsp563xx_once.h
parentaa9baf11a8080cab47f19905a0e7697a1128724e (diff)
downloadopenocd+libswd-fe0894015fd3d25593ce3a7211b1540ebfbab1f3.tar.gz
openocd+libswd-fe0894015fd3d25593ce3a7211b1540ebfbab1f3.tar.bz2
openocd+libswd-fe0894015fd3d25593ce3a7211b1540ebfbab1f3.tar.xz
openocd+libswd-fe0894015fd3d25593ce3a7211b1540ebfbab1f3.zip
- add parameter flush to the once api to signalize if the jtag queue need to be flushed after the command
Diffstat (limited to 'src/target/dsp563xx_once.h')
-rw-r--r--src/target/dsp563xx_once.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/target/dsp563xx_once.h b/src/target/dsp563xx_once.h
index 6b27694a..1ba9c1ee 100644
--- a/src/target/dsp563xx_once.h
+++ b/src/target/dsp563xx_once.h
@@ -72,22 +72,16 @@ int dsp563xx_once_request_debug(struct jtag_tap *tap, int reset_state);
int dsp563xx_once_target_status(struct jtag_tap *tap);
/** once read registers */
-int dsp563xx_once_read_register(struct jtag_tap *tap, struct once_reg *regs, int len);
+int dsp563xx_once_read_register(struct jtag_tap *tap, int flush, struct once_reg *regs, int len);
/** once read register */
-int dsp563xx_once_reg_read_ex_nq(struct jtag_tap *tap, uint8_t reg, uint8_t len, uint32_t * data);
+int dsp563xx_once_reg_read_ex(struct jtag_tap *tap, int flush, uint8_t reg, uint8_t len, uint32_t * data);
/** once read register */
-int dsp563xx_once_reg_read_ex(struct jtag_tap *tap, uint8_t reg, uint8_t len, uint32_t * data);
-/** once read register */
-int dsp563xx_once_reg_read(struct jtag_tap *tap, uint8_t reg, uint32_t * data);
+int dsp563xx_once_reg_read(struct jtag_tap *tap, int flush, uint8_t reg, uint32_t * data);
/** once write register */
-int dsp563xx_once_reg_write(struct jtag_tap *tap, uint8_t reg, uint32_t data);
-/** single word instruction */
-int dsp563xx_once_execute_sw_ir(struct jtag_tap *tap, uint32_t opcode);
-/** double word instruction */
-int dsp563xx_once_execute_dw_ir(struct jtag_tap *tap, uint32_t opcode, uint32_t operand);
+int dsp563xx_once_reg_write(struct jtag_tap *tap, int flush, uint8_t reg, uint32_t data);
/** single word instruction */
-int dsp563xx_once_execute_sw_ir_nq(struct jtag_tap *tap, uint32_t opcode);
+int dsp563xx_once_execute_sw_ir(struct jtag_tap *tap, int flush, uint32_t opcode);
/** double word instruction */
-int dsp563xx_once_execute_dw_ir_nq(struct jtag_tap *tap, uint32_t opcode, uint32_t operand);
+int dsp563xx_once_execute_dw_ir(struct jtag_tap *tap, int flush, uint32_t opcode, uint32_t operand);
#endif /* DSP563XX_ONCE_H */