update files to correct FSF address
[openocd.git] / src / jtag / minidriver / minidriver_imp.h
blobf056f0146ac03c5eeda2332082a7c4538250b87e
1 /***************************************************************************
2 * Copyright (C) 2005 by Dominic Rath <Dominic.Rath@gmx.de> *
3 * Copyright (C) 2007,2008 Øyvind Harboe <oyvind.harboe@zylin.com> *
4 * Copyright (C) 2009 Zachary T Welch <zw@superlucidity.net> *
5 * *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
20 ***************************************************************************/
22 #ifndef MINIDRIVER_IMP_H
23 #define MINIDRIVER_IMP_H
25 #include <jtag/jtag_minidriver.h>
27 static inline void jtag_add_dr_out(struct jtag_tap *tap,
28 int num_fields, const int *num_bits, const uint32_t *value,
29 tap_state_t end_state)
31 cmd_queue_cur_state = end_state;
33 interface_jtag_add_dr_out(tap,
34 num_fields, num_bits, value,
35 end_state);
38 #define jtag_add_callback(callback, in) interface_jtag_add_callback(callback, in)
40 #define jtag_add_callback4(callback, in, data1, data2, data3) \
41 interface_jtag_add_callback4(callback, in, data1, data2, data3)
43 #endif /* MINIDRIVER_IMP_H */