diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 08:41:00 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 08:41:00 +0000 |
commit | 55be316dbf13dcb1cc54c41330ac37960e82630e (patch) | |
tree | b5d3c5b2072f3caa58d63db1417b65a44695164f /src/jtag/jtag.h | |
parent | a70d77aec391db10ec5b6dcf3dfddc0a1596ef08 (diff) | |
download | riscv-openocd-55be316dbf13dcb1cc54c41330ac37960e82630e.zip riscv-openocd-55be316dbf13dcb1cc54c41330ac37960e82630e.tar.gz riscv-openocd-55be316dbf13dcb1cc54c41330ac37960e82630e.tar.bz2 |
Cleanup and encapsulate IR Capture verification:
- Add accessors for setting the jtag_verify_capture_ir flag.
- Use them in handle_verify_ircapture_cpmmand
- Change variable type to bool; make it static.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2164 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index d7698ac..be6a055 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -611,8 +611,6 @@ extern void jtag_sleep(u32 us); extern int jtag_call_event_callbacks(enum jtag_event event); extern int jtag_register_event_callback(int (* callback)(enum jtag_event event, void* priv), void* priv); -extern int jtag_verify_capture_ir; - void jtag_tap_handle_event(jtag_tap_t* tap, enum jtag_tap_event e); /* @@ -708,4 +706,7 @@ unsigned jtag_get_speed_khz(void); void jtag_set_verify(bool enable); bool jtag_will_verify(void); +void jtag_set_verify_capture_ir(bool enable); +bool jtag_will_verify_capture_ir(void); + #endif /* JTAG_H */ |