X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=3baafbe70d09278e57beb66ce3643e8412905b25;hp=3eade513a2da87df8ece319feabe4f93b3107d12;hb=9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9;hpb=5914310f88161967cd1759e536f8069b9b15bdde diff --git a/src/target/target.h b/src/target/target.h index 3eade513a2..3baafbe70d 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