summaryrefslogtreecommitdiffstats
path: root/api/process.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-10-09 10:24:41 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-10-09 10:24:41 -0400
commitcc23ea5a4b38807e79aceb23e6f43e965926618f (patch)
tree90142bb44186f4dad7bbd82d3d53655b835c822b /api/process.h
parent434ddcd907832b1febc7d70e4faa52109c7eb3bd (diff)
downloadjove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.tar.gz
jove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.tar.bz2
jove-kernel-cc23ea5a4b38807e79aceb23e6f43e965926618f.zip
add basic scheduler logic. rename init rootdir indexes
Diffstat (limited to 'api/process.h')
-rw-r--r--api/process.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/api/process.h b/api/process.h
index 080e001..5ccf69d 100644
--- a/api/process.h
+++ b/api/process.h
@@ -5,4 +5,22 @@
typedef intmax_t pid_t;
+enum pcb_state
+{
+ _PCB_STATE_INVALID = 0,
+ PCB_STATE_DEAD,
+ PCB_STATE_EMBRYO,
+ PCB_STATE_READY,
+ PCB_STATE_RUNNING,
+ PCB_STATE_WAITING,
+ PCB_STATE_BLOCKED_MAIL
+};
+
+enum pcb_rootdir_entries
+{
+ _PCB_ROOTDIR_NULL = 0,
+ PCB_ROOTDIR_SELF_I,
+ PCB_ROOTDIR_PAGEDIR_I,
+};
+
#endif