]>
Commit | Line | Data |
---|---|---|
0c530ab8 A |
1 | /* |
2 | * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved. | |
3 | * | |
2d21ac55 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
0c530ab8 | 5 | * |
2d21ac55 A |
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 License | |
10 | * may not be used to create, or enable the creation or redistribution of, | |
11 | * unlawful or unlicensed copies of an Apple operating system, or to | |
12 | * circumvent, violate, or enable the circumvention or violation of, any | |
13 | * terms of an Apple operating system software license agreement. | |
0c530ab8 | 14 | * |
2d21ac55 A |
15 | * Please obtain a copy of the License at |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. | |
17 | * | |
18 | * The Original Code and all software distributed under the License are | |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
0c530ab8 A |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
2d21ac55 A |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
23 | * Please see the License for the specific language governing rights and | |
24 | * limitations under the License. | |
0c530ab8 | 25 | * |
2d21ac55 | 26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ |
0c530ab8 | 27 | */ |
2d21ac55 | 28 | |
0c530ab8 A |
29 | /* |
30 | * @OSF_COPYRIGHT@ | |
31 | */ | |
32 | /* | |
33 | * Mach Operating System | |
34 | * Copyright (c) 1991,1990 Carnegie Mellon University | |
35 | * All Rights Reserved. | |
36 | * | |
37 | * Permission to use, copy, modify and distribute this software and its | |
38 | * documentation is hereby granted, provided that both the copyright | |
39 | * notice and this permission notice appear in all copies of the | |
40 | * software, derivative works or modified versions, and any portions | |
41 | * thereof, and that both notices appear in supporting documentation. | |
42 | * | |
43 | * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" | |
44 | * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR | |
45 | * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. | |
46 | * | |
47 | * Carnegie Mellon requests users of this software to return to | |
48 | * | |
49 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU | |
50 | * School of Computer Science | |
51 | * Carnegie Mellon University | |
52 | * Pittsburgh PA 15213-3890 | |
53 | * | |
54 | * any improvements or extensions that they make and grant Carnegie Mellon | |
55 | * the rights to redistribute these changes. | |
56 | */ | |
57 | ||
58 | #include <platforms.h> | |
59 | #include <mach_kdb.h> | |
2d21ac55 | 60 | #include <mach_kdp.h> |
0c530ab8 A |
61 | |
62 | #include <i386/asm.h> | |
63 | #include <i386/proc_reg.h> | |
64 | #include <i386/postcode.h> | |
65 | #include <assym.s> | |
66 | ||
67 | ||
68 | /* on x86 the low mem vectors live here and get mapped to 0x2000 at | |
69 | * system startup time | |
70 | */ | |
71 | ||
72 | .text | |
73 | .align 12 | |
74 | ||
75 | .globl EXT(lowGlo) | |
76 | EXT(lowGlo): | |
77 | ||
78 | .ascii "Catfish " /* 0x2000 System verification code */ | |
79 | .long 0 /* 0x2008 Double constant 0 */ | |
80 | .long 0 | |
81 | .long 0 /* 0x2010 Reserved */ | |
2d21ac55 | 82 | .long 0 /* 0x2014 Zero */ |
0c530ab8 A |
83 | .long 0 /* 0x2018 Reserved */ |
84 | .long EXT(version) /* 0x201C Pointer to kernel version string */ | |
85 | .fill 280, 4, 0 /* 0x2020 Reserved */ | |
86 | .long EXT(kmod) /* 0x2480 Pointer to kmod, debugging aid */ | |
2d21ac55 | 87 | #if MACH_KDP |
0c530ab8 | 88 | .long EXT(kdp_trans_off) /* 0x2484 Pointer to kdp_trans_off, debugging aid */ |
2d21ac55 A |
89 | .long EXT(kdp_read_io) /* 0x2488 Pointer to kdp_read_io, debugging aid */ |
90 | #else | |
91 | .long 0 /* 0x2484 Reserved */ | |
0c530ab8 | 92 | .long 0 /* 0x2488 Reserved */ |
2d21ac55 | 93 | #endif |
0c530ab8 A |
94 | .long 0 /* 0x248C Reserved for developer use */ |
95 | .long 0 /* 0x2490 Reserved for developer use */ | |
2d21ac55 A |
96 | .long EXT(osversion) /* 0x2494 Pointer to osversion string */ |
97 | #if MACH_KDP | |
98 | .long EXT(flag_kdp_trigger_reboot) /* 0x2498 Pointer to debugger reboot trigger */ | |
99 | #else | |
100 | .long 0 /* 0x2498 Reserved */ | |
101 | #endif | |
102 | .fill 729, 4, 0 |