Eliminate MixedCaps symbol from public JTAG TAP API:

- Purely mechanical transformations to the source files.
- Rename 'jtag_AllTaps' as 'jtag_all_taps.'


git-svn-id: svn://svn.berlios.de/openocd/trunk@2062 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
zwelch 2009-06-05 00:42:25 +00:00
parent eaf37cf9e8
commit dd89964ae0
2 changed files with 7 additions and 7 deletions

View File

@ -236,7 +236,7 @@ static int handle_verify_ircapture_command(struct command_context_s *cmd_ctx, ch
static int handle_verify_jtag_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
static int handle_tms_sequence_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
jtag_tap_t *jtag_AllTaps(void)
jtag_tap_t *jtag_all_taps(void)
{
return __jtag_all_taps;
};
@ -252,7 +252,7 @@ int jtag_NumEnabledTaps(void)
int n;
n = 0;
t = jtag_AllTaps();
t = jtag_all_taps();
while(t){
if( t->enabled ){
n++;
@ -278,7 +278,7 @@ jtag_tap_t *jtag_TapByString( const char *s )
jtag_tap_t *t;
char *cp;
t = jtag_AllTaps();
t = jtag_all_taps();
/* try name first */
while(t){
if( 0 == strcmp( t->dotted_name, s ) ){
@ -325,7 +325,7 @@ jtag_tap_t * jtag_TapByAbsPosition( int n )
jtag_tap_t *t;
orig_n = n;
t = jtag_AllTaps();
t = jtag_all_taps();
while( t && (n > 0)) {
n--;
@ -1933,7 +1933,7 @@ static int handle_scan_chain_command(struct command_context_s *cmd_ctx, char *cm
{
jtag_tap_t *tap;
tap = jtag_AllTaps();
tap = jtag_all_taps();
command_print(cmd_ctx, " TapName | Enabled | IdCode Expected IrLen IrCap IrMask Instr ");
command_print(cmd_ctx, "---|--------------------|---------|------------|------------|------|------|------|---------");

View File

@ -175,7 +175,7 @@ struct jtag_tap_s
jtag_tap_t* next_tap;
};
extern jtag_tap_t* jtag_AllTaps(void);
extern jtag_tap_t* jtag_all_taps(void);
extern const char *jtag_tap_name(const jtag_tap_t *tap);
extern jtag_tap_t* jtag_TapByPosition(int n);
extern jtag_tap_t* jtag_TapByString(const char* dotted_name);
@ -189,7 +189,7 @@ static __inline__ jtag_tap_t* jtag_NextEnabledTap(jtag_tap_t* p)
if (p == NULL)
{
/* start at the head of list */
p = jtag_AllTaps();
p = jtag_all_taps();
}
else
{