diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-23 08:17:01 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 21:37:36 -0800 |
commit | 66ee303456910f684244a20a0ac2e958d40b78cb (patch) | |
tree | 3a5f06b0ee9e3978ebc9d836aac622b752e251ad /src/target/etm.h | |
parent | 144e3678bd2d518388b6c2d7f3d2a912a9ac2abd (diff) | |
download | riscv-openocd-66ee303456910f684244a20a0ac2e958d40b78cb.zip riscv-openocd-66ee303456910f684244a20a0ac2e958d40b78cb.tar.gz riscv-openocd-66ee303456910f684244a20a0ac2e958d40b78cb.tar.bz2 |
remove target_type register_command callback
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.
Diffstat (limited to 'src/target/etm.h')
-rw-r--r-- | src/target/etm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/etm.h b/src/target/etm.h index b74c6d9..05e5495 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -212,7 +212,7 @@ struct reg_cache* etm_build_reg_cache(struct target *target, int etm_setup(struct target *target); -int etm_register_commands(struct command_context *cmd_ctx); +extern const struct command_registration etm_command_handlers[]; #define ERROR_ETM_INVALID_DRIVER (-1300) #define ERROR_ETM_PORTMODE_NOT_SUPPORTED (-1301) |