source: soft/giet_vm/boot/boot.ld @ 163

Last change on this file since 163 was 160, checked in by karaoui, 12 years ago

giet-vm new version

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
8seg_boot_base           = 0xBFC00000;   /* boot code */
9
10seg_boot_stack_base     = 0xBFC08000;   /* boot temporary stack */
11
12seg_mapping_base        = 0xBFC0C000;   /* boot mapping_info */
13
14seg_kernel_init_base    = 0x80030000;   /* system init entry */
15seg_tty_base            = 0x90000000;   /* TTY device: for debug purpose! */
16
17/*
18 * Grouping sections into segments for boot code and data
19 */
20
21SECTIONS
22{
23    /** contain both data and code sections */
24    . = seg_boot_base;
25    seg_boot :
26    {
27        *(.boot)
28        *(.text)
29
30        *(.rodata)
31        *(.rodata.*)
32        *(.data)
33        *(.lit8)
34        *(.lit4)
35        *(.sdata)
36        *(.bss)
37        *(COMMON)
38        *(.sbss)
39        *(.scommon)
40    }
41}
Note: See TracBrowser for help on using the repository browser.