Bug in src/target/mips32_pracc.c
[fw/openocd] / src / target / target.h
index 680f8c32b27c3b18a191cdac52578985922bb001..9dc928fe8f339de70bb77e8367caafa6f984bd4b 100644 (file)
@@ -442,6 +442,18 @@ int target_wait_algorithm(struct target *target,
                uint32_t exit_point, int timeout_ms,
                void *arch_info);
 
+/**
+ * This routine is a wrapper for asynchronous algorithms.
+ *
+ */
+int target_run_flash_async_algorithm(struct target *target,
+               uint8_t *buffer, uint32_t count, int block_size,
+               int num_mem_params, struct mem_param *mem_params,
+               int num_reg_params, struct reg_param *reg_params,
+               uint32_t buffer_start, uint32_t buffer_size,
+               uint32_t entry_point, uint32_t exit_point,
+               void *arch_info);
+
 /**
  * Read @a count items of @a size bytes from the memory of @a target at
  * the @a address given.
@@ -540,6 +552,7 @@ int target_alloc_working_area_try(struct target *target,
                uint32_t size, struct working_area **area);
 int target_free_working_area(struct target *target, struct working_area *area);
 void target_free_all_working_areas(struct target *target);
+uint32_t target_get_working_area_avail(struct target *target);
 
 extern struct target *all_targets;