|
|
1.1 root 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_FREE_COPYRIGHT@
24: *
25: */
26: /*
27: * HISTORY
28: *
29: * Revision 1.1.1.1 1998/09/22 21:05:34 wsanchez
30: * Import of Mac OS X kernel (~semeria)
31: *
32: * Revision 1.1.1.1 1998/03/07 02:25:55 wsanchez
33: * Import of OSF Mach kernel (~mburg)
34: *
35: * Revision 1.1.9.2 1995/06/13 18:23:01 sjs
36: * Merge with flipc_shared.
37: * [95/05/22 sjs]
38: *
39: * Revision 1.1.7.1 1994/12/12 17:46:03 randys
40: * Putting initial flipc implementation under flipc_shared
41: * [1994/12/12 16:27:41 randys]
42: *
43: * Revision 1.1.5.2 1994/12/11 23:19:19 randys
44: * Initial flipc code checkin
45: *
46: * Revision 1.1.9.1 1995/02/23 17:31:41 alanl
47: * DIPC: Merge from nmk17b2 to nmk18b8.
48: * [95/01/05 alanl]
49: *
50: * Revision 1.1.4.3 1994/12/06 20:11:18 alanl
51: * Fix up definition of norma_bootstrap. Include xmm_obj.h for
52: * prototype of norma_vm_init. Include misc_protos.h for
53: * prototype of norma_bootstrap.
54: * [94/12/05 mmp]
55: *
56: * Revision 1.1.4.2 1994/09/01 12:52:14 alanl
57: * Eliminate dead NORMA_IPC conditional.
58: * [94/08/29 alanl]
59: *
60: * Revision 1.1.4.1 1994/08/04 02:25:11 mmp
61: * Brought up from dipc_shared.
62: * [1994/08/03 20:28:32 mmp]
63: *
64: * Revision 1.1.2.3 1994/06/09 14:40:01 rwd
65: * Strip rpc.h and rdma.h includes
66: * [94/06/06 rwd]
67: *
68: * Revision 1.1.2.2 1994/04/28 00:27:20 alanl
69: * Special ports initialization should happen from
70: * dipc_bootstrap, not from norma_bootstrap.
71: * [1994/04/27 23:55:49 alanl]
72: *
73: * Initialization of special ports must happen
74: * after initialization of DIPC proper. In fact,
75: * this work should be done out of dipc_bootstrap,
76: * but we'll fix that later.
77: * [1994/04/27 23:52:45 alanl]
78: *
79: * Revision 1.1.2.1 1994/04/20 18:43:48 alanl
80: * Created.
81: * [1994/04/20 18:30:57 alanl]
82: *
83: * $EndLog$
84: */
85:
86: /*
87: * File: kern/norma_bootstrap.c
88: * Author: Alan Langerman
89: * Date: 1994
90: *
91: * Bootstrap distributed kernel services.
92: */
93:
94: #include <dipc.h>
95: #include <norma_device.h>
96: #include <norma_task.h>
97: #include <norma_vm.h>
98: #include <kern/misc_protos.h>
99: #include <flipc.h>
100:
101: #if DIPC
102: #include <dipc/dipc_funcs.h>
103: #endif
104:
105: #if NORMA_VM
106: #include <xmm/xmm_obj.h>
107: #endif
108:
109: #if FLIPC
110: #include <flipc/flipc_usermsg.h>
111: #endif
112:
113: void
114: norma_bootstrap(void)
115: {
116: #if DIPC
117: dipc_bootstrap();
118: #endif /* DIPC */
119:
120: #if NORMA_VM
121: norma_vm_init();
122: #endif /* NORMA_VM */
123:
124: #if FLIPC
125: flipc_system_init();
126: #endif /* FLIPC */
127: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.