Rutger Hofman
1a618339c9
Move jtag.c to apps/jtag/; move global vars from jtag.c to global/urjtag.c
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1540 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
08e72f4335
Move all include/* to include/urjtag/; start lifting command implementations into their library modules
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1539 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6fb6e82dbd
Move the .h files in include/flash/ to src/flash. Step 2. Compiles again.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1538 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
621b9bc084
Move the .h files in include/flash/ to src/flash. Step 1. DOES NOT COMPILE\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1537 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
e5b34b6286
Reverted a few more prefix-replaced strings (urj_flash_cfi_array)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1536 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d37d7014c5
Reverted a few prefix-replaced strings (discovery, readmem, writemem, detectflash, flashmem)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1535 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
adc9b7815c
Remove a global variable jtag_argv0: replace by a static var and a setter call
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1534 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
4055a8bbc4
add more Blackfin register/instruction JTAG encodings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1533 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Mike Frysinger
be6ebb2c61
update bf518 bsdl settings
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1532 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
b252e04ddc
Use libtool: patch in the changes by Przemyslaw Iskra
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1531 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
69f787a86b
Remove casts of malloc result; add notes on unchecked malloc result
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1530 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
fe5e343529
Rename register.h to tap_register.h, instruction.h to part_instruction.h PART II -- compiles again
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1529 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
970893163c
Rename a few globals that had escaped; rename register.h to tap_register.h, instruction.h to part_instruction.h PART I -- does not compile\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1528 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6634b563fe
po/POTFILES is aware of file names. When renaming, update here too
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1527 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
40aab582ec
Renamed global variables to carry urj_ prefix. Redid indent.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1525 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4ee78e6020
Before we do global-variable renaming, do a few by hand because the chance of name duplication is too big: bus, buses, cmds. Also fix some buglets relating to use of global variable 'bus' where a local parameter is intended
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1524 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4c2448d871
Rename *.c to cmd_*.c in cmd/. PART 1 of 2. Incomplete commit\!
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1523 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
fd086d2055
When typedef'ing of a (public) enum, give the enum a (systematic) name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1522 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
2dc3c156f5
Run indent again over the renamed code. ToDo: indent the bison and flex files
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1521 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d715fae138
Handle #define layouts by hand. Fix the occasional #define BLA if (x) act(): wrap in do { ... } while
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1520 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
6a4ef2b9c9
Rename exported functions, variables, types, enums, defines to prefix urj_/URJ_ and prepend module path
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1519 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
0962872270
Weird editor buglet
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1518 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
3d545ea542
Forgot one place for instruction -> instruction_t
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1517 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
730687ff7a
Of all typedefs, only 3 don't have _t suffix. Add.
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1516 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
d99bad640d
Make some variables that are in fact file-local static
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1515 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
1c1fa836b9
Enable -Wmissing-prototypes
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1514 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c42619d1e6
Rename tap.c:idcode() by hand because this name is used in many different places, and it should only be renamed for this one
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1513 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
2f94119d73
Macro definitions don't allow whitespace before (argument list). Now I know
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1512 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
c488ad4dc2
By hand, rename the bitmask macros because they also occur within strings or comments where they should remain unchanged
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1511 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
7ecd47c474
Do the indent again, but pass in -T <type> for each typedef. I included FILE and uint32_t and friends, but who knows what system types I forgot
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1510 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
dd60ee16a2
Rename state.h to tap_state.h before we do changes based on file name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1509 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
4864b87f8d
Rename state.h to tap_state.h before we do changes based on file name
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1508 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
317fdb387c
Run indent over .c and .h files (except libiberty and gettext imports)
...
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1507 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago
Rutger Hofman
41a1720498
Copy jtag/ to urjtag/.
...
This is the very first step in converting the jtag/ tree into a library
structure. All changes will be done on urjtag/. For a grace period, jtag/
will live on as a bug-fix-only release.
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1506 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
16 years ago