aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-24arm926ejs: use register_commands()Zachary T Welch
2009-11-24arm920t: use register_commands()Zachary T Welch
2009-11-24arm7_9_common: use register_commands()Zachary T Welch
2009-11-24arm720t: use register_commands()Zachary T Welch
2009-11-24arm11: use register_commands()Zachary T Welch
2009-11-24remove nand_controller->register_callbacksZachary T Welch
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
2009-11-24remove flash_driver->register_callbacksZachary T Welch
Replace flash_driver callback with pointer to command_registration. Eliminates all related routines and allows drivers to omit commands.
2009-11-24tms470: use register_commands()Zachary T Welch
2009-11-24str9xpec: use register_commands()Zachary T Welch
2009-11-24str9x: use register_commands()Zachary T Welch
2009-11-24str7x: use register_commands()Zachary T Welch
2009-11-24stm32x: use register_commands()Zachary T Welch
2009-11-24stellaris: use register_commands()Zachary T Welch
2009-11-24pic32mx: use register_commands()Zachary T Welch
2009-11-24nand: use register_commands()Zachary T Welch
Eliminates 'nand_cmd' global variable.
2009-11-24mflash: use register_commands()Zachary T Welch
2009-11-24lpc3180_nand_controller: use register_commands()Zachary T Welch
2009-11-24lpc2900: use register_commands()Zachary T Welch
2009-11-24lpc2000: use register_commands()Zachary T Welch
2009-11-24flash: use register_commands()Zachary T Welch
Eliminates 'flash_cmd' global variable.
2009-11-24ecos: use register_commands()Zachary T Welch
2009-11-24cfi: use register_commands()Zachary T Welch
2009-11-24avrf: use register_commands()Zachary T Welch
2009-11-24at91sam7: use register_commands()Zachary T Welch
2009-11-24at91sam3: use register_commands()Zachary T Welch
2009-11-24remove register_callbacks from jtag interfaceZachary T Welch
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-24vsllink: use register_commands()Zachary T Welch
Use register_commands() with command registration array.
2009-11-24jtag: use register_commands()Zachary T Welch
Use register commands with command registration array.
2009-11-24presto: use register_commands()Zachary T Welch
Use register_commands() with command registration array.
2009-11-24parport: use register_commands()Zachary T Welch
Use register_commands() with a command registration array.
2009-11-24jlink: use register_commands()Zachary T Welch
Use register_commands() with command registration array.
2009-11-24gw16012: use register_commands()Zachary T Welch
Use register_commands() with command registration array.
2009-11-24ft2232: use register_commands()Zachary T Welch
Use register_commands() with a command registration array.
2009-11-24at91rm9200: use register_commands()Zachary T Welch
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-24arm-jtag-ew: use register_commands()Zachary T Welch
Uses register_commands() with command registration array.
2009-11-24amt_jtagaccel: use register_commands()Zachary T Welch
Use register_commands() with command_registration array.
2009-11-24pld: use static registration instead of callbackZachary T Welch
Remove register_callbacks from pld_device structure, using an array of command_registration records instead.
2009-11-24pld: use register_commands()Zachary T Welch
Updates core PLD and virtex2 commands to use register_commands().
2009-11-24{,x}svf: use register_commands()Zachary T Welch
Use register_commands() for registering {,x}svf commands.
2009-11-24server: use register_commandsZachary T Welch
Converts server directory to use new command registration paradigm.
2009-11-24log: use register_commands()Zachary T Welch
Use register_commands() for logging callbacks. Improve help and add proper usage.
2009-11-24ioutil: use register_commands()Zachary T Welch
Use table instead of individual calls. Add proper usage information.
2009-11-24openocd: use register_commands()Zachary T Welch
Use register_commands() for top-level version and init command.
2009-11-24demonstrate chaining with foo commandsZachary T Welch
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-24hello: use register_commands()Zachary T Welch
Use new register_commands() with command registration table.
2009-11-24rewrite 'unknown' command dispatching in CZachary T Welch
Rewrite the magical 'unknown' command in C as a Jim handler, allowing it to dispatch commands to any level in the tree.
2009-11-24add public API for locating commandsZachary T Welch
Allow other modules to find a command, primarily for the purpose of registering and unregistering subcommands.
2009-11-24refactor script_command context grabbingZachary T Welch
Move command context acquisition to current_command_context() for re-use.
2009-11-24add command registration chainingZachary T Welch
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).
2009-11-24more command registration refactoringZachary T Welch
Split out the handler registration into its own function, and add a few obviously missing NULL pointer error checking.