X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm_adi_v5.h;h=3ff883af755bc8b508a5b49e633833d1e81614a7;hp=19e483151ed8cf96865c5889247382e7aeb258a9;hb=1af6b72fc1e27c5e493570ea6e8c95c0519be4f8;hpb=16e17ab1b33c8d40cc28bf621fc7995366a28a8a diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h index 19e483151e..3ff883af75 100644 --- a/src/target/arm_adi_v5.h +++ b/src/target/arm_adi_v5.h @@ -145,13 +145,17 @@ extern int mem_ap_write_buf_u32(swjdp_common_t *swjdp, uint8_t *buffer, int coun /* Initialisation of the debug system, power domains and registers */ extern int ahbap_debugport_init(swjdp_common_t *swjdp); -extern int dap_info_command(struct command_context_s *cmd_ctx, swjdp_common_t *swjdp, int apsel); + /* Commands for user dap access */ -/* Currently implemented in armv7m, needs armv7m target structure to find jtag and swjdp structures */ -extern int handle_dap_info_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); -extern int handle_dap_apsel_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); -extern int handle_dap_apid_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); -extern int handle_dap_baseaddr_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); -extern int handle_dap_memaccess_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc); +int dap_info_command(struct command_context_s *cmd_ctx, + swjdp_common_t *swjdp, int apsel); +int dap_baseaddr_command(struct command_context_s *cmd_ctx, + swjdp_common_t *swjdp, char **args, int argc); +int dap_memaccess_command(struct command_context_s *cmd_ctx, + swjdp_common_t *swjdp, char **args, int argc); +int dap_apsel_command(struct command_context_s *cmd_ctx, + swjdp_common_t *swjdp, char **args, int argc); +int dap_apid_command(struct command_context_s *cmd_ctx, + swjdp_common_t *swjdp, char **args, int argc); #endif