Split main jtag.c file into two layers:

- src/jtag/core.c: contains the low-level JTAG TAP and scanning routines.
- src/jtag/tcl.c: contains high-level JTAG TCL commands that use the core.
- Remove static keywords from routines in core.c, extern from tcl.c:
  - jtag, jtag_interface global variables
  - jtag_{examine,validate}_chain and jtag_tap_{init,free} functions
- Added myself to the copyright header in both of these files.
- Used 'svn cp' to add files, so versioning was preserved for both.


git-svn-id: svn://svn.berlios.de/openocd/trunk@2149 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
zwelch 2009-06-09 04:15:13 +00:00
parent 03b2b345ed
commit 66707c94d7
3 changed files with 1279 additions and 1221 deletions

View File

@ -124,7 +124,8 @@ ARMJTAGEWFILES =
endif endif
libjtag_la_SOURCES = \ libjtag_la_SOURCES = \
jtag.c \ core.c \
tcl.c \
interface.c \ interface.c \
$(DRIVERFILES) \ $(DRIVERFILES) \
$(BITBANGFILES) \ $(BITBANGFILES) \

1268
src/jtag/core.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff