From 0433d3d12a2c07c4685e5c42dc6c7e8420defe42 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Thu, 5 Jul 2012 21:26:26 +1200 Subject: cortexm: Moved all static data to the heap. --- src/include/adiv5.h | 3 +++ src/include/target.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include') 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); -- cgit v1.2.3