X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farm11.c;h=42c33af78c2b35252afe86489bfa3a5567e95d8f;hb=53c05c8b1d5718b2acf5dbe0eb517dd427340041;hp=47786b81f34e5f6e0a459beb2bb47a710096c586;hpb=3bcd9ad9d017649038be26fad5440e507db2118d;p=fw%2Fopenocd diff --git a/src/target/arm11.c b/src/target/arm11.c index 47786b81f..42c33af78 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -833,7 +833,7 @@ static int arm11_resume(struct target_s *target, int current, { /* check if one matches PC and step over it if necessary */ - breakpoint_t * bp; + struct breakpoint * bp; for (bp = target->breakpoints; bp; bp = bp->next) { @@ -851,7 +851,7 @@ static int arm11_resume(struct target_s *target, int current, for (bp = target->breakpoints; bp; bp = bp->next) { - arm11_sc7_action_t brp[2]; + struct arm11_sc7_action brp[2]; brp[0].write = 1; brp[0].address = ARM11_SC7_BVR0 + brp_num; @@ -1074,7 +1074,7 @@ static int arm11_step(struct target_s *target, int current, /* Set up breakpoint for stepping */ - arm11_sc7_action_t brp[2]; + struct arm11_sc7_action brp[2]; brp[0].write = 1; brp[0].address = ARM11_SC7_BVR0; @@ -1552,7 +1552,7 @@ static int arm11_checksum_memory(struct target_s *target, * rw: 0 = write, 1 = read, 2 = access */ static int arm11_add_breakpoint(struct target_s *target, - breakpoint_t *breakpoint) + struct breakpoint *breakpoint) { FNC_INFO; @@ -1584,7 +1584,7 @@ static int arm11_add_breakpoint(struct target_s *target, } static int arm11_remove_breakpoint(struct target_s *target, - breakpoint_t *breakpoint) + struct breakpoint *breakpoint) { FNC_INFO; @@ -1596,7 +1596,7 @@ static int arm11_remove_breakpoint(struct target_s *target, } static int arm11_add_watchpoint(struct target_s *target, - watchpoint_t *watchpoint) + struct watchpoint *watchpoint) { FNC_INFO_NOTIMPLEMENTED; @@ -1604,7 +1604,7 @@ static int arm11_add_watchpoint(struct target_s *target, } static int arm11_remove_watchpoint(struct target_s *target, - watchpoint_t *watchpoint) + struct watchpoint *watchpoint) { FNC_INFO_NOTIMPLEMENTED; @@ -1933,7 +1933,7 @@ static int arm11_build_reg_cache(target_t *target) { struct arm11_common *arm11 = target->arch_info; - NEW(reg_cache_t, cache, 1); + NEW(struct reg_cache, cache, 1); NEW(reg_t, reg_list, ARM11_REGCACHE_COUNT); NEW(struct arm11_reg_state, arm11_reg_states, ARM11_REGCACHE_COUNT); @@ -1951,7 +1951,7 @@ static int arm11_build_reg_cache(target_t *target) cache->reg_list = reg_list; cache->num_regs = ARM11_REGCACHE_COUNT; - reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache); + struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache); (*cache_p) = cache; arm11->core_cache = cache;