. service tells you which device it couldn't stat
[minix3.git] / servers / pm / const.h
blob200dfe8375d9ba009647b0bac14f4e576d908b71
1 /* Constants used by the Process Manager. */
3 #define NO_MEM ((phys_clicks) 0) /* returned by alloc_mem() with mem is up */
5 #if (CHIP == INTEL && _WORD_SIZE == 2)
6 /* These definitions are used in size_ok and are not needed for 386.
7 * The 386 segment granularity is 1 for segments smaller than 1M and 4096
8 * above that.
9 */
10 #define PAGE_SIZE 16 /* how many bytes in a page (s.b.HCLICK_SIZE)*/
11 #define MAX_PAGES 4096 /* how many pages in the virtual addr space */
12 #endif
14 #define NR_PIDS 30000 /* process ids range from 0 to NR_PIDS-1.
15 * (magic constant: some old applications use
16 * a 'short' instead of pid_t.)
19 #define PM_PID 0 /* PM's process id number */
20 #define INIT_PID 1 /* INIT's process id number */
22 #define DUMPED 0200 /* bit set in status when core dumped */