summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2021-08-18 19:51:42 +0200
committerdzwdz2021-08-18 19:51:42 +0200
commit4ca728bb28bb9d1066320555233c94fdc5d75e58 (patch)
tree6d3a249bf8b3a23404c12906a311498a6bfb06c4 /src/kernel/proc.h
parent6a824d3a2184c6f9929dabf55930bd48fcb54323 (diff)
processes now store a PID for debugging purposes
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index f50ab33..6bafca9 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -15,6 +15,8 @@ struct process {
struct process *sibling;
struct process *child;
struct process *parent;
+
+ uint32_t id; // only for debugging, don't expose to userland
};
extern struct process *process_first;