stlink: detect mem_ap R/W and dequeue set TAR and CSW
[fw/openocd] / src / jtag / interfaces.h
index a32d3f918223ccb81a90a5170a2178004c27bccf..ddbd7350606760c8366b6bd2e28c81d3568d110e 100644 (file)
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   You should have received a copy of the GNU General Public License     *
- *   along with this program; if not, write to the                         *
- *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
+
 #ifndef OPENOCD_JTAG_INTERFACES_H
 #define OPENOCD_JTAG_INTERFACES_H
 
  * for loading and unloading them dynamically from shared libraries.
  */
 
-#include "interface.h"
-
-/// Dynamically load all JTAG interface modules from specified directory.
-void jtag_interface_modules_load(const char *path);
+#include <jtag/interface.h>
 
-extern jtag_interface_t *jtag_interfaces[];
+extern struct adapter_driver *adapter_drivers[];
 
-#endif // OPENOCD_JTAG_INTERFACES_H
+#endif /* OPENOCD_JTAG_INTERFACES_H */