annotate cos/kernel/link.ld @ 29:7e3bdcb391dc

Added get_page function to mm
author windel
date Thu, 29 Dec 2011 19:34:01 +0100
parents 47b7df514243
children bcb3b68c8147
rev   line source
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
1 OUTPUT_FORMAT("binary")
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
2
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
3 SECTIONS {
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
4 .text 0x100000:
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
5 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
6 *(.text)
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
7 }
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
8
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
9 .rodata ALIGN (4096) :
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
10 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
11 *(.rodata)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
12 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
13
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
14 .data ALIGN (4096) :
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
15 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
16 *(.data)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
17 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
18
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
19 .bss : {
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
20 *(.bss)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
21 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
22
29
7e3bdcb391dc Added get_page function to mm
windel
parents: 28
diff changeset
23 kernel_end = .;
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
24 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
25