1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
14 #
15
16 $mapfile_version 2
17
18 # NB: Order matters for name-based entry!
19 LOAD_SEGMENT exception_vector {
20 FLAGS = READ EXECUTE;
21 NOHDR;
22 PADDR = 0xFFFF0000;
23 VADDR = 0xFFFF0000;
24 OS_ORDER = .exception_vector;
25 ASSIGN_SECTION { IS_NAME = .exception_vector };
26 };
27
28 LOAD_SEGMENT text {
29 FLAGS = READ EXECUTE;
30 NOHDR;
31 # PADDR = 0x8080;
32 # VADDR = 0x8080;
33 PADDR = 0x0c100000;
34 VADDR = 0x0c100000;
35 OS_ORDER = .text;
36 ASSIGN_SECTION {
37 TYPE = PROGBITS;
38 FLAGS = ALLOC !WRITE;
39 };
40 };
41
42 LOAD_SEGMENT data {
43 FLAGS = READ WRITE EXECUTE;
44 NOHDR;
45 # PADDR = 0x80000;
46 # VADDR = 0x80000;
47 PADDR = 0x0c200000;
48 VADDR = 0x0c200000;
49 OS_ORDER = .data;
50 ASSIGN_SECTION {
51 TYPE = PROGBITS;
52 FLAGS = ALLOC WRITE;
53 };
54 };
|
1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
14 #
15
16 $mapfile_version 2
17
18 # NB: Order matters for name-based entry!
19
20 LOAD_SEGMENT exception_vector {
21 FLAGS = READ EXECUTE;
22 NOHDR;
23 VADDR = 0xFFFF0000;
24 ALIGN = 0x1000;
25 OS_ORDER = .exception_vector;
26 ASSIGN_SECTION { IS_NAME = .exception_vector };
27 };
28
29 LOAD_SEGMENT text {
30 FLAGS = READ EXECUTE;
31 NOHDR;
32 VADDR = 0xFE800000;
33 OS_ORDER = .text;
34 ASSIGN_SECTION {
35 TYPE = PROGBITS;
36 FLAGS = ALLOC !WRITE;
37 };
38 };
39
40 #
41 # start the data segment on a new 4MB page boundary
42 #
43 LOAD_SEGMENT data {
44 FLAGS = READ WRITE EXECUTE;
45 NOHDR;
46 VADDR = 0xFEC00000;
47 OS_ORDER = .data;
48 ASSIGN_SECTION {
49 TYPE = PROGBITS;
50 FLAGS = ALLOC WRITE;
51 };
52 };
|