aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2013-03-10 14:39:31 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-03-13 12:36:09 +0000
commit9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9 (patch)
treeadcf77d8cecf7f4d8fc25c246a933ea8166a41bc /src/target/target.h
parent5914310f88161967cd1759e536f8069b9b15bdde (diff)
downloadriscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.zip
riscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.tar.gz
riscv-openocd-9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9.tar.bz2
target: Remove read_memory_imp
Change-Id: Idc6ef3b075ccbb5945df8fea746011cb17175d8f Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1219 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 4 insertions, 0 deletions
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