X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm.h;h=ce8cbe193e8bf2bfdd3d2e259668ec1b9b5bf0ec;hb=9e1a16690e669b895dce7c3951b1fe893bfd6149;hp=6b304e9f30a5702875ee76f0612ca13135ac35be;hpb=1aac72d24339380f6e98c50dec4c96ab30537749;p=openocd.git diff --git a/src/target/arm.h b/src/target/arm.h index 6b304e9f30..ce8cbe193e 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -80,8 +80,6 @@ enum arm_state { ARM_STATE_THUMB_EE, }; -extern const char *arm_state_strings[]; - #define ARM_COMMON_MAGIC 0x0A450A45 /** @@ -132,6 +130,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 +165,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. */