]> git.saurik.com Git - apple/xnu.git/blob - osfmk/i386/AT386/mp/boot.h
xnu-123.5.tar.gz
[apple/xnu.git] / osfmk / i386 / AT386 / mp / boot.h
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 /*
27 * Mach Operating System
28 * Copyright (c) 1991,1990 Carnegie Mellon University
29 * All Rights Reserved.
30 *
31 * Permission to use, copy, modify and distribute this software and its
32 * documentation is hereby granted, provided that both the copyright
33 * notice and this permission notice appear in all copies of the
34 * software, derivative works or modified versions, and any portions
35 * thereof, and that both notices appear in supporting documentation.
36 *
37 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
38 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
39 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
40 *
41 * Carnegie Mellon requests users of this software to return to
42 *
43 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
44 * School of Computer Science
45 * Carnegie Mellon University
46 * Pittsburgh PA 15213-3890
47 *
48 * any improvements or extensions that they make and grant Carnegie Mellon
49 * the rights to redistribute these changes.
50 */
51
52 /*
53 * HISTORY
54 *
55 * Revision 1.1.1.1 1998/09/22 21:05:39 wsanchez
56 * Import of Mac OS X kernel (~semeria)
57 *
58 * Revision 1.1.1.1 1998/03/07 02:25:40 wsanchez
59 * Import of OSF Mach kernel (~mburg)
60 *
61 * Revision 1.2.6.1 1994/09/23 01:45:53 ezf
62 * change marker to not FREE
63 * [1994/09/22 21:19:54 ezf]
64 *
65 * Revision 1.2.2.2 1993/06/09 02:27:00 gm
66 * Added to OSF/1 R1.3 from NMK15.0.
67 * [1993/06/02 21:02:53 jeffc]
68 *
69 * Revision 1.2 1993/04/19 16:12:08 devrcs
70 * Fixed Copyrights
71 * [92/12/16 bernadat]
72 *
73 * Changed MP_GDT from 1200 to 1100 to save unused space.
74 * [92/12/08 bernadat]
75 *
76 * Revision 1.1 1992/09/30 02:27:14 robert
77 * Initial revision
78 *
79 * $EndLog$
80 */
81 /* CMU_HIST */
82 /*
83 * Revision 2.1.3.1 92/04/30 11:57:14 bernadat
84 * Moved from cbus to here, applies to both Corollary
85 * and SystemPro
86 * [92/04/08 bernadat]
87 *
88 * Revision 2.1.9.1 92/02/18 18:34:14 jeffreyh
89 * Created
90 * [91/06/27 05:00:05 bernadat]
91 *
92 */
93 /* CMU_ENDHIST */
94
95 /*
96 * Define where to store boot code for slaves
97 */
98
99 #define MP_BOOT 0x1000 /* address where slave boots are loaded */
100 #define MP_BOOTSEG 0x100
101 #define MP_GDT 0x1100 /* temporary gdt address for boot */
102 #define MP_BOOTSTACK 0x800 /* stack for boot */
103 #define MP_MACH_START MP_BOOTSTACK /* contains address where to jump
104 after boot */