X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftarget_type.h;h=21d7295d04cfe66570410767cee526b58d23bb8a;hb=74d09617b927ed7011098d5a65087dee1ef1e87a;hp=dd469db10788af5764500c829bba7cd07f930ed3;hpb=af66678c9a76f3bdab23beb3ffa7d7d53423bdfa;p=openocd.git diff --git a/src/target/target_type.h b/src/target/target_type.h index dd469db107..21d7295d04 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -137,19 +137,19 @@ struct target_type_s * However, this method can be invoked on unresponsive targets. */ int (*remove_breakpoint)(struct target_s *target, breakpoint_t *breakpoint); - int (*add_watchpoint)(struct target_s *target, watchpoint_t *watchpoint); + int (*add_watchpoint)(struct target_s *target, struct watchpoint *watchpoint); /* remove watchpoint. hw will only be updated if the target is currently halted. * However, this method can be invoked on unresponsive targets. */ - int (*remove_watchpoint)(struct target_s *target, watchpoint_t *watchpoint); + int (*remove_watchpoint)(struct target_s *target, struct watchpoint *watchpoint); /* target algorithm support */ - int (*run_algorithm_imp)(struct target_s *target, int num_mem_params, mem_param_t *mem_params, int num_reg_params, reg_param_t *reg_param, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info); + int (*run_algorithm_imp)(struct target_s *target, int num_mem_params, struct mem_param *mem_params, int num_reg_params, struct reg_param *reg_param, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info); /** * Target algorithm support. Do @b not call this method directly, * use target_run_algorithm() instead. */ - int (*run_algorithm)(struct target_s *target, int num_mem_params, mem_param_t *mem_params, int num_reg_params, reg_param_t *reg_param, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info); + int (*run_algorithm)(struct target_s *target, int num_mem_params, struct mem_param *mem_params, int num_reg_params, struct reg_param *reg_param, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info); int (*register_commands)(struct command_context_s *cmd_ctx);