build: add helper/types.h to config.h
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 17 May 2012 11:27:30 +0000 (12:27 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 21 May 2012 16:15:26 +0000 (16:15 +0000)
this header is used in numerous files and adding to config.h
simplifies its use globally.

Change-Id: Id724a9950b90504721233022c7fb5768e9bc5548
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/649
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
24 files changed:
configure.ac
src/helper/binarybuffer.h
src/helper/command.h
src/helper/fileio.h
src/helper/replacements.h
src/jtag/drivers/libusb0_common.h
src/jtag/drivers/libusb1_common.h
src/jtag/drivers/rlink.h
src/jtag/drivers/ulink.c
src/jtag/drivers/usb_common.h
src/pld/xilinx_bit.h
src/rtos/rtos.h
src/target/arm_disassembler.h
src/target/arm_simulator.h
src/target/armv4_5_cache.h
src/target/avr32_ap7k.h
src/target/avr32_jtag.c
src/target/breakpoints.h
src/target/mips_m4k.h
src/target/register.c
src/target/smp.c
src/target/target.h
src/target/target_type.h
src/target/trace.h

index 4d7b7d75ea7f22e876f8cead096f119e0962113b..642fb2d4c6325cc859e14ab0e1f0c6715bf86aa4 100644 (file)
@@ -11,6 +11,7 @@ AM_MAINTAINER_MODE
 AM_CONFIG_HEADER([config.h])
 AH_BOTTOM([
 #include <helper/system.h>
+#include <helper/types.h>
 #include <helper/replacements.h>
 ])
 
index a289abd9ba0563de6d4586645702e044bc3d0573..6b142dd1c7faf64fc66c440c12218f2e996b9137 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef BINARYBUFFER_H
 #define BINARYBUFFER_H
 
-#include <helper/types.h>
-
 /** @file
  * Support functions to access arbitrary bits in a byte array
  */
index 7cd5cc4c76fcf23205f3acaf5a993e6d7879da97..6c0e0f6de998413d8754f98b186d816bb6ebf017 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef COMMAND_H
 #define COMMAND_H
 
-#include <helper/types.h>
-
 #include <jim.h>
 #include <jim-nvp.h>
 
index bd6442450eb72de09289f5d699034e18d6b91fb0..25b079de4b81368c2b4ffcc5b9c15d92507c868a 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef FILEIO_H
 #define FILEIO_H
 
-#include <helper/types.h>
-
 #define FILEIO_MAX_ERROR_STRING                (128)
 
 enum fileio_type {
index bdd3ae7c0d7d7377c8cf0305f29403e2f6534be6..7c2e44b0deb59f0f4cf99bb6deeab139d7f7f8e4 100644 (file)
@@ -139,8 +139,6 @@ static inline unsigned usleep(unsigned int usecs)
 #include <windows.h>
 #include <time.h>
 
-#include <helper/types.h>
-
 /* Windows does not declare sockaddr_un */
 #define UNIX_PATH_LEN 108
 struct sockaddr_un {
@@ -230,8 +228,6 @@ static inline int socket_select(int max_fd,
 
 #ifndef HAVE_ELF_H
 
-#include <helper/types.h>
-
 typedef uint32_t Elf32_Addr;
 typedef uint16_t Elf32_Half;
 typedef uint32_t Elf32_Off;
index 9ca65c5ff2f1b6786a3e4b43d05038c0af80403b..2473c27d57d271c71371fbd0b8679962342fdfdb 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef JTAG_LIBUSB_COMMON_H
 #define JTAG_LIBUSB_COMMON_H
 
-#include <helper/types.h>
 #include <usb.h>
 
 #define jtag_libusb_device                     usb_device
index 2c570fa18e507670e9f9b61a03a538f2cf3da2a0..b38fe669c4ad61f5dd38d169b328a34f1d0e9a36 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef JTAG_LIBUSB_COMMON_H
 #define JTAG_LIBUSB_COMMON_H
 
-#include <helper/types.h>
 #include <libusb-1.0/libusb.h>
 
 #define jtag_libusb_device                     libusb_device
index 02170606161d4dbd82fb76a6030dff38202c09c7..9d1099c8474d81c559f9da53eb75bad5b582a252 100644 (file)
@@ -18,8 +18,6 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
-#include <helper/types.h>
-
 struct rlink_speed_table {
        uint8_t const *dtc;
        uint16_t dtc_size;
index 4de1a77035dfb6bef35e9db5c8d01e81ba0fe1b0..2638d4e451607586520999b3680b7df628573a29 100644 (file)
@@ -26,7 +26,6 @@
 #include <jtag/interface.h>
 #include <jtag/commands.h>
 #include <target/image.h>
-#include <helper/types.h>
 #include "usb_common.h"
 #include "OpenULINK/include/msgtypes.h"
 
index 468acf9567690f83f1f6c35ec0d7bc9831f099b9..ebf0c40fea0048249c3ae3a3918983e31b66f276 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef JTAG_USB_COMMON_H
 #define JTAG_USB_COMMON_H
 
-#include <helper/types.h>
-
 #include <usb.h>
 
 int jtag_usb_open(const uint16_t vids[], const uint16_t pids[],
index 37f1811825459800b5143faca2426b0af38692b6..131a78347b27a691ea767a8bf52042c0da049153 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef XILINX_BIT_H
 #define XILINX_BIT_H
 
-#include <helper/types.h>
-
 struct xilinx_bit_file {
        uint8_t unknown_header[13];
        uint8_t *source_file;
index a93daeef974fa85f014a281199f77f6d00fd1855..d8335b4a82e022210563be2fe4364c3ca6a72ca9 100644 (file)
@@ -22,7 +22,6 @@
 #define RTOS_H
 
 #include "server/server.h"
-#include <helper/types.h>
 #include <jim-nvp.h>
 
 typedef int64_t threadid_t;
index bdfdb038cd78d6316e9deca38760e6434fa01955..07564d6d8f216e288cb7ec7cf10541f074dc2ece 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef ARM_DISASSEMBLER_H
 #define ARM_DISASSEMBLER_H
 
-#include <helper/types.h>
-
 enum arm_instruction_type {
        ARM_UNKNOWN_INSTUCTION,
 
index 3a7ac13ecc609461e440112299d1e2a5b5c55cee..38ba4d46bcc23a1b67e3576bdfec697ba50bd46c 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef ARM_SIMULATOR_H
 #define ARM_SIMULATOR_H
 
-#include <helper/types.h>
-
 struct target;
 
 struct arm_sim_interface {
index fc5e2c7995b15d5f6d1412958b7ac453e2b98a09..95273a7d38ecae12c960e0021f54d018b79815eb 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef ARMV4_5_CACHE_H
 #define ARMV4_5_CACHE_H
 
-#include <helper/types.h>
-
 struct command_context;
 
 struct armv4_5_cachesize {
index 0b5b281e3515f2fafe2745758ece85d4f45294f0..1e4889a5df63e27b7cbc2471bf81ba5e99dbe541 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef AVR32_AP7K
 #define AVR32_AP7K
 
-#include <helper/types.h>
-
 struct target;
 
 #define AP7k_COMMON_MAGIC      0x4150374b
index c88f44e800f9286df15daf839cc28c2bec15836c..a363c70857b0deaa62fd20ffcfb5f01597e0ab11 100644 (file)
@@ -22,7 +22,6 @@
 #endif
 
 #include "target.h"
-#include "helper/types.h"
 #include "jtag/jtag.h"
 #include "avr32_jtag.h"
 
index 8b1631a01bdcf7735637a6c4bdf6e6c9f0657a87..a019e967b39d98f2488a9c4cd9cea265b3c99bbf 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef BREAKPOINTS_H
 #define BREAKPOINTS_H
 
-#include <helper/types.h>
-
 struct target;
 
 enum breakpoint_type {
index 5a9ed77c46423ad6fe8c21df8f624da40c55e7ca..e21d57e9c8d6cb1cdac90b4db9f2b060d77e87d2 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef MIPS_M4K_H
 #define MIPS_M4K_H
 
-#include <helper/types.h>
-
 struct target;
 
 #define MIPSM4K_COMMON_MAGIC   0xB321B321
index 65dc24f07ede8dfaabdfcdd48b37ff5a8578497c..ab1e40b17a10d63cf89f2fdb4edfd7e9ccf5c6f4 100644 (file)
@@ -25,7 +25,6 @@
 #include "config.h"
 #endif
 
-#include <helper/types.h>
 #include "register.h"
 #include <helper/log.h>
 
index c0936ff5ca8ae4a47f5449af78789f2710a73447..9cd4b013d3ea0a26b1cd3db5257146a921e5d94a 100644 (file)
@@ -23,7 +23,6 @@
 #endif
 
 #include "server/server.h"
-#include <helper/types.h>
 
 #include "target/target.h"
 
index 9dc928fe8f339de70bb77e8367caafa6f984bd4b..b3025dcb575ffbd71c860f7914a0b3b1626c67fe 100644 (file)
@@ -33,8 +33,6 @@
 #ifndef TARGET_H
 #define TARGET_H
 
-#include <helper/types.h>
-
 struct reg;
 struct trace;
 struct command_context;
index f6f0ea7bf0a69204fa404062dfe3b8d2d1a71d01..7eacd7f98cc0e29f9e1d6969d4c9c02e69b34959 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef TARGET_TYPE_H
 #define TARGET_TYPE_H
 
-#include <helper/types.h>
 #include <jim-nvp.h>
 
 struct target;
index 5eaf8c8412d5326915fdf3ce898498a792e0a9e9..ebcf6b0fee0d93cb5c0ab841202b66f9bd452447 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef TRACE_H
 #define TRACE_H
 
-#include <helper/types.h>
-
 struct target;
 struct command_context;
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)