#include <assert.h>
#include <helper/list.h>
-static LIST_HEAD(threads);
+static OOCD_LIST_HEAD(threads);
struct thread {
int id;
#define LIST_HEAD_INIT(name) { &(name), &(name) }
-#define LIST_HEAD(name) \
+#define OOCD_LIST_HEAD(name) \
struct list_head name = LIST_HEAD_INIT(name)
static inline void
struct list_head lh;
};
- LIST_HEAD(matches);
+ OOCD_LIST_HEAD(matches);
/* - user command sequence, either at line beginning
* or we start over after these characters ';', '[', '{'
struct dap_cmd *el, *tmp, *prev = NULL;
int found_wait = 0;
int64_t time_now;
- LIST_HEAD(replay_list);
+ OOCD_LIST_HEAD(replay_list);
/* make sure all queued transactions are complete */
retval = jtag_execute_queue();
struct adiv5_ap *ap;
};
-static LIST_HEAD(all_cti);
+static OOCD_LIST_HEAD(all_cti);
const char *arm_cti_name(struct arm_cti *self)
{
#include "transport/transport.h"
#include "jtag/interface.h"
-static LIST_HEAD(all_dap);
+static OOCD_LIST_HEAD(all_dap);
extern struct adapter_driver *adapter_driver;
struct arm_tpiu_swo_object *obj;
};
-static LIST_HEAD(all_tpiu_swo);
+static OOCD_LIST_HEAD(all_tpiu_swo);
#define ARM_TPIU_SWO_TRACE_BUF_SIZE 4096
#include "or1k.h"
#include "or1k_du.h"
-LIST_HEAD(tap_list);
-LIST_HEAD(du_list);
+OOCD_LIST_HEAD(tap_list);
+OOCD_LIST_HEAD(du_list);
static int or1k_remove_breakpoint(struct target *target,
struct breakpoint *breakpoint);
dm013_info_t *dm;
} riscv013_info_t;
-static LIST_HEAD(dm_list);
+static OOCD_LIST_HEAD(dm_list);
static riscv013_info_t *get_info(const struct target *target)
{
static struct target_event_callback *target_event_callbacks;
static struct target_timer_callback *target_timer_callbacks;
static int64_t target_timer_next_event_value;
-static LIST_HEAD(target_reset_callback_list);
-static LIST_HEAD(target_trace_callback_list);
+static OOCD_LIST_HEAD(target_reset_callback_list);
+static OOCD_LIST_HEAD(target_trace_callback_list);
static const int polling_interval = TARGET_DEFAULT_POLLING_INTERVAL;
-static LIST_HEAD(empty_smp_targets);
+static OOCD_LIST_HEAD(empty_smp_targets);
enum nvp_assert {
NVP_DEASSERT,