summaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-21 13:59:51 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-24 21:37:30 -0800
commit60ba4641d61ba65943ac7a8c800e82d6665ee11f (patch)
tree8670f3bfebaefd2c62c948292da9f0991dc39bc5 /src/svf
parent607634f967cf25630860794847dea770eb17a8f4 (diff)
downloadopenocd+libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.gz
openocd+libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.bz2
openocd+libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.tar.xz
openocd+libswd-60ba4641d61ba65943ac7a8c800e82d6665ee11f.zip
add command registration chaining
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).
Diffstat (limited to 'src/svf')
0 files changed, 0 insertions, 0 deletions