|
Last change
on this file since 251 was
245,
checked in by alain, 12 years ago
|
|
Introducing a new global vseg : seg_boot_data, in order
to clearly separate the seg_boot_code (Read-Only) and
the seg_boot_data (Read/Write?). This is mandatory,
if the boot code is stored in a real ROM.
|
|
File size:
729 bytes
|
| Rev | Line | |
|---|
| [160] | 1 | |
|---|
| [203] | 2 | /****************************************************************************/ |
|---|
| 3 | /* Definition of the base addresses for all vsegs used by the GIET_VM */ |
|---|
| 4 | /****************************************************************************/ |
|---|
| [160] | 5 | |
|---|
| [203] | 6 | INCLUDE giet_vsegs.ld |
|---|
| [160] | 7 | |
|---|
| [203] | 8 | /****************************************************************************/ |
|---|
| 9 | /* Grouping sections into virtual segment for boot code and data */ |
|---|
| 10 | /****************************************************************************/ |
|---|
| [160] | 11 | |
|---|
| 12 | SECTIONS |
|---|
| 13 | { |
|---|
| [203] | 14 | . = seg_boot_code_base; |
|---|
| 15 | seg_boot_code : |
|---|
| [160] | 16 | { |
|---|
| 17 | *(.boot) |
|---|
| 18 | *(.text) |
|---|
| 19 | *(.rodata) |
|---|
| 20 | *(.rodata.*) |
|---|
| 21 | } |
|---|
| [245] | 22 | |
|---|
| 23 | . = seg_boot_data_base; |
|---|
| 24 | seg_boot_data : |
|---|
| 25 | { |
|---|
| 26 | *(.wdata) |
|---|
| 27 | } |
|---|
| [160] | 28 | } |
|---|
| [203] | 29 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.