From 7e36e461a43554f23d2e57983733cd7b2dfe1957 Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 25 Jun 2008 08:47:19 +0000 Subject: 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 --- src/target/target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/target/target.h') 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 */ -- cgit v1.2.3