aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGareth McMullin2012-07-05 21:26:26 +1200
committerGareth McMullin2012-07-05 21:26:26 +1200
commit0433d3d12a2c07c4685e5c42dc6c7e8420defe42 (patch)
tree69e3b755cca686443603acc8f7bda206854c70b8 /src/include
parent0c379744e9585eb41739dc45d45be34f83f5b713 (diff)
cortexm: Moved all static data to the heap.
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);