17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5ae115bc7Smrj# Common Development and Distribution License (the "License"). 6ae115bc7Smrj# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 20ae115bc7Smrj# 21ae115bc7Smrj 22ae115bc7Smrj# 23*cd3e9333SAli Bahrami# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 24ae115bc7Smrj# 25ae115bc7Smrj 26*cd3e9333SAli Bahrami$mapfile_version 2 277c478bd9Sstevel@tonic-gate 28*cd3e9333SAli BahramiLOAD_SEGMENT dboot { 29*cd3e9333SAli Bahrami FLAGS = READ WRITE EXECUTE; 30*cd3e9333SAli Bahrami VADDR = 0xC00000; 31*cd3e9333SAli Bahrami PADDR = 0xC00000; 32*cd3e9333SAli Bahrami ALIGN = 0x1000; 33*cd3e9333SAli Bahrami 34*cd3e9333SAli Bahrami # 35*cd3e9333SAli Bahrami # Make sure that dboot_grub.s`_start is the first thing in the dboot 36*cd3e9333SAli Bahrami # .text segment, since when we boot that's where the boot loader will 37*cd3e9333SAli Bahrami # start execution 38*cd3e9333SAli Bahrami # 39*cd3e9333SAli Bahrami ASSIGN_SECTION is_text { 40*cd3e9333SAli Bahrami IS_NAME = .text; 41*cd3e9333SAli Bahrami FILE_BASENAME = dboot_grub.o; 42*cd3e9333SAli Bahrami }; 43*cd3e9333SAli Bahrami ASSIGN_SECTION is_alloc { 44*cd3e9333SAli Bahrami FLAGS = ALLOC; 45*cd3e9333SAli Bahrami }; 46*cd3e9333SAli Bahrami IS_ORDER = is_text is_alloc; 47*cd3e9333SAli Bahrami}; 48