diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:39:42 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:09 -0800 |
commit | b1de5eb9a074b362e953e857c42cac9a9b18b2a3 (patch) | |
tree | 96d3ffb07523e97824d4b5605999ed43f87f1cc5 /src/target/target_type.h | |
parent | 6c965a3da9cd6f5b2cf1b177d38723356c83d923 (diff) | |
download | riscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.zip riscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.tar.gz riscv-openocd-b1de5eb9a074b362e953e857c42cac9a9b18b2a3.tar.bz2 |
reg_param_t -> struct reg_param
Remove misleading typedef and redundant suffix from struct reg_param.
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r-- | src/target/target_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h index f8c78e2..ee76ff4 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -144,12 +144,12 @@ struct target_type_s int (*remove_watchpoint)(struct target_s *target, watchpoint_t *watchpoint); /* target algorithm support */ - int (*run_algorithm_imp)(struct target_s *target, int num_mem_params, struct mem_param *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, struct mem_param *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); |