FreeBSD/Linux Kernel Cross Reference
sys/mach/mach_param.h
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 93/01/14 17:44:24 danner
30 * Cleanup.
31 * [92/06/10 pds]
32 *
33 * Revision 2.5 92/01/15 13:44:51 rpd
34 * Changed MACH_IPC_COMPAT conditionals to default to not present.
35 *
36 * Revision 2.4 91/05/14 16:54:40 mrt
37 * Correcting copyright
38 *
39 * Revision 2.3 91/02/05 17:33:28 mrt
40 * Changed to new Mach copyright
41 * [91/02/01 17:18:01 mrt]
42 *
43 * Revision 2.2 90/06/02 14:58:21 rpd
44 * Created.
45 * [90/03/26 23:56:39 rpd]
46 *
47 *
48 * Condensed history:
49 * Moved implementation constants elsewhere (rpd).
50 * Added SET_MAX (rpd).
51 * Added KERN_MSG_SMALL_SIZE (mwyoung).
52 * Added PORT_BACKLOG_MAX (mwyoung).
53 * Added PORT_BACKLOG_MAX (mwyoung).
54 * Added TASK_PORT_REGISTER_MAX (mwyoung).
55 * Created (mwyoung).
56 */
57 /*
58 * File: mach/mach_param.h
59 * Author: Avadis Tevanian, Jr., Michael Wayne Young
60 * Date: 1986
61 *
62 * Mach system sizing parameters
63 */
64
65 #ifndef _MACH_MACH_PARAM_H_
66 #define _MACH_MACH_PARAM_H_
67
68 #ifdef KERNEL
69 #include <mach_ipc_compat.h>
70 #endif /* KERNEL */
71
72 #define TASK_PORT_REGISTER_MAX 4 /* Number of "registered" ports */
73
74
75 /* Definitions for the old IPC interface. */
76
77 #if MACH_IPC_COMPAT
78
79 #define PORT_BACKLOG_DEFAULT 5
80 #define PORT_BACKLOG_MAX 16
81
82 #endif /* MACH_IPC_COMPAT */
83
84 #endif /* _MACH_MACH_PARAM_H_ */
Cache object: 5e738697bcdcf28d3f53ef92475d271d
|