]> git.sur5r.net Git - openocd/blobdiff - src/target/armv7m.h
remove target_type register_command callback
[openocd] / src / target / armv7m.h
index 9dd4ddbb82267740d69ea0003a69bc6c3d088a69..7299bdf9f291eb6bda6310ea2da8cf4d7c8fc059 100644 (file)
@@ -143,7 +143,6 @@ int armv7m_arch_state(struct target *target);
 int armv7m_get_gdb_reg_list(struct target *target,
                struct reg **reg_list[], int *reg_list_size);
 
-int armv7m_register_commands(struct command_context *cmd_ctx);
 int armv7m_init_arch_info(struct target *target, struct armv7m_common *armv7m);
 
 int armv7m_run_algorithm(struct target *target,
@@ -161,6 +160,8 @@ int armv7m_checksum_memory(struct target *target,
 int armv7m_blank_check_memory(struct target *target,
                uint32_t address, uint32_t count, uint32_t* blank);
 
+extern const struct command_registration armv7m_command_handlers[];
+
 /* Thumb mode instructions
  */