]> git.saurik.com Git - apple/xnu.git/blame - osfmk/kern/startup.h
xnu-201.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 *
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:32 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:25:56 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.1.7.1 1994/09/23 02:26:54 ezf
35 * change marker to not FREE
36 * [1994/09/22 21:36:18 ezf]
37 *
38 * Revision 1.1.2.3 1993/08/16 18:08:47 bernard
39 * Clean up MP configuration warnings - CR#9523
40 * [1993/08/13 15:29:52 bernard]
41 *
42 * Revision 1.1.2.2 1993/08/11 18:04:28 bernard
43 * Fixed to use machine include file ANSI prototypes - CR#9523
44 * [1993/08/11 16:28:27 bernard]
45 *
46 * Second pass fixes for ANSI prototypes - CR#9523
47 * [1993/08/11 14:20:54 bernard]
48 *
49 * $EndLog$
50 */
51
52#ifndef _KERN_STARTUP_H_
53#define _KERN_STARTUP_H_
54
55#include <cpus.h>
56
57/*
58 * Kernel and machine startup declarations
59 */
60
61/* Initialize kernel */
62extern void setup_main(void);
63
64/* Initialize machine dependent stuff */
65extern void machine_init(void);
66
67#if NCPUS > 1
68
69extern void slave_main(void);
70
71/*
72 * The following must be implemented in machine dependent code.
73 */
74
75/* Slave cpu initialization */
76extern void slave_machine_init(void);
77
78/* Start slave processors */
79extern void start_other_cpus(void);
80
81#endif /* NCPUS > 1 */
82#endif /* _KERN_STARTUP_H_ */