Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | improve usage and help command output | Zachary T Welch | 2009-11-24 | 2 | -44/+38 | |
| | | | | | Rewrite formatting code in C, removing last remenants of TCL help code. Sinificantly improves the readability by using smarter indent and wrap. | |||||
* | allow scripts to update usage information | Zachary T Welch | 2009-11-24 | 2 | -7/+36 | |
| | | | | | | The add_usage_text command uses the same C handler, which was updated to support its new polymorphic role. This patch updates the two script commands that needed this support: 'find' and 'script'. | |||||
* | httpd: use register_commands() | Zachary T Welch | 2009-11-24 | 4 | -20/+51 | |
| | | | | | | | Updates httpd_start() to use register_commands() for 'readform' and 'writeform' commands. Adds server/httpd.h to export the new signatures for this function (and httpd_stop), which allows removing the obsoleted declarations inside openocd.c. | |||||
* | add jim_handler to command_registration | Zachary T Welch | 2009-11-24 | 6 | -83/+146 | |
| | | | | | | Adding jim_handler field to command_registration allows removing the register_jim helper. All command registrations now go through the register_command{,s}() functions. | |||||
* | refactor command_new to use command_registration | Zachary T Welch | 2009-11-24 | 1 | -12/+10 | |
| | | | | Save stack space: use a struct. Makes it easier to add new parameters. | |||||
* | remove register_commands from etm_capture_driver | Zachary T Welch | 2009-11-24 | 5 | -31/+17 | |
| | | | | | | Converts callback to an array of command_registration records. Moves oocd_trace driver definition to end of file to eliminate useless forward declaration. | |||||
* | remove target_type register_command callback | Zachary T Welch | 2009-11-24 | 31 | -149/+89 | |
| | | | | | | Uses chaining of command_registration structures to eliminate all target_type register_callback routines. Exports the command_handler registration arrays for those target types that are used by others. | |||||
* | xscale: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -23/+107 | |
| | ||||||
* | trace: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -10/+29 | |
| | ||||||
* | target_request: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+21 | |
| | ||||||
* | target: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -104/+201 | |
| | ||||||
* | oocd_trace: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -10/+32 | |
| | ||||||
* | etm_dummy: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -7/+20 | |
| | ||||||
* | etm: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -37/+89 | |
| | ||||||
* | etb: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+20 | |
| | ||||||
* | cortex_m3: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -19/+36 | |
| | ||||||
* | cortex_a8: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -17/+25 | |
| | ||||||
* | armv7m: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -28/+48 | |
| | ||||||
* | armv7a: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -27/+48 | |
| | ||||||
* | armv4_5: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -18/+34 | |
| | ||||||
* | arm9tdmi: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -12/+21 | |
| | ||||||
* | arm966e: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -12/+23 | |
| | ||||||
* | arm926ejs: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -14/+22 | |
| | ||||||
* | arm920t: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -27/+47 | |
| | ||||||
* | arm7_9_common: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -20/+37 | |
| | ||||||
* | arm720t: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -15/+23 | |
| | ||||||
* | arm11: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -35/+62 | |
| | ||||||
* | remove nand_controller->register_callbacks | Zachary T Welch | 2009-11-24 | 12 | -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_callbacks | Zachary T Welch | 2009-11-24 | 17 | -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 Welch | 2009-11-24 | 1 | -7/+32 | |
| | ||||||
* | str9xpec: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -38/+81 | |
| | ||||||
* | str9x: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+21 | |
| | ||||||
* | str7x: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+20 | |
| | ||||||
* | stm32x: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -21/+44 | |
| | ||||||
* | stellaris: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -7/+20 | |
| | ||||||
* | pic32mx: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -17/+25 | |
| | ||||||
* | nand: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -47/+98 | |
| | | | | Eliminates 'nand_cmd' global variable. | |||||
* | mflash: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -17/+54 | |
| | ||||||
* | lpc3180_nand_controller: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -5/+21 | |
| | ||||||
* | lpc2900: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -34/+55 | |
| | ||||||
* | lpc2000: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+20 | |
| | ||||||
* | flash: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -50/+117 | |
| | | | | Eliminates 'flash_cmd' global variable. | |||||
* | ecos: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -2/+0 | |
| | ||||||
* | cfi: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -6/+0 | |
| | ||||||
* | avrf: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -8/+20 | |
| | ||||||
* | at91sam7: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -9/+21 | |
| | ||||||
* | at91sam3: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -27/+35 | |
| | ||||||
* | remove register_callbacks from jtag interface | Zachary T Welch | 2009-11-24 | 12 | -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 Welch | 2009-11-24 | 1 | -20/+35 | |
| | | | | Use register_commands() with command registration array. | |||||
* | jtag: use register_commands() | Zachary T Welch | 2009-11-24 | 1 | -67/+119 | |
| | | | | Use register commands with command registration array. |