summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
Commit message (Collapse)AuthorAgeFilesLines
* Finish JTAG header file modularization; command factoring follows.zwelch2009-06-031-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Move JTAG command APIs into new jtag/commands.h header file.zwelch2009-06-031-134/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2027 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Improve in-source documentation that was causing Doxygen warnings.zwelch2009-06-031-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Enable or add doxygen comments to the public JTAG API.zwelch2009-06-031-152/+249
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2019 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove vestigal tap_transition type from public jtag API.zwelch2009-06-031-9/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2017 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove interface.h from public JTAG header, include it where required.zwelch2009-06-031-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2016 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Expose tap_state_by_name TAP helper available in public API.zwelch2009-06-031-0/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add private src/jtag/interface.h for use by JTAG interface drivers:zwelch2009-06-021-207/+3
| | | | | | | | | | | - Move the jtag_interface structure definition. - Move the Cable API declarations. - Add new header file to automake input. The next patch will move the implementation to interface.c. git-svn-id: svn://svn.berlios.de/openocd/trunk@2008 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Finish removing '#ifdef HAVE_JTAG_MINIDRIVER_H' from jtag.h:zwelch2009-06-021-9/+3
| | | | | | | | | | | | | - Wraps JTAG callback API functions: - Outlines jtag_add_callback() and jtag_add_callback4(). - Adds interface_ prefix to existing in-tree driver implementation. - Declare the driver interfaces routines in miniheader.h file. This patch requires renaming the equivalent macros in out-of-tree jtag_minidriver.h implementations. git-svn-id: svn://svn.berlios.de/openocd/trunk@2007 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add header file for JTAG minidriver:zwelch2009-06-021-75/+3
| | | | | | | | | | | | | | | - Wraps all minidriver API functions using API front-ends: - Outlines jtag_add_dr_out() and jtag_alloc_in_value32(). - Adds interface_ prefix to existing jtag_alloc_invalue_32 routines. - Re-inline these interface definitions in new header file. - Re-inline parts of the (mini)driver implementations in minidriver.h. - Replace INCLUDE_JTAG_MINIDRIVER_H with #include directives. The next patch will finish removing '#ifdef HAVE_JTAG_MINIDRIVER_H' from jtag.h. git-svn-id: svn://svn.berlios.de/openocd/trunk@2006 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* some trivial minidriver fixesoharboe2009-06-021-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2002 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Move interface_jtag_add_scan_check_alloc implementations to theirzwelch2009-06-021-0/+2
| | | | | | | respective implementation files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1999 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Continue clean-up of JTAG driver interface:zwelch2009-06-021-0/+6
| | | | | | | | | - Move all interface_jtag_* functions to jtag_driver.c. - Extern command queue routines in jtag.h (with INCLUDE_JTAG_INTERFACE_H). - Add new source file to automake inputs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1996 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* More JTAG interface driver cleanup:zwelch2009-06-021-0/+7
| | | | | | | | | | | | - Make interface_jtag_execute_queue call new helper function. - Add default_interface_jtag_execute_queue to wrap jtag interface access. This patch may look useless on its own, but it helps to isolate the core JTAG variables from the interface_jtag_* routines, so the later can be moved into jtag_driver.c in a pending patch. git-svn-id: svn://svn.berlios.de/openocd/trunk@1993 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Encapsulate JTAG command interfaces for moving to jtag_interface.h.zwelch2009-06-021-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1991 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove the useless invalidstruct from jtag.h.zwelch2009-06-021-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1990 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Encapsulate JTAG Cable API and interface structure, plan for new header file.zwelch2009-06-011-0/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1984 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Encapsulate JTAG minidriver functions, plan for new header file.zwelch2009-06-011-19/+35
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1983 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove unused in_handler_t type definition from jtag.hzwelch2009-06-011-3/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1982 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added jtag_add_statemove() helper fn(actual fn written by Dick Hollonbeck, I ↵oharboe2009-06-011-0/+10
| | | | | | just moved it). git-svn-id: svn://svn.berlios.de/openocd/trunk@1980 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Encapsulate the global "jtag" jtag_interface pointer:zwelch2009-05-301-2/+3
| | | | | | | | | - Add jtag_interface_quit, factored from exit_handler() in openocd.c. - Remove its extern declaration. - Add static keyword to its definition. git-svn-id: svn://svn.berlios.de/openocd/trunk@1952 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* remove unused JTAG_END_STATE part 2oharboe2009-05-301-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1950 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove error_handler_t type definition; it was unused in the tree.zwelch2009-05-291-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1943 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Author: Michael Bruck <mbruck@digenius.de>kc8apf2009-05-211-14/+14
| | | | | | | | - add 'const' qualifier to function parameters in jtag.c that are not to be modified or freed by the function git-svn-id: svn://svn.berlios.de/openocd/trunk@1860 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Bruck <mbruck@digenius.de> change 'ir_scan' from 'int' to 'bool' to ↵oharboe2009-05-161-1/+1
| | | | | | document its semantics git-svn-id: svn://svn.berlios.de/openocd/trunk@1800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* shuffled comments about for jtag_add_dr_out() fn.oharboe2009-05-131-7/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1772 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* move eCos type definition to types.h where it belongs. oharboe2009-05-121-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1766 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* eCos fixesoharboe2009-05-121-0/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1763 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added jtag_alloc_in_value32 - not used in this commit.oharboe2009-05-121-1/+21
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1752 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* now builds on 64 and 32 bit systemsoharboe2009-05-111-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1748 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* retire jtag_add_dr_scan_nowoharboe2009-05-111-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1741 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* change jtag_add_callback API to be able to support check_value/maskoharboe2009-05-111-3/+15
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1735 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and eliminate redundant #include directives from src/jtag.zwelch2009-05-111-3/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Wrote up post processing JTAG API. Not used yet, but reference ↵oharboe2009-05-101-0/+64
| | | | | | implementation will be used in subsequent explanations of new scheme + patches to use it. git-svn-id: svn://svn.berlios.de/openocd/trunk@1692 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* in_handler in_check_mask and in_check_value now removed from field. Last big ↵oharboe2009-05-081-6/+0
| | | | | | patch in the series of JTAG API cleanup. git-svn-id: svn://svn.berlios.de/openocd/trunk@1672 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* pull up verify_capture_ir one level in api stackoharboe2009-05-081-1/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1669 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* refactor to be able to remove more in_handler stuffoharboe2009-05-071-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1652 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* verified that an argument is unusedoharboe2009-05-071-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1651 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* jtag API error handling refactoring.oharboe2009-05-071-0/+13
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1638 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added template for removing in_handler oharboe2009-05-071-0/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1629 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* remove unecessary setting of deprecated fields to NULLoharboe2009-05-061-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1611 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* add warnings about not using in_handleroharboe2009-05-061-5/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1609 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* retire out_mask - not used anywhereoharboe2009-05-061-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1608 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant declarations to allow building with -Wredundant-decls.zwelch2009-04-291-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1560 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* more docs on jtag_add_pathmove()oharboe2009-04-281-1/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com> and Jeff Williams tap_get_tms_path_len()oharboe2009-04-281-0/+19
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1557 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com> Collect some macros, add DIM()oharboe2009-04-271-3/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1546 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macrooharboe2009-04-261-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1529 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* add jtag_debug_state_machineoharboe2009-04-241-0/+19
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1525 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro (1 of 2)oharboe2009-04-241-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1524 b42882b7-edfa-0310-969c-e2dbd0fdcd60