Merge commit '9276b3991ba20d5a5660887ba81b0bc7bed25a0c'
[unleashed.git] / arch / x86 / kernel / platform / i86pc / mapfile-32
blob0d29beb3c3c336bbd10045bcdcfa6e6d28c62e8a
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
24 $mapfile_version 2
27 # this is the 32 bit 1:1 mapped code to which grub jumps.
29 LOAD_SEGMENT dboot {
30         FLAGS = READ WRITE EXECUTE;
31         NOHDR;
32         PADDR = 0xC00000;
33         VADDR = 0xC00000;
34         ASSIGN_SECTION {
35                 TYPE = PROGBITS;
36                 FLAGS = ALLOC WRITE;
37                 FILE_BASENAME = dboot.o;
38         };
42 # this is the kernel text
44 LOAD_SEGMENT text {
45         FLAGS = READ EXECUTE;
46         NOHDR;
47         PADDR = 0x400000;
48         VADDR = 0xFE800000;
49         OS_ORDER = .text;
50         ASSIGN_SECTION {
51                 TYPE = PROGBITS;
52                 FLAGS = ALLOC !WRITE;
53         };
57 # start the data segment on a new 4MB page boundary
59 LOAD_SEGMENT data {
60         FLAGS = READ WRITE EXECUTE;
61         PADDR = 0x800000;
62         VADDR = 0xFEc00000;
63         OS_ORDER = .data;
64         ASSIGN_SECTION {
65                 TYPE = PROGBITS;
66                 FLAGS = ALLOC WRITE;
67         };
68         ASSIGN_SECTION {
69                 TYPE = NOBITS;
70                 FLAGS = ALLOC WRITE;
71         };
74 NOTE_SEGMENT note {
75         ASSIGN_SECTION {
76                 TYPE = NOTE;
77         };