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/kern/mach_param.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    6  * Permission to use, copy, modify and distribute this software and its
    7  * documentation is hereby granted, provided that both the copyright
    8  * notice and this permission notice appear in all copies of the
    9  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 /*
   27  * HISTORY
   28  * $Log:        mach_param.h,v $
   29  * Revision 2.6  92/03/10  16:26:45  jsb
   30  *      19-Feb-92 David L. Black (dlb) at Open Software Foundation
   31  *      Double object slop in PORT_MAX; allow for extra (non-task)
   32  *      ipc spaces (e.g. ipc_space_remote) in SPACE_MAX
   33  *      [92/03/07  08:51:33  jsb]
   34  * 
   35  * Revision 2.5  91/05/14  16:44:25  mrt
   36  *      Correcting copyright
   37  * 
   38  * Revision 2.4  91/02/05  17:27:56  mrt
   39  *      Changed to new Mach copyright
   40  *      [91/02/01  16:15:07  mrt]
   41  * 
   42  * Revision 2.3  90/06/02  14:55:13  rpd
   43  *      Added new IPC parameters.
   44  *      [90/03/26  22:11:55  rpd]
   45  * 
   46  *
   47  * Condensed history:
   48  *      Moved TASK_MAX, PORT_MAX, etc. here from mach/mach_param.h (rpd).
   49  */
   50 /*
   51  *      File:   kern/mach_param.h
   52  *      Author: Avadis Tevanian, Jr., Michael Wayne Young
   53  *      Date:   1986
   54  *
   55  *      Mach system sizing parameters
   56  *
   57  */
   58 
   59 #ifndef _KERN_MACH_PARAM_H_
   60 #define _KERN_MACH_PARAM_H_
   61 
   62 #define THREAD_MAX      1024            /* Max number of threads */
   63 #define THREAD_CHUNK    64              /* Allocation chunk */
   64 
   65 #define TASK_MAX        1024            /* Max number of tasks */
   66 #define TASK_CHUNK      64              /* Allocation chunk */
   67 
   68 #define PORT_MAX        ((TASK_MAX * 3 + THREAD_MAX)    /* kernel */ \
   69                                 + (THREAD_MAX * 2)      /* user */ \
   70                                 + 40000)                /* slop for objects */
   71                                         /* Number of ports, system-wide */
   72 
   73 #define SET_MAX         (TASK_MAX + THREAD_MAX + 200)
   74                                         /* Max number of port sets */
   75 
   76 #define ITE_MAX         (1 << 16)       /* Max number of splay tree entries */
   77 
   78 #define SPACE_MAX       (TASK_MAX + 5)  /* Max number of IPC spaces */
   79 
   80 #define IMAR_MAX        (1 << 10)       /* Max number of msg-accepted reqs */
   81 
   82 #endif  _KERN_MACH_PARAM_H_

Cache object: 91b8005963d9cae033e8b26ad2c2e812


[ 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.