X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftarget_type.h;h=5b72d841ab4be87b53319acb20783dcd2748046f;hb=4315142ea0d7035fe117b9e344beaf98c91ee35c;hp=99c8f513d430424ad80f198a8393ef8fbc805694;hpb=80b80ef9b43acd56358587724218131456049c59;p=openocd.git diff --git a/src/target/target_type.h b/src/target/target_type.h index 99c8f513d4..5b72d841ab 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -107,16 +107,13 @@ struct target_type { * size: 1 = byte (8bit), 2 = half-word (16bit), 4 = word (32bit) * count: number of items of */ - int (*read_memory_imp)(struct target *target, uint32_t address, - uint32_t size, uint32_t count, uint8_t *buffer); + /** * Target memory read callback. Do @b not call this function * directly, use target_read_memory() instead. */ int (*read_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); - int (*write_memory_imp)(struct target *target, uint32_t address, - uint32_t size, uint32_t count, const uint8_t *buffer); /** * Target memory write callback. Do @b not call this function * directly, use target_write_memory() instead.