X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Falgorithm.h;h=8894241c04f207f7543601e6ed4155fdf97f15bc;hb=11a2bfc2bcedfad0ecb1b8d7f68ac7208cd6b8c0;hp=cfca2745333602f397b6c0571214ef3197ec4871;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;p=openocd.git diff --git a/src/target/algorithm.h b/src/target/algorithm.h index cfca274533..8894241c04 100644 --- a/src/target/algorithm.h +++ b/src/target/algorithm.h @@ -16,8 +16,8 @@ * along with this program. If not, see . * ***************************************************************************/ -#ifndef ALGORITHM_H -#define ALGORITHM_H +#ifndef OPENOCD_TARGET_ALGORITHM_H +#define OPENOCD_TARGET_ALGORITHM_H enum param_direction { PARAM_IN, @@ -26,7 +26,7 @@ enum param_direction { }; struct mem_param { - uint32_t address; + target_addr_t address; uint32_t size; uint8_t *value; enum param_direction direction; @@ -47,4 +47,4 @@ void init_reg_param(struct reg_param *param, char *reg_name, uint32_t size, enum param_direction dir); void destroy_reg_param(struct reg_param *param); -#endif /* ALGORITHM_H */ +#endif /* OPENOCD_TARGET_ALGORITHM_H */