From 9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9 Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Sun, 10 Mar 2013 14:39:31 +0100 Subject: target: Remove read_memory_imp Change-Id: Idc6ef3b075ccbb5945df8fea746011cb17175d8f Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/1219 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/target/target.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index 3eade51..3baafbe 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -461,6 +461,8 @@ int target_run_flash_async_algorithm(struct target *target, */ int target_read_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); +int target_read_phys_memory(struct target *target, + uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); /** * Write @a count items of @a size bytes to the memory of @a target at * the @a address given. @a address must be aligned to @a size @@ -480,6 +482,8 @@ int target_read_memory(struct target *target, */ int target_write_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer); +int target_write_phys_memory(struct target *target, + uint32_t address, uint32_t size, uint32_t count, const uint8_t *buffer); /** * Write @a count items of 4 bytes to the memory of @a target at -- cgit v1.1