xref: /onnv-gate/usr/src/uts/i86xpv/unix/dboot/Mapfile.dboot (revision 12692:4341b447c069)
15084Sjohnlev#
25084Sjohnlev# CDDL HEADER START
35084Sjohnlev#
45084Sjohnlev# The contents of this file are subject to the terms of the
55084Sjohnlev# Common Development and Distribution License (the "License").
65084Sjohnlev# You may not use this file except in compliance with the License.
75084Sjohnlev#
85084Sjohnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95084Sjohnlev# or http://www.opensolaris.org/os/licensing.
105084Sjohnlev# See the License for the specific language governing permissions
115084Sjohnlev# and limitations under the License.
125084Sjohnlev#
135084Sjohnlev# When distributing Covered Code, include this CDDL HEADER in each
145084Sjohnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155084Sjohnlev# If applicable, add the following below this CDDL HEADER, with the
165084Sjohnlev# fields enclosed by brackets "[]" replaced with your own identifying
175084Sjohnlev# information: Portions Copyright [yyyy] [name of copyright owner]
185084Sjohnlev#
195084Sjohnlev# CDDL HEADER END
205084Sjohnlev#
215084Sjohnlev
225084Sjohnlev#
23*12692SAli.Bahrami@Oracle.COM# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
245084Sjohnlev#
255084Sjohnlev
26*12692SAli.Bahrami@Oracle.COM$mapfile_version 2
275084Sjohnlev
28*12692SAli.Bahrami@Oracle.COMLOAD_SEGMENT dboot {
29*12692SAli.Bahrami@Oracle.COM	NOHDR;
30*12692SAli.Bahrami@Oracle.COM	FLAGS = READ WRITE EXECUTE;
31*12692SAli.Bahrami@Oracle.COM	VADDR = 0x40800000;
32*12692SAli.Bahrami@Oracle.COM	PADDR = 0x40800000;
33*12692SAli.Bahrami@Oracle.COM	ALIGN = 0x1000;
345084Sjohnlev
35*12692SAli.Bahrami@Oracle.COM	#
36*12692SAli.Bahrami@Oracle.COM	# Make sure that dboot_xen.s`_start is the first thing in the dboot
37*12692SAli.Bahrami@Oracle.COM	# .text segment, since when we boot that's where the boot loader will
38*12692SAli.Bahrami@Oracle.COM	# start execution
39*12692SAli.Bahrami@Oracle.COM	#
40*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION is_text {
41*12692SAli.Bahrami@Oracle.COM		IS_NAME = .text;
42*12692SAli.Bahrami@Oracle.COM		FILE_BASENAME = dboot_xen.o;
43*12692SAli.Bahrami@Oracle.COM	};
44*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION is_progbits {
45*12692SAli.Bahrami@Oracle.COM		TYPE = PROGBITS;
46*12692SAli.Bahrami@Oracle.COM		FLAGS = ALLOC;
47*12692SAli.Bahrami@Oracle.COM	};
48*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION is_nobits {
49*12692SAli.Bahrami@Oracle.COM		TYPE = NOBITS;
50*12692SAli.Bahrami@Oracle.COM		FLAGS = ALLOC;
51*12692SAli.Bahrami@Oracle.COM	};
52*12692SAli.Bahrami@Oracle.COM	IS_ORDER = is_text is_progbits is_nobits;
53*12692SAli.Bahrami@Oracle.COM};
54*12692SAli.Bahrami@Oracle.COM
55*12692SAli.Bahrami@Oracle.COMLOAD_SEGMENT otherstuff {
56*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION {
57*12692SAli.Bahrami@Oracle.COM		FLAGS = ALLOC;
58*12692SAli.Bahrami@Oracle.COM	};
59*12692SAli.Bahrami@Oracle.COM};
60