diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-25 08:47:19 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-25 08:47:19 +0000 |
commit | 7e36e461a43554f23d2e57983733cd7b2dfe1957 (patch) | |
tree | 5c446a1781260d1a9c1a423d2f5e76793c053a09 /src/target/target.h | |
parent | e5c315d1379a7da65a43186721877a1738a88b38 (diff) |
added pre/post_reset scripts based on Pieter Conradie's ideas.
git-svn-id: svn://svn.berlios.de/openocd/trunk@726 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h index 17ac94a5..c12dff5e 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -200,6 +200,7 @@ typedef struct target_s target_type_t *type; /* target type definition (name, access functions) */ enum target_reset_mode reset_mode; /* what to do after a reset */ int run_and_halt_time; /* how long the target should run after a run_and_halt reset */ + char *pre_reset_script; /* script file to initialize the target before a reset */ char *reset_script; /* script file to initialize the target after a reset */ char *post_halt_script; /* script file to execute after the target halted */ char *pre_resume_script; /* script file to execute before the target resumed */ |