X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm.h;h=d5053afb814d2d61fc8114af2f3a9d58e661b56d;hb=d27a3a00b8582cf2750cbc86c6194f5796ccca06;hp=cc0f14cb648c36af4cd5ef0b83d96d7c4e124822;hpb=1bc4182cebcbdf93d68d9759f4b4579ea4df7887;p=openocd.git diff --git a/src/target/arm.h b/src/target/arm.h index cc0f14cb64..d5053afb81 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -231,12 +231,22 @@ struct arm { uint32_t crn, uint32_t crm, uint32_t *value); + /** Read coprocessor to two registers. */ + int (*mrrc)(struct target *target, int cpnum, + uint32_t op, uint32_t crm, + uint64_t *value); + /** Write coprocessor register. */ int (*mcr)(struct target *target, int cpnum, uint32_t op1, uint32_t op2, uint32_t crn, uint32_t crm, uint32_t value); + /** Write coprocessor from two registers. */ + int (*mcrr)(struct target *target, int cpnum, + uint32_t op, uint32_t crm, + uint64_t value); + void *arch_info; /** For targets conforming to ARM Debug Interface v5,