summaryrefslogtreecommitdiffstats
path: root/api/process.h
blob: 5ccf69d1e9fd5edc4725e45c1a5743a5b629cb44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _JOVE_API_PROCESS_H
#define _JOVE_API_PROCESS_H 1

#include <stdint.h>

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