VM: munmap used by VM for itself is no longer used
[minix.git] / include / minix / procfs.h
blobfec097b610a2e86b40386e137d7084e849d995f5
1 #ifndef _MINIX_PROCFS_H
2 #define _MINIX_PROCFS_H
4 /* The compatibility model is as follows. The current format should be retained
5 * for as long as possible; new fields can be added at the end of the line,
6 * because ps/top only read as much as they know of from the start of the line.
7 * Once fields (really) have to be removed, or the whole line becomes too big
8 * of a mess, a completely new format string can be put in, but with an
9 * increased PSINFO_VERSION at the beginning. That way, older ps/top copies
10 * will not misinterpret the new fields, but rather fail cleanly.
12 #define PSINFO_VERSION 0
14 /* Process types. */
15 #define TYPE_TASK 'T'
16 #define TYPE_SYSTEM 'S'
17 #define TYPE_USER 'U'
19 /* General process states. */
20 #define STATE_SLEEP 'S'
21 #define STATE_WAIT 'W'
22 #define STATE_ZOMBIE 'Z'
23 #define STATE_RUN 'R'
24 #define STATE_STOP 'T'
26 /* PM sleep states. */
27 #define PSTATE_NONE '-'
28 #define PSTATE_PAUSED 'P'
29 #define PSTATE_WAITING 'W'
30 #define PSTATE_SIGSUSP 'S'
32 /* VFS block states. */
33 #define FSTATE_NONE '-'
34 #define FSTATE_PIPE 'P'
35 #define FSTATE_LOCK 'L'
36 #define FSTATE_POPEN 'O'
37 #define FSTATE_SELECT 'S'
38 #define FSTATE_DOPEN 'D'
39 #define FSTATE_TASK 'T'
40 #define FSTATE_UNKNOWN '?'
42 #endif /* _MINIX_PROCFS_H */