ipdbg: fix double free of virtual-ir data
[openocd.git] / src / target / openrisc / or1k_tap.h
blobe06a5e07aecc71a8fc05c94d34b35166e74544cf
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2012 by Franck Jullien *
5 * elec4fun@gmail.com *
6 ***************************************************************************/
8 #ifndef OPENOCD_TARGET_OPENRISC_OR1K_TAP_H
9 #define OPENOCD_TARGET_OPENRISC_OR1K_TAP_H
11 #ifdef HAVE_CONFIG_H
12 #include "config.h"
13 #endif
15 #include <helper/list.h>
16 #include "or1k.h"
18 int or1k_tap_vjtag_register(void);
19 int or1k_tap_xilinx_bscan_register(void);
20 int or1k_tap_mohor_register(void);
22 /* Linear list over all available or1k taps */
23 extern struct list_head tap_list;
25 struct or1k_tap_ip {
26 struct list_head list;
27 int (*init)(struct or1k_jtag *jtag_info);
28 const char *name;
31 #endif /* OPENOCD_TARGET_OPENRISC_OR1K_TAP_H */