aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/adiv5.h3
-rw-r--r--src/include/target.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/adiv5.h b/src/include/adiv5.h
index 75c185b..b010a60 100644
--- a/src/include/adiv5.h
+++ b/src/include/adiv5.h
@@ -150,6 +150,9 @@ typedef struct ADIv5_AP_s {
uint32_t idr;
uint32_t cfg;
uint32_t base;
+
+ void *priv;
+ void (*priv_free)(void *);
} ADIv5_AP_t;
void adiv5_dp_init(ADIv5_DP_t *dp);
diff --git a/src/include/target.h b/src/include/target.h
index 70f6969..e2c55cd 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -148,7 +148,7 @@ struct target_s {
void (*reset)(struct target_s *target);
void (*halt_request)(struct target_s *target);
int (*halt_wait)(struct target_s *target);
- void (*halt_resume)(struct target_s *target, uint8_t step);
+ void (*halt_resume)(struct target_s *target, bool step);
/* Break-/watchpoint functions */
int (*set_hw_bp)(struct target_s *target, uint32_t addr);