source: trunk/minix/servers/pm/const.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 761 bytes
Line 
1/* Constants used by the Process Manager. */
2
3#define NO_MEM ((phys_clicks) 0) /* returned by alloc_mem() with mem is up */
4
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
13
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.)
17 */
18
19#define PM_PID 0 /* PM's process id number */
20#define INIT_PID 1 /* INIT's process id number */
21
Note: See TracBrowser for help on using the repository browser.