Finish JTAG header file modularization; command factoring follows.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
zwelch 2009-06-03 06:29:09 +00:00
parent 4a6adee17e
commit a3e84343e2
21 changed files with 12 additions and 24 deletions

View File

@ -21,8 +21,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#if PARPORT_USE_PPDEV == 1

View File

@ -24,8 +24,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include <usb.h>

View File

@ -21,7 +21,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"

View File

@ -25,9 +25,8 @@
#endif
#include "bitbang.h"
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "interface.h"
#include "commands.h"
/**
* Function bitbang_stableclocks

View File

@ -21,7 +21,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "bitq.h"
#include "interface.h"

View File

@ -20,7 +20,7 @@
#ifndef BITQ_H
#define BITQ_H
#include "jtag.h"
#include "commands.h"
typedef struct bitq_interface_s
{

View File

@ -21,7 +21,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"

View File

@ -21,7 +21,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"

View File

@ -40,8 +40,8 @@
#endif
/* project specific includes */
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include "time_support.h"
#if IS_CYGWIN == 1

View File

@ -21,8 +21,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#if 1

View File

@ -25,8 +25,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include <usb.h>

View File

@ -28,7 +28,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "jtag.h"
#include "minidriver.h"
#include "interface.h"

View File

@ -552,10 +552,6 @@ extern int jtag_srst_asserted(int* srst_asserted);
*/
extern void jtag_check_value_mask(scan_field_t *field, u8 *value, u8 *mask);
#ifdef INCLUDE_JTAG_INTERFACE_H
#include "commands.h"
#endif // INCLUDE_JTAG_INTERFACE_H
extern void jtag_sleep(u32 us);
extern int jtag_call_event_callbacks(enum jtag_event event);
extern int jtag_register_event_callback(int (* callback)(enum jtag_event event, void* priv), void* priv);

View File

@ -31,7 +31,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "minidriver.h"
#include "command.h"

View File

@ -68,6 +68,8 @@ static inline void interface_jtag_add_scan_check_alloc(scan_field_t *field)
#else
#include "commands.h"
static inline void interface_jtag_alloc_in_value32(scan_field_t *field)
{
field->in_value = (u8 *)cmd_queue_alloc(4);

View File

@ -24,7 +24,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "bitbang.h"

View File

@ -25,7 +25,6 @@
#include "windows.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "time_support.h"
#include "bitq.h"

View File

@ -28,8 +28,8 @@
#endif
/* project specific includes */
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include "rlink.h"
#include "st7.h"
#include "ep1_cmd.h"

View File

@ -34,8 +34,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include <usb.h>

View File

@ -26,8 +26,8 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "interface.h"
#include "commands.h"
#include <usb.h>

View File

@ -20,7 +20,6 @@
#include "config.h"
#endif
#define INCLUDE_JTAG_INTERFACE_H
#include "embeddedice.h"
#include "minidriver.h"
#include "interface.h"