summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* arm7_9_common: use register_commands()Zachary T Welch2009-11-241-20/+37
|
* arm720t: use register_commands()Zachary T Welch2009-11-241-15/+23
|
* arm11: use register_commands()Zachary T Welch2009-11-241-35/+62
|
* remove nand_controller->register_callbacksZachary T Welch2009-11-2412-41/+8
| | | | | Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
* remove flash_driver->register_callbacksZachary T Welch2009-11-2417-105/+25
| | | | | Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
* tms470: use register_commands()Zachary T Welch2009-11-241-7/+32
|
* str9xpec: use register_commands()Zachary T Welch2009-11-241-38/+81
|
* str9x: use register_commands()Zachary T Welch2009-11-241-8/+21
|
* str7x: use register_commands()Zachary T Welch2009-11-241-8/+20
|
* stm32x: use register_commands()Zachary T Welch2009-11-241-21/+44
|
* stellaris: use register_commands()Zachary T Welch2009-11-241-7/+20
|
* pic32mx: use register_commands()Zachary T Welch2009-11-241-17/+25
|
* nand: use register_commands()Zachary T Welch2009-11-241-47/+98
| | | | Eliminates 'nand_cmd' global variable.
* mflash: use register_commands()Zachary T Welch2009-11-241-17/+54
|
* lpc3180_nand_controller: use register_commands()Zachary T Welch2009-11-241-5/+21
|
* lpc2900: use register_commands()Zachary T Welch2009-11-241-34/+55
|
* lpc2000: use register_commands()Zachary T Welch2009-11-241-8/+20
|
* flash: use register_commands()Zachary T Welch2009-11-241-50/+117
| | | | Eliminates 'flash_cmd' global variable.
* ecos: use register_commands()Zachary T Welch2009-11-241-2/+0
|
* cfi: use register_commands()Zachary T Welch2009-11-241-6/+0
|
* avrf: use register_commands()Zachary T Welch2009-11-241-8/+20
|
* at91sam7: use register_commands()Zachary T Welch2009-11-241-9/+21
|
* at91sam3: use register_commands()Zachary T Welch2009-11-241-27/+35
|
* remove register_callbacks from jtag interfaceZachary T Welch2009-11-2412-112/+33
| | | | | | | | 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.
* vsllink: use register_commands()Zachary T Welch2009-11-241-20/+35
| | | | Use register_commands() with command registration array.
* jtag: use register_commands()Zachary T Welch2009-11-241-67/+119
| | | | Use register commands with command registration array.
* presto: use register_commands()Zachary T Welch2009-11-241-3/+12
| | | | Use register_commands() with command registration array.
* parport: use register_commands()Zachary T Welch2009-11-241-20/+37
| | | | Use register_commands() with a command registration array.
* jlink: use register_commands()Zachary T Welch2009-11-241-8/+18
| | | | Use register_commands() with command registration array.
* gw16012: use register_commands()Zachary T Welch2009-11-241-5/+12
| | | | Use register_commands() with command registration array.
* ft2232: use register_commands()Zachary T Welch2009-11-241-18/+41
| | | | Use register_commands() with a command registration array.
* at91rm9200: use register_commands()Zachary T Welch2009-11-241-3/+10
| | | | | | | 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?
* arm-jtag-ew: use register_commands()Zachary T Welch2009-11-241-4/+11
| | | | Uses register_commands() with command registration array.
* amt_jtagaccel: use register_commands()Zachary T Welch2009-11-241-8/+19
| | | | Use register_commands() with command_registration array.
* pld: use static registration instead of callbackZachary T Welch2009-11-243-12/+12
| | | | | Remove register_callbacks from pld_device structure, using an array of command_registration records instead.
* pld: use register_commands()Zachary T Welch2009-11-242-22/+60
| | | | Updates core PLD and virtex2 commands to use register_commands().
* {,x}svf: use register_commands()Zachary T Welch2009-11-242-10/+27
| | | | Use register_commands() for registering {,x}svf commands.
* server: use register_commandsZachary T Welch2009-11-244-45/+95
| | | | Converts server directory to use new command registration paradigm.
* log: use register_commands()Zachary T Welch2009-11-241-5/+19
| | | | | Use register_commands() for logging callbacks. Improve help and add proper usage.
* ioutil: use register_commands()Zachary T Welch2009-11-241-17/+45
| | | | Use table instead of individual calls. Add proper usage information.
* openocd: use register_commands()Zachary T Welch2009-11-241-6/+18
| | | | Use register_commands() for top-level version and init command.
* demonstrate chaining with foo commandsZachary T Welch2009-11-241-12/+7
| | | | | | 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.
* hello: use register_commands()Zachary T Welch2009-11-241-16/+36
| | | | Use new register_commands() with command registration table.
* rewrite 'unknown' command dispatching in CZachary T Welch2009-11-242-17/+65
| | | | | Rewrite the magical 'unknown' command in C as a Jim handler, allowing it to dispatch commands to any level in the tree.
* add public API for locating commandsZachary T Welch2009-11-242-0/+15
| | | | | Allow other modules to find a command, primarily for the purpose of registering and unregistering subcommands.
* refactor script_command context grabbingZachary T Welch2009-11-241-12/+16
| | | | Move command context acquisition to current_command_context() for re-use.
* add command registration chainingZachary T Welch2009-11-242-8/+37
| | | | | | | | | Adds the ability to chain registration structures. Modules can define a command with the 'chain' and 'num_chain' fields defined in their registration table, and the register_commands() function will initialize these commands. If the registration record creates a new command, then the chained commands are created under it; otherwise, they are created in the same context as the other commands (i.e. the parent argument).
* more command registration refactoringZachary T Welch2009-11-241-16/+38
| | | | | Split out the handler registration into its own function, and add a few obviously missing NULL pointer error checking.
* command: use register_commands for handlersZachary T Welch2009-11-241-17/+34
| | | | | | Use register_commands() to register low-level command handlers, adding a builtin_command_handlers declaration that is easy to understand. Splits help and usage information into their appropriate fields.
* add command usage, separate from helpZachary T Welch2009-11-242-14/+52
| | | | | | Adds the usage command, to display usage information for commands. The output for this command will remain erronenously empty until commands are updated to use these new coventions.