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

Last change on this file since 189 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
Line 
1/****************************************************************************
2* Definition of the base address for all virtual segments
3*****************************************************************************/
4
5/*
6The following (virtual) addresses are specific for the boot phase.
7They must respect identity mapping: physical address = virtual address
8*/
9
10seg_boot_base           = 0xBFC00000;   /* boot code */
11
12seg_boot_stack_base     = 0xBFC08000;   /* boot temporary stack */
13
14seg_mapping_base        = 0xBFC0C000;   /* boot mapping_info */
15
16/*
17The following (virtual) addresse are defined and used by the kernel.
18They are not constrained to respect identity mapping. 
19*/
20
21seg_kernel_init_base    = 0x80090000;   /* system init entry */
22
23seg_tty_base                = 0x90000000;   /* TTY device */
24seg_timer_base              = 0x91000000;   /* Timer device */
25seg_ioc_base                = 0x92000000;   /* Block device */
26seg_dma_base                = 0x93000000;   /* DMA device */
27seg_gcd_base                = 0x95000000;   /* GCD device */
28seg_fb_base                 = 0x96000000;   /* FrameBuffer device */
29seg_iob_base                = 0x9E000000;   /* IO Bridge device */
30seg_icu_base                = 0x9F000000;   /* ICU or XICU device */
31
32/*
33Grouping sections into segments for boot code and data
34*/
35
36SECTIONS
37{
38    /* contain both data and code sections */
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.