|
Last change
on this file since 175 was
167,
checked in by alain, 13 years ago
|
|
Fix several bugs to use the vci_block_device with MMU activated
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | /**************************************************************************** |
|---|
| 2 | * Definition of the base address for all virtual segments |
|---|
| 3 | *****************************************************************************/ |
|---|
| 4 | |
|---|
| 5 | /* The vsegs used in the boot phase must respect identity mapping: |
|---|
| 6 | physical address = virtual address */ |
|---|
| 7 | |
|---|
| 8 | seg_boot_base = 0xBFC00000; /* boot code */ |
|---|
| 9 | |
|---|
| 10 | seg_boot_stack_base = 0xBFC08000; /* boot temporary stack */ |
|---|
| 11 | |
|---|
| 12 | seg_mapping_base = 0xBFC0C000; /* boot mapping_info */ |
|---|
| 13 | |
|---|
| 14 | seg_kernel_init_base = 0x80090000; /* system init entry */ |
|---|
| 15 | |
|---|
| 16 | seg_tty_base = 0x90000000; /* TTY device: for debug purpose! */ |
|---|
| 17 | |
|---|
| 18 | /* |
|---|
| 19 | * Grouping sections into segments for boot code and data |
|---|
| 20 | */ |
|---|
| 21 | |
|---|
| 22 | SECTIONS |
|---|
| 23 | { |
|---|
| 24 | /** contain both data and code sections */ |
|---|
| 25 | . = seg_boot_base; |
|---|
| 26 | seg_boot : |
|---|
| 27 | { |
|---|
| 28 | *(.boot) |
|---|
| 29 | *(.text) |
|---|
| 30 | |
|---|
| 31 | *(.rodata) |
|---|
| 32 | *(.rodata.*) |
|---|
| 33 | *(.data) |
|---|
| 34 | *(.lit8) |
|---|
| 35 | *(.lit4) |
|---|
| 36 | *(.sdata) |
|---|
| 37 | *(.bss) |
|---|
| 38 | *(COMMON) |
|---|
| 39 | *(.sbss) |
|---|
| 40 | *(.scommon) |
|---|
| 41 | } |
|---|
| 42 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.