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