]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ipc/ipc_init.h
xnu-792.12.6.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_init.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the
10 * License may not be used to create, or enable the creation or
11 * redistribution of, unlawful or unlicensed copies of an Apple operating
12 * system, or to circumvent, violate, or enable the circumvention or
13 * violation of, any terms of an Apple operating system software license
14 * agreement.
15 *
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this
18 * file.
19 *
20 * The Original Code and all software distributed under the License are
21 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
22 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
23 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
25 * Please see the License for the specific language governing rights and
26 * limitations under the License.
27 *
28 * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
29 */
30 /*
31 * @OSF_COPYRIGHT@
32 */
33 /*
34 * HISTORY
35 *
36 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
37 * Import of Mac OS X kernel (~semeria)
38 *
39 * Revision 1.1.1.1 1998/03/07 02:26:15 wsanchez
40 * Import of OSF Mach kernel (~mburg)
41 *
42 * Revision 1.1.6.1 1994/09/23 02:07:56 ezf
43 * change marker to not FREE
44 * [1994/09/22 21:29:04 ezf]
45 *
46 * Revision 1.1.2.4 1993/07/22 16:16:03 rod
47 * Add ANSI prototypes. CR #9523.
48 * [1993/07/22 13:29:57 rod]
49 *
50 * Revision 1.1.2.3 1993/06/07 22:10:25 jeffc
51 * CR9176 - ANSI C violations: trailing tokens on CPP
52 * directives, extra semicolons after decl_ ..., asm keywords
53 * [1993/06/07 19:01:24 jeffc]
54 *
55 * Revision 1.1.2.2 1993/06/02 23:31:04 jeffc
56 * Added to OSF/1 R1.3 from NMK15.0.
57 * [1993/06/02 21:09:31 jeffc]
58 *
59 * Revision 1.1 1992/09/30 02:28:50 robert
60 * Initial revision
61 *
62 * $EndLog$
63 */
64 /* CMU_HIST */
65 /*
66 * Revision 2.4 91/05/14 16:32:45 mrt
67 * Correcting copyright
68 *
69 * Revision 2.3 91/02/05 17:21:42 mrt
70 * Changed to new Mach copyright
71 * [91/02/01 15:45:16 mrt]
72 *
73 * Revision 2.2 90/06/02 14:49:59 rpd
74 * Created for new IPC.
75 * [90/03/26 20:55:26 rpd]
76 *
77 */
78 /* CMU_ENDHIST */
79 /*
80 * Mach Operating System
81 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
82 * All Rights Reserved.
83 *
84 * Permission to use, copy, modify and distribute this software and its
85 * documentation is hereby granted, provided that both the copyright
86 * notice and this permission notice appear in all copies of the
87 * software, derivative works or modified versions, and any portions
88 * thereof, and that both notices appear in supporting documentation.
89 *
90 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
91 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
92 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
93 *
94 * Carnegie Mellon requests users of this software to return to
95 *
96 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
97 * School of Computer Science
98 * Carnegie Mellon University
99 * Pittsburgh PA 15213-3890
100 *
101 * any improvements or extensions that they make and grant Carnegie Mellon
102 * the rights to redistribute these changes.
103 */
104 /*
105 */
106 /*
107 * File: ipc/ipc_init.h
108 * Author: Rich Draves
109 * Date: 1989
110 *
111 * Declarations of functions to initialize the IPC system.
112 */
113
114 #ifndef _IPC_IPC_INIT_H_
115 #define _IPC_IPC_INIT_H_
116
117 extern int ipc_space_max;
118 extern int ipc_tree_entry_max;
119 extern int ipc_port_max;
120 extern int ipc_pset_max;
121
122 /*
123 * Exported interfaces
124 */
125
126 /* IPC initialization needed before creation of kernel task */
127 extern void ipc_bootstrap(void);
128
129 /* Remaining IPC initialization */
130 extern void ipc_init(void);
131
132 #endif /* _IPC_IPC_INIT_H_ */