- reworked file i/o. every fileaccess (target, flash, nand, in future configuration...
[fw/openocd] / src / jtag / jtag.h
index 124150ce7f4a3bb16024702e62d2aacc767e29fe..29e3da6085176c513a3c79c1253b0187158493a2 100644 (file)
@@ -180,7 +180,7 @@ typedef struct jtag_interface_s
        
        /* optional command support 
         */
-       int support_statemove;
+       int support_pathmove;
        
        /* interface initalization
         */
@@ -199,6 +199,11 @@ enum jtag_event
        JTAG_TRST_RELEASED,
 };
 
+extern char* jtag_event_strings[];
+
+extern int jtag_trst;
+extern int jtag_srst;
+
 typedef struct jtag_event_callback_s
 {
        int (*callback)(enum jtag_event event, void *priv);
@@ -267,4 +272,5 @@ extern int jtag_register_event_callback(int (*callback)(enum jtag_event event, v
 #define ERROR_JTAG_QUEUE_FAILED                        (-104)
 #define ERROR_JTAG_RESET_WOULD_ASSERT_TRST             (-105)
 #define ERROR_JTAG_RESET_CANT_SRST                             (-106)
+#define ERROR_JTAG_DEVICE_ERROR                        (-107)
 #endif /* JTAG_H */