|
|
1.1 ! root 1: /* ! 2: * Mach Operating System ! 3: * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University. ! 4: * Copyright (c) 1993,1994 The University of Utah and ! 5: * the Computer Systems Laboratory (CSL). ! 6: * All rights reserved. ! 7: * ! 8: * Permission to use, copy, modify and distribute this software and its ! 9: * documentation is hereby granted, provided that both the copyright ! 10: * notice and this permission notice appear in all copies of the ! 11: * software, derivative works or modified versions, and any portions ! 12: * thereof, and that both notices appear in supporting documentation. ! 13: * ! 14: * CARNEGIE MELLON, THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF ! 15: * THIS SOFTWARE IN ITS "AS IS" CONDITION, AND DISCLAIM ANY LIABILITY ! 16: * OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF ! 17: * THIS SOFTWARE. ! 18: * ! 19: * Carnegie Mellon requests users of this software to return to ! 20: * ! 21: * Software Distribution Coordinator or [email protected] ! 22: * School of Computer Science ! 23: * Carnegie Mellon University ! 24: * Pittsburgh PA 15213-3890 ! 25: * ! 26: * any improvements or extensions that they make and grant Carnegie Mellon ! 27: * the rights to redistribute these changes. ! 28: */ ! 29: /* ! 30: * File: kern/mach_param.h ! 31: * Author: Avadis Tevanian, Jr., Michael Wayne Young ! 32: * Date: 1986 ! 33: * ! 34: * Mach system sizing parameters ! 35: * ! 36: */ ! 37: ! 38: #ifndef _KERN_MACH_PARAM_H_ ! 39: #define _KERN_MACH_PARAM_H_ ! 40: ! 41: #define THREAD_MAX 1024 /* Max number of threads */ ! 42: #define THREAD_CHUNK 64 /* Allocation chunk */ ! 43: ! 44: #define TASK_MAX 1024 /* Max number of tasks */ ! 45: #define TASK_CHUNK 64 /* Allocation chunk */ ! 46: ! 47: #define ACT_MAX 1024 /* Max number of acts */ ! 48: #define ACT_CHUNK 64 /* Allocation chunk */ ! 49: ! 50: #define ACTPOOL_MAX 1024 ! 51: #define ACTPOOL_CHUNK 64 ! 52: ! 53: #define PORT_MAX ((TASK_MAX * 3 + THREAD_MAX) /* kernel */ \ ! 54: + (THREAD_MAX * 2) /* user */ \ ! 55: + 40000) /* slop for objects */ ! 56: /* Number of ports, system-wide */ ! 57: ! 58: #define SET_MAX (TASK_MAX + THREAD_MAX + 200) ! 59: /* Max number of port sets */ ! 60: ! 61: #define ITE_MAX (1 << 16) /* Max number of splay tree entries */ ! 62: ! 63: #define SPACE_MAX (TASK_MAX + 5) /* Max number of IPC spaces */ ! 64: ! 65: #define IMAR_MAX (1 << 10) /* Max number of msg-accepted reqs */ ! 66: ! 67: #endif /* _KERN_MACH_PARAM_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.