xref: /titanic_50/usr/src/uts/i86pc/conf/Mapfile.amd64 (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
17c478bd9Sstevel@tonic-gate#
2*cd3e9333SAli Bahrami# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# CDDL HEADER START
57c478bd9Sstevel@tonic-gate#
67c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
7ae115bc7Smrj# Common Development and Distribution License (the "License").
8ae115bc7Smrj# You may not use this file except in compliance with the License.
97c478bd9Sstevel@tonic-gate#
107c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
117c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
127c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
137c478bd9Sstevel@tonic-gate# and limitations under the License.
147c478bd9Sstevel@tonic-gate#
157c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
167c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
177c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
187c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
197c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate# CDDL HEADER END
227c478bd9Sstevel@tonic-gate#
237c478bd9Sstevel@tonic-gate
24*cd3e9333SAli Bahrami$mapfile_version 2
257c478bd9Sstevel@tonic-gate
26ae115bc7Smrj#
27ae115bc7Smrj# this is the 32 bit 1:1 mapped code to which grub jumps.
28ae115bc7Smrj#
29*cd3e9333SAli BahramiLOAD_SEGMENT dboot {
30*cd3e9333SAli Bahrami	FLAGS = READ WRITE EXECUTE;
31*cd3e9333SAli Bahrami	NOHDR;
32*cd3e9333SAli Bahrami	PADDR = 0xC00000;
33*cd3e9333SAli Bahrami	VADDR = 0xC00000;
34*cd3e9333SAli Bahrami	ASSIGN_SECTION {
35*cd3e9333SAli Bahrami		TYPE = PROGBITS;
36*cd3e9333SAli Bahrami		FLAGS = ALLOC WRITE;
37*cd3e9333SAli Bahrami		FILE_BASENAME = dboot.o;
38*cd3e9333SAli Bahrami	};
39*cd3e9333SAli Bahrami};
40ae115bc7Smrj
41*cd3e9333SAli BahramiLOAD_SEGMENT text {
42*cd3e9333SAli Bahrami	FLAGS =READ EXECUTE;
43*cd3e9333SAli Bahrami	NOHDR;
44*cd3e9333SAli Bahrami	PADDR = 0x400000;
45*cd3e9333SAli Bahrami	VADDR = 0xFFFFFFFFFB800000;
46*cd3e9333SAli Bahrami	OS_ORDER = .text;
47*cd3e9333SAli Bahrami	ASSIGN_SECTION {
48*cd3e9333SAli Bahrami		TYPE = PROGBITS;
49*cd3e9333SAli Bahrami		FLAGS = ALLOC !WRITE;
50*cd3e9333SAli Bahrami	};
51*cd3e9333SAli Bahrami};
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate#
54ae115bc7Smrj# kernel data
557c478bd9Sstevel@tonic-gate#
56*cd3e9333SAli BahramiLOAD_SEGMENT data {
57*cd3e9333SAli Bahrami	FLAGS = READ WRITE EXECUTE;
58*cd3e9333SAli Bahrami	PADDR = 0x800000;
59*cd3e9333SAli Bahrami	VADDR = 0xFFFFFFFFFBc00000;
60*cd3e9333SAli Bahrami	OS_ORDER = .data;
61*cd3e9333SAli Bahrami	ASSIGN_SECTION {
62*cd3e9333SAli Bahrami		TYPE = PROGBITS;
63*cd3e9333SAli Bahrami		FLAGS = ALLOC WRITE;
64*cd3e9333SAli Bahrami	};
65*cd3e9333SAli Bahrami	ASSIGN_SECTION {
66*cd3e9333SAli Bahrami		TYPE = NOBITS;
67*cd3e9333SAli Bahrami		FLAGS = ALLOC WRITE;
68*cd3e9333SAli Bahrami	};
69*cd3e9333SAli Bahrami};
707c478bd9Sstevel@tonic-gate
71*cd3e9333SAli BahramiNOTE_SEGMENT note {
72*cd3e9333SAli Bahrami	ASSIGN_SECTION {
73*cd3e9333SAli Bahrami		TYPE = NOTE;
74*cd3e9333SAli Bahrami	};
75*cd3e9333SAli Bahrami};
76