source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc55xx @ da890759

4.115
Last change on this file since da890759 was da890759, checked in by Sebastian Huber <sebastian.huber@…>, on 09/28/12 at 13:36:26

bsp/mpc55xx: Add custom work area init

  • Property mode set to 100644
File size: 656 bytes
Line 
1bsp_ram_start = ORIGIN (RAM);
2bsp_ram_size = LENGTH (RAM) + LENGTH (NOCACHE);
3bsp_ram_end = bsp_ram_start + bsp_ram_size;
4
5bsp_rom_start = ORIGIN (ROM);
6bsp_rom_size = LENGTH (ROM);
7bsp_rom_end = bsp_rom_start + bsp_rom_size;
8
9INCLUDE linkcmds.base
10
11SECTIONS {
12        .work_bonus : {
13                /*
14                 * This section will occupy the remaining RAM_EXT region and may
15                 * contain parts of the RTEMS work space and heap.
16                 */
17                bsp_section_work_bonus_begin = .;
18                . += ORIGIN (RAM_EXT) + LENGTH (RAM_EXT) - ABSOLUTE (.);
19                bsp_section_work_bonus_end = .;
20        } > RAM_EXT AT > RAM_EXT
21        bsp_section_work_bonus_size = bsp_section_work_bonus_end - bsp_section_work_bonus_begin;
22}
Note: See TracBrowser for help on using the repository browser.