target: make handle_md_output() global
Remove a copy of handle_md_output() from src/target/dsp563xx.c Change-Id: Iadd003fd1dcdbc7990d46a58ee2e7c30826ac6af Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/5175 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
struct reg;
|
||||
struct trace;
|
||||
struct command_context;
|
||||
struct command_invocation;
|
||||
struct breakpoint;
|
||||
struct watchpoint;
|
||||
struct mem_param;
|
||||
@@ -729,6 +730,10 @@ int target_arch_state(struct target *target);
|
||||
|
||||
void target_handle_event(struct target *t, enum target_event e);
|
||||
|
||||
void target_handle_md_output(struct command_invocation *cmd,
|
||||
struct target *target, target_addr_t address, unsigned size,
|
||||
unsigned count, const uint8_t *buffer);
|
||||
|
||||
#define ERROR_TARGET_INVALID (-300)
|
||||
#define ERROR_TARGET_INIT_FAILED (-301)
|
||||
#define ERROR_TARGET_TIMEOUT (-302)
|
||||
|
||||
Reference in New Issue
Block a user