#pragmaonce/* #undef AC_APPLE_UNIVERSAL_BUILD *//* 0 if you do not want the Andes JTAG Programmer. */#defineBUILD_AICE1/* 0 if you don't want the Amontec JTAG-Accelerator driver. */#defineBUILD_AMTJTAGACCEL0/* 0 if you do not want the Olimex ARM-JTAG-EW Programmer. */#defineBUILD_ARMJTAGEW1/* 0 if you don't want at91rm9200. */#defineBUILD_AT91RM92000/* 0 if you don't want bcm2835gpio. */#defineBUILD_BCM2835GPIO0/* 0 if you don't want a bitbang interface. */#defineBUILD_BITBANG0/* 0 if you don't want a bitq interface. */#defineBUILD_BITQ0/* 0 if you don't want the Buspirate JTAG driver. */#defineBUILD_BUSPIRATE0/* 0 if you do not want the CMSIS-DAP Compliant Debugger. */#defineBUILD_CMSIS_DAP1/* 0 if you don't want dummy driver. */#defineBUILD_DUMMY0/* 0 if you don't want ep93xx. */#defineBUILD_EP93XX0/* 0 if you don't want ftd2xx ft2232. */#defineBUILD_FT2232_FTD2XX1/* Support FT2232H/FT4232HS with FTD2XX or libftdi. */#defineBUILD_FT2232_HIGHSPEED1/* 0 if you don't want libftdi ft2232. */#defineBUILD_FT2232_LIBFTDI0/* 0 if you do not want the MPSSE mode of FTDI based devices. */#defineBUILD_FTDI1/* 0 if you don't want the Gateworks GW16012 driver. */#defineBUILD_GW160120/* 0 if you want the High Level JTAG driver. */#defineBUILD_HLADAPTER1/* 0 if you do not want the TI ICDI JTAG Programmer. */#defineBUILD_HLADAPTER_ICDI1/* 0 if you do not want the ST-Link JTAG Programmer. */#defineBUILD_HLADAPTER_STLINK1/* 0 if you do not want the Segger J-Link JTAG Programmer. */#defineBUILD_JLINK1/* 0 if you don't want JTAG VPI. */#defineBUILD_JTAG_VPI0/* Use the dummy minidriver. *//* #undef BUILD_MINIDRIVER_DUMMY *//* 0 if you don't want the OpenOCD+trace ETM capture driver. */#defineBUILD_OOCD_TRACE0/* 0 if you do not want the eStick/opendous JTAG Programmer. */#defineBUILD_OPENDOUS1/* 1 if you want the OpenJTAG drvier. */#defineBUILD_OPENJTAG0/* 1 if you want the OpenJTAG driver with FTD2XX driver. */#defineBUILD_OPENJTAG_FTD2XX0/* 1 if you want to build OpenJTAG with FTDI driver. */#defineBUILD_OPENJTAG_LIBFTDI0/* 0 if you do not want the OSBDM (JTAG only) Programmer. */#defineBUILD_OSBDM1#defineBUILD_XDS1101/* 0 if you don't want parport. */#defineBUILD_PARPORT0/* 0 if you don't want the ASIX PRESTO driver using FTD2XX. */#defineBUILD_PRESTO_FTD2XX0/* 0 if you don't want the ASIX PRESTO driver using libftdi. */#defineBUILD_PRESTO_LIBFTDI0/* 0 if you don't want the Remote Bitbang JTAG driver. */#defineBUILD_REMOTE_BITBANG0/* 0 if you do not want the Raisonance RLink JTAG Programmer. */#defineBUILD_RLINK1/* 0 if you don't want SysfsGPIO driver. */#defineBUILD_SYSFSGPIO0/* 0 if you do not want the Keil ULINK JTAG Programmer. */#defineBUILD_ULINK1/* 0 if you do not want the USBProg JTAG Programmer. */#defineBUILD_USBPROG1/* 0 if you do not want the Altera USB-Blaster II Compatible. */#defineBUILD_USB_BLASTER_21/* 0 if you don't want ftd2xx usb_blaster. */#defineBUILD_USB_BLASTER_FTD2XX0/* 0 if you don't want libftdi usb_blaster. */#defineBUILD_USB_BLASTER_LIBFTDI0/* 0 if you do not want the Versaloon-Link JTAG Programmer. */#defineBUILD_VSLLINK1/* 0 if you don't want ZY1000. */#defineBUILD_ZY10000/* 0 if you don't want ZY1000 JTAG master registers. */#defineBUILD_ZY1000_MASTER0/* Support FT232H with FTD2XX or libftdi. */#defineHAS_ENUM_FT232H1#defineBUILD_CMSIS_DAP_USB1#defineBUILD_CMSIS_DAP_HID1#defineBUILD_PICOPROBE1/* Define to 1 if you have the <arpa/inet.h> header file. *//* #undef HAVE_ARPA_INET_H *//* Define to 1 if you have the <dirent.h> header file. */#defineHAVE_DIRENT_H1/* Define to 1 if you have the <dlfcn.h> header file. *//* #undef HAVE_DLFCN_H *//* Define to 1 if you have the <elf.h> header file. *//* #undef HAVE_ELF_H *//* Define to 1 if you have the <fcntl.h> header file. */#defineHAVE_FCNTL_H1/* Define to 1 if you have the `gettimeofday' function. */#defineHAVE_GETTIMEOFDAY1/* Define to 1 if you have the <ifaddrs.h> header file. *//* #undef HAVE_IFADDRS_H *//* Define to 1 if you have the <inttypes.h> header file. */#defineHAVE_INTTYPES_H1/* Define to 1 if you have the <jtag_minidriver.h> header file. *//* #undef HAVE_JTAG_MINIDRIVER_H *//* Define if you have libusb-1.x */#defineHAVE_LIBUSB11/* Define if your libusb has libusb_error_name() */#defineHAVE_LIBUSB_ERROR_NAME1/* Define to 1 if the system has the type 'long long int'. */#defineHAVE_LONG_LONG_INT1/* Define to 1 if you have the <malloc.h> header file. */#defineHAVE_MALLOC_H1/* Define to 1 if you have the <memory.h> header file. */#defineHAVE_MEMORY_H1/* Define to 1 if you have the <netdb.h> header file. *//* #undef HAVE_NETDB_H *//* Define to 1 if you have the <netinet/in.h> header file. *//* #undef HAVE_NETINET_IN_H *//* Define to 1 if you have the <netinet/tcp.h> header file. *//* #undef HAVE_NETINET_TCP_H *//* Define to 1 if you have the <net/if.h> header file. *//* #undef HAVE_NET_IF_H *//* Define to 1 if you have the <pthread.h> header file. */#defineHAVE_PTHREAD_H1/* Define to 1 if stdbool.h conforms to C99. */#defineHAVE_STDBOOL_H1/* Define to 1 if you have the <stdint.h> header file. */#defineHAVE_STDINT_H1/* Define to 1 if you have the <stdlib.h> header file. */#defineHAVE_STDLIB_H1/* Define to 1 if you have the <strings.h> header file. */#defineHAVE_STRINGS_H1/* Define to 1 if you have the <string.h> header file. */#defineHAVE_STRING_H1/* Define to 1 if you have the `strndup' function. *//* #undef HAVE_STRNDUP *//* Define to 1 if you have the `strnlen' function. *//* #undef HAVE_STRNLEN *//* Define to 1 if you have the <sys/ioctl.h> header file. *//* #undef HAVE_SYS_IOCTL_H *//* Define to 1 if you have the <sys/io.h> header file. *//* #undef HAVE_SYS_IO_H *//* Define to 1 if you have the <sys/param.h> header file. */#defineHAVE_SYS_PARAM_H1/* Define to 1 if you have the <sys/poll.h> header file. *//* #undef HAVE_SYS_POLL_H *//* Define to 1 if you have the <sys/select.h> header file. *//* #undef HAVE_SYS_SELECT_H *//* Define to 1 if you have the <sys/socket.h> header file. *//* #undef HAVE_SYS_SOCKET_H *//* Define to 1 if you have the <sys/stat.h> header file. */#defineHAVE_SYS_STAT_H1/* Define to 1 if you have the <sys/time.h> header file. */#defineHAVE_SYS_TIME_H1/* Define to 1 if you have the <sys/types.h> header file. */#defineHAVE_SYS_TYPES_H1/* Define to 1 if you have the <unistd.h> header file. */#defineHAVE_UNISTD_H1/* Define to 1 if the system has the type 'unsigned long long int'. */#defineHAVE_UNSIGNED_LONG_LONG_INT1/* Define to 1 if you have the `usleep' function. */#defineHAVE_USLEEP1/* Define to 1 if you have the `vasprintf' function. *//* #undef HAVE_VASPRINTF *//* Define to 1 if the system has the type `_Bool'. */#defineHAVE__BOOL1/* 0 if not building for Cygwin. *//* #undef IS_CYGWIN *//* 0 if not building for Darwin. *//* #undef IS_DARWIN *//* 1 if building for MinGW. */#defineIS_MINGW1/* 0 if not building for Win32. */#defineIS_WIN321/* Define to the sub-directory in which libtool stores uninstalled libraries. *//* ... */#defineLT_OBJDIR".libs/"/* Define to 1 if assertions should be disabled. *//* #undef NDEBUG *//* Must declare 'environ' to use it. *//* #undef NEED_ENVIRON_EXTERN *//* Define to 1 if your C compiler doesn't accept -c and -o together. *//* #undef NO_MINUS_C_MINUS_O *//* Name of package */#definePACKAGE"openocd"/* Define to the address where bug reports for this package should be sent. */#definePACKAGE_BUGREPORT"OpenOCD Mailing List <openocd-devel@lists.sourceforge.net>"/* Define to the full name of this package. */#definePACKAGE_NAME"openocd"/* Define to the full name and version of this package. */#definePACKAGE_STRING"openocd 0.12.0"/* Define to the one symbol short name of this package. */#definePACKAGE_TARNAME"openocd"/* Define to the home page for this package. */#definePACKAGE_URL""/* Define to the version of this package. */#definePACKAGE_VERSION"0.12.0"/* 0 if you don't want parport to use giveio. */#definePARPORT_USE_GIVEIO1/* 0 if you don't want parport to use ppdev. */#definePARPORT_USE_PPDEV0/* Define to 1 if you have the ANSI C header files. */#defineSTDC_HEADERS1#defineBUILD_TARGET641/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */#defineTIME_WITH_SYS_TIME1/* Version number of package */#defineVERSION"0.12.0"/* 1 to exclude old conflicting definitions when building on Windows */#defineWIN32_LEAN_AND_MEAN186 defines/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). *//* ... */#ifdefinedAC_APPLE_UNIVERSAL_BUILD# ifdefined__BIG_ENDIAN__# defineWORDS_BIGENDIAN1# endif/* ... */#else# ifndefWORDS_BIGENDIAN/* # undef WORDS_BIGENDIAN */# endif/* ... */#endif/* Include malloc free space in logging *//* #undef _DEBUG_FREE_SPACE_ *//* Print verbose JTAG I/O messages *//* #undef _DEBUG_JTAG_IO_ *//* Print verbose USB communication messages *//* #undef _DEBUG_USB_COMMS_ *//* Print verbose USB I/O messages *//* #undef _DEBUG_USB_IO_ *//* Use GNU C library extensions (e.g. stdndup). */#define_GNU_SOURCE1/* Define to empty if `const' does not conform to ANSI C. *//* #undef const */#include<helper/system.h>#include<helper/types.h>#include<helper/replacements.h>