1/*
2 * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_OSREFERENCE_LICENSE_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 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.
14 *
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
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
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.
25 *
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 */
28
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_kdp.h>
60
61#include <i386/asm.h>
62#include <i386/proc_reg.h>
63#include <i386/postcode.h>
64#include <assym.s>
65
66
67/* on x86 the low mem vectors live here and get mapped to 0x2000 at
68 * system startup time
69 */
70
71	.text
72	.align	12
73
74	.globl	EXT(lowGlo)
75EXT(lowGlo):
76
77	.ascii "Catfish "		/* 0x2000 System verification code */
78	.long   0			/* 0x2008 Double constant 0 */
79	.long   0
80	.long	0			/* 0x2010 Reserved */
81	.long	0			/* 0x2014 Zero */
82	.long	0			/* 0x2018 Reserved */
83	.long	EXT(version)		/* 0x201C Pointer to kernel version string */
84	.fill	280, 4, 0		/* 0x2020 Reserved */
85	.long	EXT(kmod)		/* 0x2480 Pointer to kmod, debugging aid */
86#if MACH_KDP
87	.long	EXT(kdp_trans_off)	/* 0x2484 Pointer to kdp_trans_off, debugging aid */
88	.long	EXT(kdp_read_io)	/* 0x2488 Pointer to kdp_read_io, debugging aid */
89#else
90	.long	0			/* 0x2484 Reserved */
91	.long	0			/* 0x2488 Reserved */
92#endif
93	.long	0			/* 0x248C Reserved for developer use */
94	.long	0			/* 0x2490 Reserved for developer use */
95	.long	EXT(osversion)		/* 0x2494 Pointer to osversion string */
96#if MACH_KDP
97	.long	EXT(flag_kdp_trigger_reboot) /* 0x2498 Pointer to debugger reboot trigger */
98	.long	EXT(manual_pkt)		     /* 0x249C Poiner to debugger manual packet address */
99#else
100	.long	0			/* 0x2498 Reserved */
101	.long	0			/* 0x249C Reserved */
102#endif
103	.fill	728, 4, 0
104