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:
AM_CONFIG_HEADER([config.h])
AH_BOTTOM([
#include <helper/system.h>
AM_CONFIG_HEADER([config.h])
AH_BOTTOM([
#include <helper/system.h>
+#include <helper/types.h>
#include <helper/replacements.h>
])
#include <helper/replacements.h>
])
#ifndef BINARYBUFFER_H
#define BINARYBUFFER_H
#ifndef BINARYBUFFER_H
#define BINARYBUFFER_H
-#include <helper/types.h>
-
/** @file
* Support functions to access arbitrary bits in a byte array
*/
/** @file
* Support functions to access arbitrary bits in a byte array
*/
#ifndef COMMAND_H
#define COMMAND_H
#ifndef COMMAND_H
#define COMMAND_H
-#include <helper/types.h>
-
#include <jim.h>
#include <jim-nvp.h>
#include <jim.h>
#include <jim-nvp.h>
#ifndef FILEIO_H
#define FILEIO_H
#ifndef FILEIO_H
#define FILEIO_H
-#include <helper/types.h>
-
#define FILEIO_MAX_ERROR_STRING (128)
enum fileio_type {
#define FILEIO_MAX_ERROR_STRING (128)
enum fileio_type {
#include <windows.h>
#include <time.h>
#include <windows.h>
#include <time.h>
-#include <helper/types.h>
-
/* Windows does not declare sockaddr_un */
#define UNIX_PATH_LEN 108
struct sockaddr_un {
/* Windows does not declare sockaddr_un */
#define UNIX_PATH_LEN 108
struct sockaddr_un {
-#include <helper/types.h>
-
typedef uint32_t Elf32_Addr;
typedef uint16_t Elf32_Half;
typedef uint32_t Elf32_Off;
typedef uint32_t Elf32_Addr;
typedef uint16_t Elf32_Half;
typedef uint32_t Elf32_Off;
#ifndef JTAG_LIBUSB_COMMON_H
#define JTAG_LIBUSB_COMMON_H
#ifndef JTAG_LIBUSB_COMMON_H
#define JTAG_LIBUSB_COMMON_H
-#include <helper/types.h>
#include <usb.h>
#define jtag_libusb_device usb_device
#include <usb.h>
#define jtag_libusb_device usb_device
#ifndef JTAG_LIBUSB_COMMON_H
#define JTAG_LIBUSB_COMMON_H
#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
#include <libusb-1.0/libusb.h>
#define jtag_libusb_device libusb_device
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
* 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;
struct rlink_speed_table {
uint8_t const *dtc;
uint16_t dtc_size;
#include <jtag/interface.h>
#include <jtag/commands.h>
#include <target/image.h>
#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"
#include "usb_common.h"
#include "OpenULINK/include/msgtypes.h"
#ifndef JTAG_USB_COMMON_H
#define JTAG_USB_COMMON_H
#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[],
#include <usb.h>
int jtag_usb_open(const uint16_t vids[], const uint16_t pids[],
#ifndef XILINX_BIT_H
#define XILINX_BIT_H
#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;
struct xilinx_bit_file {
uint8_t unknown_header[13];
uint8_t *source_file;
#define RTOS_H
#include "server/server.h"
#define RTOS_H
#include "server/server.h"
-#include <helper/types.h>
#include <jim-nvp.h>
typedef int64_t threadid_t;
#include <jim-nvp.h>
typedef int64_t threadid_t;
#ifndef ARM_DISASSEMBLER_H
#define ARM_DISASSEMBLER_H
#ifndef ARM_DISASSEMBLER_H
#define ARM_DISASSEMBLER_H
-#include <helper/types.h>
-
enum arm_instruction_type {
ARM_UNKNOWN_INSTUCTION,
enum arm_instruction_type {
ARM_UNKNOWN_INSTUCTION,
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
-#include <helper/types.h>
-
struct target;
struct arm_sim_interface {
struct target;
struct arm_sim_interface {
#ifndef ARMV4_5_CACHE_H
#define ARMV4_5_CACHE_H
#ifndef ARMV4_5_CACHE_H
#define ARMV4_5_CACHE_H
-#include <helper/types.h>
-
struct command_context;
struct armv4_5_cachesize {
struct command_context;
struct armv4_5_cachesize {
#ifndef AVR32_AP7K
#define AVR32_AP7K
#ifndef AVR32_AP7K
#define AVR32_AP7K
-#include <helper/types.h>
-
struct target;
#define AP7k_COMMON_MAGIC 0x4150374b
struct target;
#define AP7k_COMMON_MAGIC 0x4150374b
#endif
#include "target.h"
#endif
#include "target.h"
-#include "helper/types.h"
#include "jtag/jtag.h"
#include "avr32_jtag.h"
#include "jtag/jtag.h"
#include "avr32_jtag.h"
#ifndef BREAKPOINTS_H
#define BREAKPOINTS_H
#ifndef BREAKPOINTS_H
#define BREAKPOINTS_H
-#include <helper/types.h>
-
struct target;
enum breakpoint_type {
struct target;
enum breakpoint_type {
#ifndef MIPS_M4K_H
#define MIPS_M4K_H
#ifndef MIPS_M4K_H
#define MIPS_M4K_H
-#include <helper/types.h>
-
struct target;
#define MIPSM4K_COMMON_MAGIC 0xB321B321
struct target;
#define MIPSM4K_COMMON_MAGIC 0xB321B321
#include "config.h"
#endif
#include "config.h"
#endif
-#include <helper/types.h>
#include "register.h"
#include <helper/log.h>
#include "register.h"
#include <helper/log.h>
#endif
#include "server/server.h"
#endif
#include "server/server.h"
-#include <helper/types.h>
#include "target/target.h"
#include "target/target.h"
#ifndef TARGET_H
#define TARGET_H
#ifndef TARGET_H
#define TARGET_H
-#include <helper/types.h>
-
struct reg;
struct trace;
struct command_context;
struct reg;
struct trace;
struct command_context;
#ifndef TARGET_TYPE_H
#define TARGET_TYPE_H
#ifndef TARGET_TYPE_H
#define TARGET_TYPE_H
-#include <helper/types.h>
#include <jim-nvp.h>
struct target;
#include <jim-nvp.h>
struct target;
#ifndef TRACE_H
#define TRACE_H
#ifndef TRACE_H
#define TRACE_H
-#include <helper/types.h>
-
struct target;
struct command_context;
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)