xref: /titanic_50/usr/src/uts/sun4/conf/Mapfile (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
1#
2# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
3#
4# CDDL HEADER START
5#
6# The contents of this file are subject to the terms of the
7# Common Development and Distribution License (the "License").
8# You may not use this file except in compliance with the License.
9#
10# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11# or http://www.opensolaris.org/os/licensing.
12# See the License for the specific language governing permissions
13# and limitations under the License.
14#
15# When distributing Covered Code, include this CDDL HEADER in each
16# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17# If applicable, add the following below this CDDL HEADER, with the
18# fields enclosed by brackets "[]" replaced with your own identifying
19# information: Portions Copyright [yyyy] [name of copyright owner]
20#
21# CDDL HEADER END
22
23$mapfile_version 2
24
25#
26# Some four meg of kernel virtual address space
27# is mapped via a locked 4-meg mapping in the ITLB
28#
29LOAD_SEGMENT text {
30	FLAGS = READ EXECUTE;
31	NOHDR;
32	VADDR = 0x01000000;
33	OS_ORDER = .text;
34	ASSIGN_SECTION {
35		TYPE = PROGBITS;
36		FLAGS = ALLOC !WRITE;
37	};
38};
39
40#
41# Another four meg of kernel virtual address space
42# is mapped via a locked 4-meg mapping in the DTLB
43#
44LOAD_SEGMENT data {
45	FLAGS = READ WRITE EXECUTE;
46	VADDR = 0x01800000;
47	ALIGN = 0x00400000;
48	OS_ORDER = .data;
49	ASSIGN_SECTION {
50		TYPE = PROGBITS;
51		FLAGS = ALLOC WRITE;
52	};
53	ASSIGN_SECTION {
54		TYPE = NOBITS;
55		FLAGS = ALLOC WRITE;
56	};
57};
58
59#
60# put reloc seg in space between text and data
61# it will be freed by the kernel after use
62#
63LOAD_SEGMENT reloc {
64	FLAGS = READ WRITE;
65	VADDR = 0x01402000;
66	ASSIGN_SECTION { TYPE = DYNSYM };
67	ASSIGN_SECTION { TYPE = HASH };
68	ASSIGN_SECTION { IS_NAME = .dynstr };
69	ASSIGN_SECTION { IS_NAME = .rela.text };
70	ASSIGN_SECTION { IS_NAME = .rela.data };
71};
72
73NOTE_SEGMENT note {
74	ASSIGN_SECTION {
75		TYPE = NOTE;
76	};
77};
78