source: soft/giet_vm/giet_kernel/kernel.ld @ 263

Last change on this file since 263 was 258, checked in by alain, 11 years ago

This is a major release, including a deep restructuration of code.
The main evolutions are

  • use of the Tsar preloader to load the GIET boot-loader from disk
  • introduction of a FAT32 file system library,
  • use of this fat32 library by the boot-loader to load the map.bin data structure, and the various .elf files
  • reorganisation of drivers (one file per peripheral).
  • introduction of drivers for new peripherals: vci_chbuf_dma and vci_multi_ahci.
  • introduction of a new physical memory allocator in the boot code.

This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1
2/******************************************************************************/
3/* Definition of the base addresses for all vsegs used by the GIET_VM         */
4/******************************************************************************/
5
6INCLUDE giet_vsegs.ld
7
8/******************************************************************************/
9/* Grouping sections into virtual segments for system code and data           */
10/******************************************************************************/
11
12SECTIONS
13{
14    . = seg_kernel_code_base;
15    seg_kernel_code :
16    {
17        *(.giet)
18        *(.text)
19    }
20
21    . = seg_kernel_data_base;
22    seg_kernel_data :
23    {
24        *(.iommu)
25        *(.fatdata)
26        *(.descriptor)
27        *(.kdata)
28        *(.rodata)
29        *(.rodata.*)
30        *(.data)
31        *(.lit8)
32        *(.lit4)
33        *(.sdata)
34        *(.bss)
35        *(COMMON)
36        *(.sbss)
37        *(.scommon)
38    }
39
40    . = seg_kernel_uncdata_base;
41    seg_kernel_uncdata :
42    {
43        *(.unckdata)
44    }
45
46    . = seg_kernel_init_base;
47    seg_kernel_init :
48    {
49        *(.kinit)
50    }
51}
52
Note: See TracBrowser for help on using the repository browser.