]> git.sur5r.net Git - openocd/blobdiff - src/target/arm.h
jtag: get rid of unecessary jtag_get_end_state()
[openocd] / src / target / arm.h
index 6b304e9f30a5702875ee76f0612ca13135ac35be..99bd983392c65dab37db9d7894d2c88c1d03b681 100644 (file)
@@ -132,6 +132,8 @@ struct arm {
        /** Value to be returned by semihosting SYS_ERRNO request. */
        int semihosting_errno;
 
+       int (*setup_semihosting)(struct target *target, int enable);
+
        /** Backpointer to the target. */
        struct target *target;
 
@@ -165,6 +167,12 @@ struct arm {
                        uint32_t value);
 
        void *arch_info;
+
+       /** For targets conforming to ARM Debug Interface v5,
+        * this handle references the Debug Access Port (DAP)
+        * used to make requests to the target.
+        */
+       struct adiv5_dap *dap;
 };
 
 /** Convert target handle to generic ARM target state handle. */