target = target->next;
}
- /* request target halt if necessary, and schedule further action */
- target = targets;
- while (target)
- {
- if (reset_mode!=RESET_RUN)
- {
- if ((retval = target_halt(target))!=ERROR_OK)
- return retval;
- }
- target = target->next;
- }
-
target = targets;
while (target)
{
return ERROR_OK;
}
-int target_call_timer_callbacks()
+int target_call_timer_callbacks(void)
{
return target_call_timer_callbacks_check_time(1);
}
/* invoke periodic callbacks immediately */
-int target_call_timer_callbacks_now()
+int target_call_timer_callbacks_now(void)
{
- return target_call_timer_callbacks(0);
+ return target_call_timer_callbacks();
}
int target_alloc_working_area(struct target_s *target, u32 size, working_area_t **area)