Wip - split target setup and target examination

git-svn-id: svn://svn.berlios.de/openocd/trunk@564 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-04-11 11:19:17 +00:00
parent 7805be1b3a
commit 0d7d64b5e9
10 changed files with 26 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ target_type_t arm7tdmi_target =
.register_commands = arm7tdmi_register_commands,
.target_command = arm7tdmi_target_command,
.init_target = arm7tdmi_init_target,
.examine = arm7tdmi_examine,
.quit = arm7tdmi_quit
};
@@ -753,6 +754,11 @@ void arm7tdmi_build_reg_cache(target_t *target)
}
}
int arm7tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
return ERROR_OK;
}
int arm7tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target)
{