xref: /onnv-gate/usr/src/uts/i86pc/unix/dboot/Mapfile.dboot (revision 12692:4341b447c069)
13446Smrj#
23446Smrj# CDDL HEADER START
33446Smrj#
43446Smrj# The contents of this file are subject to the terms of the
53446Smrj# Common Development and Distribution License (the "License").
63446Smrj# You may not use this file except in compliance with the License.
73446Smrj#
83446Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93446Smrj# or http://www.opensolaris.org/os/licensing.
103446Smrj# See the License for the specific language governing permissions
113446Smrj# and limitations under the License.
123446Smrj#
133446Smrj# When distributing Covered Code, include this CDDL HEADER in each
143446Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153446Smrj# If applicable, add the following below this CDDL HEADER, with the
163446Smrj# fields enclosed by brackets "[]" replaced with your own identifying
173446Smrj# information: Portions Copyright [yyyy] [name of copyright owner]
183446Smrj#
193446Smrj# CDDL HEADER END
203446Smrj#
213446Smrj
223446Smrj#
23*12692SAli.Bahrami@Oracle.COM# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
243446Smrj#
253446Smrj
26*12692SAli.Bahrami@Oracle.COM$mapfile_version 2
27*12692SAli.Bahrami@Oracle.COM
28*12692SAli.Bahrami@Oracle.COMLOAD_SEGMENT dboot {
29*12692SAli.Bahrami@Oracle.COM	FLAGS = READ WRITE EXECUTE;
30*12692SAli.Bahrami@Oracle.COM	VADDR = 0xC00000;
31*12692SAli.Bahrami@Oracle.COM	PADDR = 0xC00000;
32*12692SAli.Bahrami@Oracle.COM	ALIGN = 0x1000;
33*12692SAli.Bahrami@Oracle.COM
34*12692SAli.Bahrami@Oracle.COM	#
35*12692SAli.Bahrami@Oracle.COM	# Make sure that dboot_grub.s`_start is the first thing in the dboot
36*12692SAli.Bahrami@Oracle.COM	# .text segment, since when we boot that's where the boot loader will
37*12692SAli.Bahrami@Oracle.COM	# start execution
38*12692SAli.Bahrami@Oracle.COM	#
39*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION is_text {
40*12692SAli.Bahrami@Oracle.COM		IS_NAME = .text;
41*12692SAli.Bahrami@Oracle.COM		FILE_BASENAME = dboot_grub.o;
42*12692SAli.Bahrami@Oracle.COM	};
43*12692SAli.Bahrami@Oracle.COM	ASSIGN_SECTION is_alloc {
44*12692SAli.Bahrami@Oracle.COM		FLAGS = ALLOC;
45*12692SAli.Bahrami@Oracle.COM	};
46*12692SAli.Bahrami@Oracle.COM	IS_ORDER = is_text is_alloc;
47*12692SAli.Bahrami@Oracle.COM};
48