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