X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7a.h;h=f843f03bdc5163761a03f2e5362fcacff3f14c31;hb=070259cadbb0f142f6546c55f8044199c6aea9b9;hp=51f7b45aa6f0d82fb5e8eb1c122bddc657deead8;hpb=5706fd7860ea01c591ecf74880a5a5e04e6df22e;p=openocd.git diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 51f7b45aa6..f843f03bdc 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -23,6 +23,7 @@ #include "armv4_5.h" #include "armv4_5_mmu.h" #include "armv4_5_cache.h" +#include "arm_dpm.h" enum { @@ -53,6 +54,7 @@ struct armv7a_common struct swjdp_common swjdp_info; /* Core Debug Unit */ + struct arm_dpm dpm; uint32_t debug_base; uint8_t debug_ap; uint8_t memory_ap; @@ -101,7 +103,8 @@ struct armv7a_core_reg int armv7a_arch_state(struct target *target); struct reg_cache *armv7a_build_reg_cache(struct target *target, struct armv7a_common *armv7a_common); -int armv7a_register_commands(struct command_context *cmd_ctx); int armv7a_init_arch_info(struct target *target, struct armv7a_common *armv7a); +extern const struct command_registration armv7a_command_handlers[]; + #endif /* ARMV4_5_H */