X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Falgorithm.h;h=8894241c04f207f7543601e6ed4155fdf97f15bc;hp=ecd11770861250992e63a7ede4642d2dca70594a;hb=fa765f137460181fd84529df82309a12c376e71a;hpb=374127301ec1d72033b9d573b72c7abdfd61990d diff --git a/src/target/algorithm.h b/src/target/algorithm.h index ecd1177086..8894241c04 100644 --- a/src/target/algorithm.h +++ b/src/target/algorithm.h @@ -13,13 +13,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 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, @@ -28,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; @@ -49,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 */