summaryrefslogtreecommitdiff
path: root/src/jtag/commands.h
Commit message (Collapse)AuthorAgeFilesLines
* interface: define TMS sequence commandDavid Brownell2010-02-271-9/+30
| | | | | | | | | | | | | | | | | | | | | | | For support of SWD we need to be able to clock out special bit sequences over TMS or SWDIO. Create this as a generic operation, not yet called by anything, which is split as usual into: - upper level abstraction ... here, jtag_add_tms_seq(); - midlayer implementation logic hooking that to the lowlevel code; - lowlevel minidriver operation ... here, interface_add_tms_seq(); - message type for request queue, here JTAG_TMS. This is done slightly differently than other operations: there's a flag saying whether the interface driver supports this request. (In fact a flag *word* so upper layers can learn about other capabilities too ... for example, supporting SWD operations.) That approach (flag) lets this method *eventually* be used to eliminate pathmove() and statemove() support from most adapter drivers, by moving all that logic into the mid-layer and increasing uniformity between the various drivers. (Which will in turn reduce subtle bugginess.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* minidriver: fix inline capability of minidriverØyvind Harboe2009-12-081-2/+0
| | | | | | | | | | | Low latency low CPU processing power systems(embedded) will benefit greatly from being able to inline certain jtag_add_xxx() fn's. The trick is that this has to be done in such a way as to allow implementing an OpenOCD API with a shared library(eventually) on a PC hosted OpenOCD. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* change #include "jtag.h" to <jtag/jtag.h>Zachary T Welch2009-12-031-1/+1
| | | | | | | | | | | | Changes from the flat namespace to heirarchical one. Instead of writing: #include "jtag.h" the following form should be used. #include <jtag/jtag.h> The exception is from .c files in the same directory.
* jtag_command_t -> struct jtag_commandZachary T Welch2009-11-131-6/+5
| | | | Remove useless typedef from struct jtag_command.
* jtag_command_container_t -> union jtag_command_containerZachary T Welch2009-11-131-5/+4
| | | | Remove misleading typedef from union jtag_container.
* sleep_command_t -> struct sleep_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct sleep_command.
* end_state_command_t -> struct end_state_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct end_state_command.
* reset_command_t -> struct reset_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct reset_command.
* stableclocks_command_t -> struct stableclocks_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct stableclocks_command.
* runtest_command_t -> struct runtest_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct runtest_command.
* pathmove_command_t -> struct pathmove_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct pathmove_command.
* statemove_command_t -> struct statemove_commandZachary T Welch2009-11-131-4/+3
| | | | Remove misleading typedef from struct statemove_command.
* scan_command_t -> struct scan_commandZachary T Welch2009-11-131-8/+7
| | | | Remove misleading typedef on struct scan_command.
* scan_field_t -> struct scan_fieldZachary T Welch2009-11-131-1/+1
| | | | Remove useless structure typedef.
* - Fixes '=' whitespacezwelch2009-06-231-2/+2
| | | | | | | | | - Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Finish transforming 'u32' to 'uint32_t'.zwelch2009-06-181-1/+1
| | | | | | | | - Replace '\([^_]\)u32' with '\1uint32_t'. - Replace '^u32' with 'uint32_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2281 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Transform 'u8' to 'uint8_t'zwelch2009-06-181-2/+2
| | | | | | | | - Replace '\([^_]\)u8' with '\1uint8_t'. - Replace '^u8' with 'uint8_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2276 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added missing extern to jtag_command_queue definition.oharboe2009-06-031-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2028 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Move JTAG command APIs into new jtag/commands.h header file.zwelch2009-06-031-0/+162
git-svn-id: svn://svn.berlios.de/openocd/trunk@2027 b42882b7-edfa-0310-969c-e2dbd0fdcd60