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/arm926ejs.h | |
parent | 144e3678bd2d518388b6c2d7f3d2a912a9ac2abd (diff) |
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/arm926ejs.h')
-rw-r--r-- | src/target/arm926ejs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h index 514f0543..274733bf 100644 --- a/src/target/arm926ejs.h +++ b/src/target/arm926ejs.h @@ -48,10 +48,11 @@ target_to_arm926(struct target *target) int arm926ejs_init_arch_info(struct target *target, struct arm926ejs_common *arm926ejs, struct jtag_tap *tap); -int arm926ejs_register_commands(struct command_context *cmd_ctx); int arm926ejs_arch_state(struct target *target); int arm926ejs_write_memory(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); int arm926ejs_soft_reset_halt(struct target *target); +extern const struct command_registration arm926ejs_command_handlers[]; + #endif /* ARM926EJS_H */ |