]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7a.h
arm_adi_v5: add wrapping transfer functions with selection of ap
[openocd] / src / target / armv7a.h
index 70a2d9eec1ce9ddba5f1f33dbdab08bbf8370ab3..f93245634adb3bd147f9f076b4c1cfa1f779af06 100644 (file)
@@ -50,8 +50,7 @@ struct armv7a_common
        int common_magic;
        struct reg_cache *core_cache;
 
-       /* arm adp debug port */
-       struct adiv5_dap swjdp_info;
+       struct adiv5_dap dap;
 
        /* Core Debug Unit */
        struct arm_dpm dpm;
@@ -63,11 +62,9 @@ struct armv7a_common
        struct armv4_5_mmu_common armv4_5_mmu;
 
        int (*examine_debug_reason)(struct target *target);
-       void (*post_debug_entry)(struct target *target);
+       int (*post_debug_entry)(struct target *target);
 
        void (*pre_restore_context)(struct target *target);
-       void (*post_restore_context)(struct target *target);
-
 };
 
 static inline struct armv7a_common *