summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-03 07:49:32 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-03 07:49:32 +0000
commitfe20b12fbdfa4a8128b16852ca704c3b5a13c06c (patch)
tree906afbaee0e35575e4cbb0e0af293cd80e837e42
parent64dbef69e73714208e791958fff060c4fc7960e2 (diff)
downloadopenocd+libswd-fe20b12fbdfa4a8128b16852ca704c3b5a13c06c.tar.gz
openocd+libswd-fe20b12fbdfa4a8128b16852ca704c3b5a13c06c.tar.bz2
openocd+libswd-fe20b12fbdfa4a8128b16852ca704c3b5a13c06c.tar.xz
openocd+libswd-fe20b12fbdfa4a8128b16852ca704c3b5a13c06c.zip
some comments from Dominic
git-svn-id: svn://svn.berlios.de/openocd/trunk@434 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/target.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 086b28bc..e6d6f294 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -33,7 +33,16 @@
struct reg_s;
struct command_context_s;
-
+/*
+TARGET_UNKNOWN = 0: we don't know anything about the target yet
+TARGET_RUNNING = 1: the target is executing user code
+TARGET_HALTED = 2: the target is not executing code, and ready to talk to the
+debugger. on an xscale it means that the debug handler is executing
+TARGET_RESET = 3: the target is being held in reset (only a temporary state,
+not sure how this is used with all the recent changes)
+TARGET_DEBUG_RUNNING = 4: the target is running, but it is executing code on
+behalf of the debugger (e.g. algorithm for flashing)
+*/
enum target_state
{
TARGET_UNKNOWN = 0,