1ae115bc7Smrj# 2ae115bc7Smrj# CDDL HEADER START 3ae115bc7Smrj# 4ae115bc7Smrj# 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. 7ae115bc7Smrj# 8ae115bc7Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9ae115bc7Smrj# or http://www.opensolaris.org/os/licensing. 10ae115bc7Smrj# See the License for the specific language governing permissions 11ae115bc7Smrj# and limitations under the License. 12ae115bc7Smrj# 13ae115bc7Smrj# When distributing Covered Code, include this CDDL HEADER in each 14ae115bc7Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15ae115bc7Smrj# If applicable, add the following below this CDDL HEADER, with the 16ae115bc7Smrj# fields enclosed by brackets "[]" replaced with your own identifying 17ae115bc7Smrj# information: Portions Copyright [yyyy] [name of copyright owner] 18ae115bc7Smrj# 19ae115bc7Smrj# 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 27ae115bc7Smrj 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 34843e1988Sjohnlev # 35843e1988Sjohnlev # Make sure that dboot_grub.s`_start is the first thing in the dboot 36843e1988Sjohnlev # .text segment, since when we boot that's where the boot loader will 37843e1988Sjohnlev # start execution 38843e1988Sjohnlev # 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