xref: /illumos-gate/usr/src/uts/i86xpv/unix/dboot/Mapfile.dboot (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
1843e1988Sjohnlev#
2843e1988Sjohnlev# CDDL HEADER START
3843e1988Sjohnlev#
4843e1988Sjohnlev# The contents of this file are subject to the terms of the
5843e1988Sjohnlev# Common Development and Distribution License (the "License").
6843e1988Sjohnlev# You may not use this file except in compliance with the License.
7843e1988Sjohnlev#
8843e1988Sjohnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9843e1988Sjohnlev# or http://www.opensolaris.org/os/licensing.
10843e1988Sjohnlev# See the License for the specific language governing permissions
11843e1988Sjohnlev# and limitations under the License.
12843e1988Sjohnlev#
13843e1988Sjohnlev# When distributing Covered Code, include this CDDL HEADER in each
14843e1988Sjohnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15843e1988Sjohnlev# If applicable, add the following below this CDDL HEADER, with the
16843e1988Sjohnlev# fields enclosed by brackets "[]" replaced with your own identifying
17843e1988Sjohnlev# information: Portions Copyright [yyyy] [name of copyright owner]
18843e1988Sjohnlev#
19843e1988Sjohnlev# CDDL HEADER END
20843e1988Sjohnlev#
21843e1988Sjohnlev
22843e1988Sjohnlev#
23*cd3e9333SAli Bahrami# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
24843e1988Sjohnlev#
25843e1988Sjohnlev
26*cd3e9333SAli Bahrami$mapfile_version 2
27843e1988Sjohnlev
28*cd3e9333SAli BahramiLOAD_SEGMENT dboot {
29*cd3e9333SAli Bahrami	NOHDR;
30*cd3e9333SAli Bahrami	FLAGS = READ WRITE EXECUTE;
31*cd3e9333SAli Bahrami	VADDR = 0x40800000;
32*cd3e9333SAli Bahrami	PADDR = 0x40800000;
33*cd3e9333SAli Bahrami	ALIGN = 0x1000;
34843e1988Sjohnlev
35843e1988Sjohnlev	#
36843e1988Sjohnlev	# Make sure that dboot_xen.s`_start is the first thing in the dboot
37843e1988Sjohnlev	# .text segment, since when we boot that's where the boot loader will
38843e1988Sjohnlev	# start execution
39843e1988Sjohnlev	#
40*cd3e9333SAli Bahrami	ASSIGN_SECTION is_text {
41*cd3e9333SAli Bahrami		IS_NAME = .text;
42*cd3e9333SAli Bahrami		FILE_BASENAME = dboot_xen.o;
43*cd3e9333SAli Bahrami	};
44*cd3e9333SAli Bahrami	ASSIGN_SECTION is_progbits {
45*cd3e9333SAli Bahrami		TYPE = PROGBITS;
46*cd3e9333SAli Bahrami		FLAGS = ALLOC;
47*cd3e9333SAli Bahrami	};
48*cd3e9333SAli Bahrami	ASSIGN_SECTION is_nobits {
49*cd3e9333SAli Bahrami		TYPE = NOBITS;
50*cd3e9333SAli Bahrami		FLAGS = ALLOC;
51*cd3e9333SAli Bahrami	};
52*cd3e9333SAli Bahrami	IS_ORDER = is_text is_progbits is_nobits;
53*cd3e9333SAli Bahrami};
54843e1988Sjohnlev
55*cd3e9333SAli BahramiLOAD_SEGMENT otherstuff {
56*cd3e9333SAli Bahrami	ASSIGN_SECTION {
57*cd3e9333SAli Bahrami		FLAGS = ALLOC;
58*cd3e9333SAli Bahrami	};
59*cd3e9333SAli Bahrami};
60