The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/servers/pm/const.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 

Cache object: ff4feee54e48456852aea5adaf0b5e80


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.