]> git.saurik.com Git - apple/xnu.git/blame - osfmk/kern/startup.h
xnu-344.49.tar.gz
[apple/xnu.git] / osfmk / kern / startup.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
43866e37 6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
1c79356b 7 *
43866e37
A
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1c79356b
A
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
43866e37
A
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
1c79356b
A
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25/*
26 * @OSF_COPYRIGHT@
27 */
28/*
29 * HISTORY
30 *
31 * Revision 1.1.1.1 1998/09/22 21:05:32 wsanchez
32 * Import of Mac OS X kernel (~semeria)
33 *
34 * Revision 1.1.1.1 1998/03/07 02:25:56 wsanchez
35 * Import of OSF Mach kernel (~mburg)
36 *
37 * Revision 1.1.7.1 1994/09/23 02:26:54 ezf
38 * change marker to not FREE
39 * [1994/09/22 21:36:18 ezf]
40 *
41 * Revision 1.1.2.3 1993/08/16 18:08:47 bernard
42 * Clean up MP configuration warnings - CR#9523
43 * [1993/08/13 15:29:52 bernard]
44 *
45 * Revision 1.1.2.2 1993/08/11 18:04:28 bernard
46 * Fixed to use machine include file ANSI prototypes - CR#9523
47 * [1993/08/11 16:28:27 bernard]
48 *
49 * Second pass fixes for ANSI prototypes - CR#9523
50 * [1993/08/11 14:20:54 bernard]
51 *
52 * $EndLog$
53 */
54
55#ifndef _KERN_STARTUP_H_
56#define _KERN_STARTUP_H_
57
58#include <cpus.h>
59
60/*
61 * Kernel and machine startup declarations
62 */
63
64/* Initialize kernel */
65extern void setup_main(void);
66
67/* Initialize machine dependent stuff */
68extern void machine_init(void);
69
70#if NCPUS > 1
71
72extern void slave_main(void);
73
74/*
75 * The following must be implemented in machine dependent code.
76 */
77
78/* Slave cpu initialization */
79extern void slave_machine_init(void);
80
81/* Start slave processors */
82extern void start_other_cpus(void);
83
84#endif /* NCPUS > 1 */
85#endif /* _KERN_STARTUP_H_ */