From e7acbdf5dbfcea427fc8b0fc7e8dd2e1005a4cc8 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 8 Dec 2009 13:06:41 -0800 Subject: target: move 'extern' decls to *.h files The exception being declarations for drivers. Those should be split out in some clean way -- like driver add/remove calls made by initialization code -- but that's for another day. Signed-off-by: David Brownell --- src/target/arm.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/target/arm.h') diff --git a/src/target/arm.h b/src/target/arm.h index 00dbe2d6..36763b4a 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -191,6 +191,13 @@ int armv4_5_run_algorithm(struct target *target, int num_reg_params, struct reg_param *reg_params, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info); +int armv4_5_run_algorithm_inner(struct target *target, + int num_mem_params, struct mem_param *mem_params, + int num_reg_params, struct reg_param *reg_params, + uint32_t entry_point, uint32_t exit_point, + int timeout_ms, void *arch_info, + int (*run_it)(struct target *target, uint32_t exit_point, + int timeout_ms, void *arch_info)); int arm_checksum_memory(struct target *target, uint32_t address, uint32_t count, uint32_t *checksum); @@ -200,6 +207,8 @@ int arm_blank_check_memory(struct target *target, void arm_set_cpsr(struct arm *arm, uint32_t cpsr); struct reg *arm_reg_current(struct arm *arm, unsigned regnum); +void arm_endianness(uint8_t *tmp, void *in, int size, int be, int flip); + extern struct reg arm_gdb_dummy_fp_reg; extern struct reg arm_gdb_dummy_fps_reg; -- cgit v1.2.3