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