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