source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.xkt564levb @ 13a8b19

4.11
Last change on this file since 13a8b19 was a762dc2, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 23, 2012 at 10:19:22 AM

Support for MPC5643L.

Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1MEMORY {
2        ROM : ORIGIN = 0x0, LENGTH = 1M
3        RAM_0 : ORIGIN = 0x40000000, LENGTH = 64K
4        RAM_1 : ORIGIN = 0x50000000, LENGTH = 64K
5        NIRVANA : ORIGIN = 0x0, LENGTH = 0
6}
7
8bsp_ram_start = ORIGIN (RAM_0);
9bsp_ram_size = LENGTH (RAM_0);
10bsp_ram_end = bsp_ram_start + bsp_ram_size;
11
12bsp_ram_1_start = ORIGIN (RAM_1);
13bsp_ram_1_size = LENGTH (RAM_1);
14bsp_ram_1_end = bsp_ram_1_start + bsp_ram_1_size;
15
16bsp_rom_start = ORIGIN (ROM);
17bsp_rom_size = LENGTH (ROM);
18bsp_rom_end = bsp_rom_start + bsp_rom_size;
19
20REGION_ALIAS ("REGION_START", ROM);
21REGION_ALIAS ("REGION_FAST_TEXT", RAM_0);
22REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ROM);
23REGION_ALIAS ("REGION_TEXT", ROM);
24REGION_ALIAS ("REGION_TEXT_LOAD", ROM);
25REGION_ALIAS ("REGION_RODATA", ROM);
26REGION_ALIAS ("REGION_RODATA_LOAD", ROM);
27REGION_ALIAS ("REGION_FAST_DATA", RAM_0);
28REGION_ALIAS ("REGION_FAST_DATA_LOAD", ROM);
29REGION_ALIAS ("REGION_DATA", RAM_0);
30REGION_ALIAS ("REGION_DATA_LOAD", ROM);
31REGION_ALIAS ("REGION_BSS", RAM_0);
32REGION_ALIAS ("REGION_RWEXTRA", RAM_0);
33REGION_ALIAS ("REGION_WORK", RAM_1);
34REGION_ALIAS ("REGION_STACK", RAM_1);
35
36INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.