]> git.saurik.com Git - apple/xnu.git/blob - osfmk/i386/mp_slave_boot.h
xnu-792.12.6.tar.gz
[apple/xnu.git] / osfmk / i386 / mp_slave_boot.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_OSREFERENCE_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
10 * License may not be used to create, or enable the creation or
11 * redistribution of, unlawful or unlicensed copies of an Apple operating
12 * system, or to circumvent, violate, or enable the circumvention or
13 * violation of, any terms of an Apple operating system software license
14 * agreement.
15 *
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this
18 * file.
19 *
20 * The Original Code and all software distributed under the License are
21 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
22 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
23 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
25 * Please see the License for the specific language governing rights and
26 * limitations under the License.
27 *
28 * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
29 */
30 /*
31 * @OSF_COPYRIGHT@
32 */
33
34 /*
35 * Mach Operating System
36 * Copyright (c) 1991,1990 Carnegie Mellon University
37 * All Rights Reserved.
38 *
39 * Permission to use, copy, modify and distribute this software and its
40 * documentation is hereby granted, provided that both the copyright
41 * notice and this permission notice appear in all copies of the
42 * software, derivative works or modified versions, and any portions
43 * thereof, and that both notices appear in supporting documentation.
44 *
45 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
46 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
47 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
48 *
49 * Carnegie Mellon requests users of this software to return to
50 *
51 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
52 * School of Computer Science
53 * Carnegie Mellon University
54 * Pittsburgh PA 15213-3890
55 *
56 * any improvements or extensions that they make and grant Carnegie Mellon
57 * the rights to redistribute these changes.
58 */
59
60 /*
61 * HISTORY
62 *
63 * Revision 1.1.1.1 1998/09/22 21:05:39 wsanchez
64 * Import of Mac OS X kernel (~semeria)
65 *
66 * Revision 1.1.1.1 1998/03/07 02:25:40 wsanchez
67 * Import of OSF Mach kernel (~mburg)
68 *
69 * Revision 1.2.6.1 1994/09/23 01:45:53 ezf
70 * change marker to not FREE
71 * [1994/09/22 21:19:54 ezf]
72 *
73 * Revision 1.2.2.2 1993/06/09 02:27:00 gm
74 * Added to OSF/1 R1.3 from NMK15.0.
75 * [1993/06/02 21:02:53 jeffc]
76 *
77 * Revision 1.2 1993/04/19 16:12:08 devrcs
78 * Fixed Copyrights
79 * [92/12/16 bernadat]
80 *
81 * Changed MP_GDT from 1200 to 1100 to save unused space.
82 * [92/12/08 bernadat]
83 *
84 * Revision 1.1 1992/09/30 02:27:14 robert
85 * Initial revision
86 *
87 * $EndLog$
88 */
89 /* CMU_HIST */
90 /*
91 * Revision 2.1.3.1 92/04/30 11:57:14 bernadat
92 * Moved from cbus to here, applies to both Corollary
93 * and SystemPro
94 * [92/04/08 bernadat]
95 *
96 * Revision 2.1.9.1 92/02/18 18:34:14 jeffreyh
97 * Created
98 * [91/06/27 05:00:05 bernadat]
99 *
100 */
101 /* CMU_ENDHIST */
102
103 /*
104 * Define where to store boot code for slaves
105 */
106
107 #define MP_BOOT 0x1000 /* address where slave boots load */
108 #define MP_BOOTSEG 0x100
109 #define MP_BOOTGDT 0x1100 /* temporary gdt address for boot */
110 #define MP_BOOTSTACK 0x800 /* stack for boot */
111 #define MP_MACH_START MP_BOOTSTACK /* contains address where to jump
112 after boot */
113 #define MP_FIRST_ADDR 0x3000 /* 2 extra pages reserved */