Zachary T Welch
bdae918dcd
at91sam7: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
2a4a94b7ac
at91sam3: use register_commands()
2009-11-24 21:37:34 -08:00
Zachary T Welch
8d46720cda
remove register_callbacks from jtag interface
...
Changes the jtag_interface->register_callbacks field to a list of
commands to be registered. Changes callback to invocation of
register_commands() with that command registration list. Removes all
JTAG interface driver register_command callback functions, which the
previous commits had converted into identical calls.
2009-11-24 21:37:33 -08:00
Zachary T Welch
fc2d9f8761
vsllink: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
355a673032
jtag: use register_commands()
...
Use register commands with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
9a31d66b3f
presto: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
339e08baa5
parport: use register_commands()
...
Use register_commands() with a command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
b1d034bf2f
jlink: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
779bdbe797
gw16012: use register_commands()
...
Use register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
3ab599a7e4
ft2232: use register_commands()
...
Use register_commands() with a command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
30be874de8
at91rm9200: use register_commands()
...
Use register_commands() with command registration array.
---
This module was broken by previous changes, but no one has complained.
Are there still users for this modules?
2009-11-24 21:37:33 -08:00
Zachary T Welch
0af32bb938
arm-jtag-ew: use register_commands()
...
Uses register_commands() with command registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
48429dcfad
amt_jtagaccel: use register_commands()
...
Use register_commands() with command_registration array.
2009-11-24 21:37:33 -08:00
Zachary T Welch
e2f23c5437
pld: use static registration instead of callback
...
Remove register_callbacks from pld_device structure, using an array
of command_registration records instead.
2009-11-24 21:37:33 -08:00
Zachary T Welch
76b89755c9
pld: use register_commands()
...
Updates core PLD and virtex2 commands to use register_commands().
2009-11-24 21:37:33 -08:00
Zachary T Welch
75e37b5348
{,x}svf: use register_commands()
...
Use register_commands() for registering {,x}svf commands.
2009-11-24 21:37:33 -08:00
Zachary T Welch
b4c4b5f71e
server: use register_commands
...
Converts server directory to use new command registration paradigm.
2009-11-24 21:37:32 -08:00
Zachary T Welch
29772ec372
log: use register_commands()
...
Use register_commands() for logging callbacks. Improve help and add
proper usage.
2009-11-24 21:37:32 -08:00
Zachary T Welch
8de1e7bd9e
ioutil: use register_commands()
...
Use table instead of individual calls. Add proper usage information.
2009-11-24 21:37:32 -08:00
Zachary T Welch
1595fd7c4b
openocd: use register_commands()
...
Use register_commands() for top-level version and init command.
2009-11-24 21:37:32 -08:00
Zachary T Welch
16e0404777
demonstrate chaining with foo commands
...
Use the new command registration chaining capabilities to eliminate
the foo_register_commands helper, folding its remaining command
handler setup into the hello_command_handlers registration array.
2009-11-24 21:37:32 -08:00
Zachary T Welch
e7fd1d3d50
hello: use register_commands()
...
Use new register_commands() with command registration table.
2009-11-24 21:37:32 -08:00
Zachary T Welch
62e5649600
rewrite 'unknown' command dispatching in C
...
Rewrite the magical 'unknown' command in C as a Jim handler, allowing
it to dispatch commands to any level in the tree.
2009-11-24 21:37:30 -08:00
Zachary T Welch
769fbfa058
add public API for locating commands
...
Allow other modules to find a command, primarily for the purpose of
registering and unregistering subcommands.
2009-11-24 21:37:30 -08:00
Zachary T Welch
4c54c27da7
refactor script_command context grabbing
...
Move command context acquisition to current_command_context() for re-use.
2009-11-24 21:37:30 -08:00