]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ipc/ipc_init.h
xnu-1504.9.17.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_init.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
2d21ac55
A
4 * @APPLE_OSREFERENCE_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. 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.
14 *
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
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
8f6c56a5
A
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2d21ac55
A
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.
8f6c56a5 25 *
2d21ac55 26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1c79356b
A
27 */
28/*
29 * @OSF_COPYRIGHT@
30 */
31/*
32 * HISTORY
33 *
34 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
35 * Import of Mac OS X kernel (~semeria)
36 *
37 * Revision 1.1.1.1 1998/03/07 02:26:15 wsanchez
38 * Import of OSF Mach kernel (~mburg)
39 *
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]
43 *
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]
47 *
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]
52 *
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]
56 *
57 * Revision 1.1 1992/09/30 02:28:50 robert
58 * Initial revision
59 *
60 * $EndLog$
61 */
62/* CMU_HIST */
63/*
64 * Revision 2.4 91/05/14 16:32:45 mrt
65 * Correcting copyright
66 *
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]
70 *
71 * Revision 2.2 90/06/02 14:49:59 rpd
72 * Created for new IPC.
73 * [90/03/26 20:55:26 rpd]
74 *
75 */
76/* CMU_ENDHIST */
77/*
78 * Mach Operating System
79 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
80 * All Rights Reserved.
81 *
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.
87 *
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.
91 *
92 * Carnegie Mellon requests users of this software to return to
93 *
94 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
95 * School of Computer Science
96 * Carnegie Mellon University
97 * Pittsburgh PA 15213-3890
98 *
99 * any improvements or extensions that they make and grant Carnegie Mellon
100 * the rights to redistribute these changes.
101 */
102/*
103 */
104/*
105 * File: ipc/ipc_init.h
106 * Author: Rich Draves
107 * Date: 1989
108 *
109 * Declarations of functions to initialize the IPC system.
110 */
111
112#ifndef _IPC_IPC_INIT_H_
113#define _IPC_IPC_INIT_H_
114
115extern int ipc_space_max;
116extern int ipc_tree_entry_max;
117extern int ipc_port_max;
118extern int ipc_pset_max;
119
120/*
121 * Exported interfaces
122 */
123
124/* IPC initialization needed before creation of kernel task */
2d21ac55 125extern void ipc_bootstrap(void) __attribute__((section("__TEXT, initcode")));
1c79356b
A
126
127/* Remaining IPC initialization */
2d21ac55 128extern void ipc_init(void) __attribute__((section("__TEXT, initcode")));
1c79356b
A
129
130#endif /* _IPC_IPC_INIT_H_ */