aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-10 20:12:10 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-10 20:12:10 +0100
commit6d9cd139c42a48f5ddf8f8e284f56873de73fd31 (patch)
tree7b4ca008eb6375c0d5ba9eb1456674ee996fb5d6 /src/common
parent4ab8b6206b1ba36cbf4db4a416e04304bbd7ebc0 (diff)
downloadkogata-6d9cd139c42a48f5ddf8f8e284f56873de73fd31.tar.gz
kogata-6d9cd139c42a48f5ddf8f8e284f56873de73fd31.zip
Things are happenning ; lots of bugs.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/include/proto/proc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/include/proto/proc.h b/src/common/include/proto/proc.h
index 29b5b91..fafb2fd 100644
--- a/src/common/include/proto/proc.h
+++ b/src/common/include/proto/proc.h
@@ -7,9 +7,10 @@ typedef int pid_t;
#define PS_LOADING 1
#define PS_RUNNING 2
-#define PS_FINISHED 3
-#define PS_FAILURE 4 // exception or segfault or stuff
-#define PS_KILLED 5
+#define PS_EXITING 3
+#define PS_FINISHED 4
+#define PS_FAILURE 5 // exception or segfault or stuff
+#define PS_KILLED 6
#define FAIL_EXCEPTION 1 // unhandled processor exception
#define FAIL_ZEROPTR 2 // segfault at < 4k