X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftarget%2Farmv7a.h;h=f93245634adb3bd147f9f076b4c1cfa1f779af06;hb=8d7ddde5f104dde8949dbefcad85f08b7313e126;hp=581813a345ade6c3c90d0ea236e1acee14892582;hpb=6f929dbd93e1b2c0373f389060bf64e60e8194ab;p=fw%2Fopenocd diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 581813a34..f93245634 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -50,8 +50,7 @@ struct armv7a_common int common_magic; struct reg_cache *core_cache; - /* arm adp debug port */ - struct swjdp_common 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 *