Last change
on this file since 200 was
189,
checked in by alain, 12 years ago
|
Introducing a new release where all initialisation
is done in the boot code.
|
File size:
1.6 KB
|
Rev | Line | |
---|
[160] | 1 | /**************************************************************************** |
---|
| 2 | * Definition of the base address for all virtual segments |
---|
| 3 | *****************************************************************************/ |
---|
| 4 | |
---|
[189] | 5 | /* |
---|
| 6 | The following (virtual) addresses are specific for the boot phase. |
---|
| 7 | They must respect identity mapping: physical address = virtual address |
---|
| 8 | */ |
---|
[160] | 9 | |
---|
| 10 | seg_boot_base = 0xBFC00000; /* boot code */ |
---|
| 11 | |
---|
| 12 | seg_boot_stack_base = 0xBFC08000; /* boot temporary stack */ |
---|
| 13 | |
---|
| 14 | seg_mapping_base = 0xBFC0C000; /* boot mapping_info */ |
---|
| 15 | |
---|
[189] | 16 | /* |
---|
| 17 | The following (virtual) addresse are defined and used by the kernel. |
---|
| 18 | They are not constrained to respect identity mapping. |
---|
| 19 | */ |
---|
| 20 | |
---|
[167] | 21 | seg_kernel_init_base = 0x80090000; /* system init entry */ |
---|
| 22 | |
---|
[189] | 23 | seg_tty_base = 0x90000000; /* TTY device */ |
---|
| 24 | seg_timer_base = 0x91000000; /* Timer device */ |
---|
| 25 | seg_ioc_base = 0x92000000; /* Block device */ |
---|
| 26 | seg_dma_base = 0x93000000; /* DMA device */ |
---|
| 27 | seg_gcd_base = 0x95000000; /* GCD device */ |
---|
| 28 | seg_fb_base = 0x96000000; /* FrameBuffer device */ |
---|
| 29 | seg_iob_base = 0x9E000000; /* IO Bridge device */ |
---|
| 30 | seg_icu_base = 0x9F000000; /* ICU or XICU device */ |
---|
[160] | 31 | |
---|
| 32 | /* |
---|
[189] | 33 | Grouping sections into segments for boot code and data |
---|
| 34 | */ |
---|
[160] | 35 | |
---|
| 36 | SECTIONS |
---|
| 37 | { |
---|
[189] | 38 | /* contain both data and code sections */ |
---|
[160] | 39 | . = seg_boot_base; |
---|
| 40 | seg_boot : |
---|
| 41 | { |
---|
| 42 | *(.boot) |
---|
| 43 | *(.text) |
---|
| 44 | |
---|
| 45 | *(.rodata) |
---|
| 46 | *(.rodata.*) |
---|
| 47 | *(.data) |
---|
| 48 | *(.lit8) |
---|
| 49 | *(.lit4) |
---|
| 50 | *(.sdata) |
---|
| 51 | *(.bss) |
---|
| 52 | *(COMMON) |
---|
| 53 | *(.sbss) |
---|
| 54 | *(.scommon) |
---|
| 55 | } |
---|
| 56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.