File tree Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 12
12
#include <assert.h>
13
13
#include <helper/list.h>
14
14
15
- static LIST_HEAD (threads );
15
+ static OOCD_LIST_HEAD (threads );
16
16
17
17
struct thread {
18
18
int id ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ struct list_head {
46
46
47
47
#define LIST_HEAD_INIT (name ) { &(name), &(name) }
48
48
49
- #define LIST_HEAD (name ) \
49
+ #define OOCD_LIST_HEAD (name ) \
50
50
struct list_head name = LIST_HEAD_INIT(name)
51
51
52
52
static inline void
Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ static void telnet_auto_complete(struct connection *connection)
570
570
struct list_head lh ;
571
571
};
572
572
573
- LIST_HEAD (matches );
573
+ OOCD_LIST_HEAD (matches );
574
574
575
575
/* - user command sequence, either at line beginning
576
576
* or we start over after these characters ';', '[', '{'
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ static int jtagdp_overrun_check(struct adiv5_dap *dap)
431
431
struct dap_cmd * el , * tmp , * prev = NULL ;
432
432
int found_wait = 0 ;
433
433
int64_t time_now ;
434
- LIST_HEAD (replay_list );
434
+ OOCD_LIST_HEAD (replay_list );
435
435
436
436
/* make sure all queued transactions are complete */
437
437
retval = jtag_execute_queue ();
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct arm_cti {
25
25
struct adiv5_ap * ap ;
26
26
};
27
27
28
- static LIST_HEAD (all_cti );
28
+ static OOCD_LIST_HEAD (all_cti );
29
29
30
30
const char * arm_cti_name (struct arm_cti * self )
31
31
{
Original file line number Diff line number Diff line change 18
18
#include "transport/transport.h"
19
19
#include "jtag/interface.h"
20
20
21
- static LIST_HEAD (all_dap );
21
+ static OOCD_LIST_HEAD (all_dap );
22
22
23
23
extern struct adapter_driver * adapter_driver ;
24
24
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ struct arm_tpiu_swo_priv_connection {
126
126
struct arm_tpiu_swo_object * obj ;
127
127
};
128
128
129
- static LIST_HEAD (all_tpiu_swo );
129
+ static OOCD_LIST_HEAD (all_tpiu_swo );
130
130
131
131
#define ARM_TPIU_SWO_TRACE_BUF_SIZE 4096
132
132
Original file line number Diff line number Diff line change 27
27
#include "or1k.h"
28
28
#include "or1k_du.h"
29
29
30
- LIST_HEAD (tap_list );
31
- LIST_HEAD (du_list );
30
+ OOCD_LIST_HEAD (tap_list );
31
+ OOCD_LIST_HEAD (du_list );
32
32
33
33
static int or1k_remove_breakpoint (struct target * target ,
34
34
struct breakpoint * breakpoint );
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ typedef struct {
214
214
dm013_info_t * dm ;
215
215
} riscv013_info_t ;
216
216
217
- static LIST_HEAD (dm_list );
217
+ static OOCD_LIST_HEAD (dm_list );
218
218
219
219
static riscv013_info_t * get_info (const struct target * target )
220
220
{
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ struct target *all_targets;
108
108
static struct target_event_callback * target_event_callbacks ;
109
109
static struct target_timer_callback * target_timer_callbacks ;
110
110
static int64_t target_timer_next_event_value ;
111
- static LIST_HEAD (target_reset_callback_list );
112
- static LIST_HEAD (target_trace_callback_list );
111
+ static OOCD_LIST_HEAD (target_reset_callback_list );
112
+ static OOCD_LIST_HEAD (target_trace_callback_list );
113
113
static const int polling_interval = TARGET_DEFAULT_POLLING_INTERVAL ;
114
- static LIST_HEAD (empty_smp_targets );
114
+ static OOCD_LIST_HEAD (empty_smp_targets );
115
115
116
116
enum nvp_assert {
117
117
NVP_DEASSERT ,
You can’t perform that action at this time.
0 commit comments