]> git.sur5r.net Git - openocd/blobdiff - src/target/arm.h
cortex_a8/a9: fix some comments
[openocd] / src / target / arm.h
index ee4bd767c62446285719e6f330920eb05cddebe4..ce8cbe193e8bf2bfdd3d2e259668ec1b9b5bf0ec 100644 (file)
@@ -80,8 +80,6 @@ enum arm_state {
        ARM_STATE_THUMB_EE,
 };
 
-extern const char *arm_state_strings[];
-
 #define ARM_COMMON_MAGIC 0x0A450A45
 
 /**
@@ -167,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. */