diff options
Diffstat (limited to 'api/process.h')
| -rw-r--r-- | api/process.h | 18 |
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 |
