Rev 602 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 602 | Rev 680 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | 10 | ||
11 | #define __ASM__ |
11 | #define __ASM__ |
12 | #include <arch/boot/boot.h> |
12 | #include <arch/boot/boot.h> |
13 | #include <arch/mm/page.h> |
13 | #include <arch/mm/page.h> |
14 | 14 | ||
15 | ENTRY(kernel_image_start) |
- | |
16 | - | ||
17 | SECTIONS { |
15 | SECTIONS { |
18 | .unmapped BOOTSTRAP_OFFSET: AT (BOOTSTRAP_OFFSET) { |
16 | .unmapped BOOTSTRAP_OFFSET: AT (BOOTSTRAP_OFFSET) { |
19 | unmapped_ktext_start = .; |
17 | unmapped_ktext_start = .; |
20 | *(K_TEXT_START); |
18 | *(K_TEXT_START); |
21 | *(K_TEXT_START_2); |
19 | *(K_TEXT_START_2); |
Line 26... | Line 24... | ||
26 | unmapped_kdata_end = .; |
24 | unmapped_kdata_end = .; |
27 | } |
25 | } |
28 | 26 | ||
29 | .mapped (PA2KA(BOOT_OFFSET+BOOTSTRAP_OFFSET)+SIZEOF(.unmapped)): AT (BOOTSTRAP_OFFSET+SIZEOF(.unmapped)) { |
27 | .mapped (PA2KA(BOOT_OFFSET+BOOTSTRAP_OFFSET)+SIZEOF(.unmapped)): AT (BOOTSTRAP_OFFSET+SIZEOF(.unmapped)) { |
30 | ktext_start = .; |
28 | ktext_start = .; |
31 | *(BOOT_DATA); |
- | |
32 | *(.text); |
29 | *(.text); |
33 | ktext_end = .; |
30 | ktext_end = .; |
34 | 31 | ||
35 | kdata_start = .; |
32 | kdata_start = .; |
36 | *(.data); /* initialized data */ |
33 | *(.data); /* initialized data */ |