X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=3eade513a2da87df8ece319feabe4f93b3107d12;hp=9707bcc93ad152a0c5c6469363c1374c56649c66;hb=5d80b365526537d2e8705e8bf4de1485b4bb6be6;hpb=c4e0109644b6c9196c4a042804120da5fb46a8d6 diff --git a/src/target/target.h b/src/target/target.h index 9707bcc93a..3eade513a2 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -108,6 +108,12 @@ struct gdb_service { int32_t core[2]; }; +/* target back off timer */ +struct backoff_timer { + int times; + int count; +}; + /* target_type.h contains the full definition of struct target_type */ struct target { struct target_type *type; /* target type definition (name, access functions) */ @@ -171,7 +177,7 @@ struct target { struct rtos *rtos; /* Instance of Real Time Operating System support */ bool rtos_auto_detect; /* A flag that indicates that the RTOS has been specified as "auto" * and must be detected when symbols are offered */ - + struct backoff_timer backoff; int smp; /* add some target attributes for smp support */ struct target_list *head; /* the gdb service is there in case of smp, we have only one gdb server