X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fcortex_m3.h;h=4b1f4b936476c2c942fd098b564e9de06e051f0a;hb=86173cdbddde781b19ac630602f2d450a59b32b5;hp=19c7c3b558bbe07b734ed5a9ea42498a99319276;hpb=8f9f5c189bc64c8cd8a14b4dfb156e3382ca050a;p=fw%2Fopenocd diff --git a/src/target/cortex_m3.h b/src/target/cortex_m3.h index 19c7c3b55..4b1f4b936 100644 --- a/src/target/cortex_m3.h +++ b/src/target/cortex_m3.h @@ -177,9 +177,9 @@ int cortex_m3_assert_reset(target_t *target); int cortex_m3_deassert_reset(target_t *target); int cortex_m3_soft_reset_halt(struct target_s *target); -int cortex_m3_read_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer); -int cortex_m3_write_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer); -int cortex_m3_bulk_write_memory(target_t *target, u32 address, u32 count, u8 *buffer); +int cortex_m3_read_memory(struct target_s *target, u32 address, u32 size, u32 count, uint8_t *buffer); +int cortex_m3_write_memory(struct target_s *target, u32 address, u32 size, u32 count, uint8_t *buffer); +int cortex_m3_bulk_write_memory(target_t *target, u32 address, u32 count, uint8_t *buffer); int cortex_m3_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint); int cortex_m3_unset_breakpoint(struct target_s *target, breakpoint_t *breakpoint);