Last change
on this file since 421 was
366,
checked in by cfuguet, 10 years ago
|
giet_boot: using boot_entry instead of boot_init as entry point
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | /****************************************************************************/ |
---|
3 | /* Definition of the base addresses for all vsegs used by the GIET_VM */ |
---|
4 | /****************************************************************************/ |
---|
5 | |
---|
6 | INCLUDE giet_vsegs.ld |
---|
7 | |
---|
8 | /****************************************************************************/ |
---|
9 | /* Definition of the entry point for the BOOT code. */ |
---|
10 | /* The address of the boot_init function is stored in the .elf header, */ |
---|
11 | /* and is used by the preloader to jump into the boot code. */ |
---|
12 | /****************************************************************************/ |
---|
13 | |
---|
14 | ENTRY(boot_entry) |
---|
15 | |
---|
16 | /****************************************************************************/ |
---|
17 | /* Grouping sections into virtual segment for boot code and data */ |
---|
18 | /****************************************************************************/ |
---|
19 | SECTIONS |
---|
20 | { |
---|
21 | . = boot_code_vbase; |
---|
22 | seg_boot_code : |
---|
23 | { |
---|
24 | *(.text) |
---|
25 | *(.rodata) |
---|
26 | *(.rodata.*) |
---|
27 | } |
---|
28 | |
---|
29 | . = boot_data_vbase; |
---|
30 | seg_boot_data : |
---|
31 | { |
---|
32 | *(.bootdata) |
---|
33 | *(.fatdata) |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.