forked from auracaster/openocd
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>
This commit is contained in:
committed by
Spencer Oliver
parent
5914310f88
commit
9b6de72c2b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user