- Fixes '>>' whitespace
- 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@2369 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -106,7 +106,7 @@ static __inline__ void shiftValueInner(const enum tap_state state, const enum ta
|
||||
}
|
||||
/* shift out value */
|
||||
waitIdle();
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0x28, (((value>>i)&1)<<1)|tms);
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0x28, (((value >> i)&1)<<1)|tms);
|
||||
}
|
||||
waitIdle();
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0x28, 0);
|
||||
@@ -131,11 +131,11 @@ static __inline__ void shiftValueInner(const enum tap_state state, const enum ta
|
||||
for (i=0; i<repeat-1; i++)
|
||||
{
|
||||
sampleShiftRegister();
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0xc, value>>i);
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0xc, value >> i);
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0x8, (1<<8)|(a<<4)|a);
|
||||
}
|
||||
sampleShiftRegister();
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0xc, value>>(repeat-1));
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0xc, value >> (repeat-1));
|
||||
ZY1000_POKE(ZY1000_JTAG_BASE+0x8, (1<<8)|(a<<4)|b);
|
||||
} else
|
||||
{
|
||||
|
||||
@@ -474,7 +474,7 @@ static __inline void scanFields(int num_fields, const scan_field_t *fields, tap_
|
||||
|
||||
for (l=0; l<k; l += 8)
|
||||
{
|
||||
inBuffer[(j+l)/8]=(value>>l)&0xff;
|
||||
inBuffer[(j+l)/8]=(value >> l)&0xff;
|
||||
}
|
||||
}
|
||||
j += k;
|
||||
|
||||
Reference in New Issue
Block a user