riscv-openocd/src
Zachary T Welch 3f9fd4e2a6 add COMMAND_HANDLER and COMMAND_HELPER macros
The COMMAND_HANDLER and COMMAND_HELPER macros allow commands to be
defined in a manner that decouples them from the exact order and type of
their parameters.  Once converted, incremental changes to the command
handler type can be addressed in incremental patches that do not need to
touch the entire tree.

These macros' implementation, __COMMAND_HANDLER, is used to define the
new command_handler_t type, and additional patches will use it to derive
new macros to define extended command types (e.g. flash, nand, pld).
The CALL_COMMAND_HANDLER provides a means of calling helpers or nested
handlers from withing a command handler.

This patch uses C99 varadic macro expansion.  Please report compilers
that cannot handle this code.
2009-11-13 10:51:45 -08:00
..
flash nand: rename device to nand 2009-11-12 22:25:55 -08:00
helper add COMMAND_HANDLER and COMMAND_HELPER macros 2009-11-13 10:51:45 -08:00
jtag parport: add support for the jtag_khz command. 2009-11-12 12:39:37 -08:00
pld remove more useless declarations 2009-11-11 11:53:22 -08:00
server log: improve log_callback_fn signature 2009-11-11 05:40:48 -08:00
svf svf,xsvf,arm7_9_common: trim forard declarations 2009-11-09 21:39:46 -08:00
target Cortex-A8: fix indent 2009-11-13 08:45:20 -08:00
xsvf add const keyword to some APIs 2009-11-11 11:53:22 -08:00
Makefile.am MinGW: use WinSock2 2009-10-19 17:48:19 -07:00
ecosboard.c warnings: remove 2009-11-05 09:03:24 +01:00
main.c Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have been in main.c in the first place. DLL will now build. 2009-05-02 19:31:30 +00:00
openocd.c Change most in-tree references from SVN to GIT. 2009-10-08 00:13:50 +00:00