source: rtems/c/src/lib/libbsp/arm/raspberrypi/startup/linkcmds @ c32b1ef

4.115
Last change on this file since c32b1ef was c32b1ef, checked in by Alan Cudmore <alan.cudmore@…>, on 03/23/13 at 18:13:07

bsp/raspberrypi: New BSP

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup raspberry_pi
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup raspberry_pi Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief Raspberry Pi memory map.
15 *
16 * <table>
17 *   <tr><th>Region Name</th><th>Region Begin</th><th>Region Size</th></tr>
18 * <tr><td>VECTOR_RAM</td><td>0x08000000</td><td>8k</td></tr>
19 * <tr><td>RAM</td><td>0x80008000</td><td>128M</td></tr>
20 * </table>
21 *
22 * <table>
23 *   <tr><th>Section Name</th><th>Section Runtime Region</th><th>Section Load Region</th></tr>
24 * <tr><td>.start</td><td>RAM</td><td></td></tr>
25 * <tr><td>.vector</td><td>VECTOR_RAM</td><td></td></tr>
26 * <tr><td>.text</td><td>RAM</td><td>RAM_EXT</td></tr>
27 * <tr><td>.rodata</td><td>RAM</td><td>RAM_EXT</td></tr>
28 * <tr><td>.data</td><td>RAM</td><td>RAM_EXT</td></tr>
29 * <tr><td>.fast</td><td>RAM</td><td>RAM_EXT</td></tr>
30 * <tr><td>.bss</td><td>RAM</td><td></td></tr>
31 * <tr><td>.work</td><td>RAM</td><td></td></tr>
32 * <tr><td>.stack</td><td>RAM</td><td></td></tr>
33 * </table>
34 */
35
36MEMORY {
37        VECTOR_RAM     (AIW) : ORIGIN = 0x0       , LENGTH = 0x8000
38        RAM            (AIW) : ORIGIN = 0x00008000, LENGTH = 128M - 0x8000
39}
40
41REGION_ALIAS ("REGION_START", RAM);
42REGION_ALIAS ("REGION_VECTOR", VECTOR_RAM);
43REGION_ALIAS ("REGION_TEXT", RAM);
44REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
45REGION_ALIAS ("REGION_RODATA", RAM);
46REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
47REGION_ALIAS ("REGION_DATA", RAM);
48REGION_ALIAS ("REGION_DATA_LOAD", RAM);
49REGION_ALIAS ("REGION_FAST_TEXT", RAM);
50REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
51REGION_ALIAS ("REGION_FAST_DATA", RAM);
52REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
53REGION_ALIAS ("REGION_BSS", RAM);
54REGION_ALIAS ("REGION_WORK", RAM);
55REGION_ALIAS ("REGION_STACK", RAM);
56
57bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 4096;
58bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
59
60bsp_section_robarrier_align = DEFINED (bsp_section_robarrier_align) ? bsp_section_robarrier_align : 1M;
61
62INCLUDE linkcmds.armv4
Note: See TracBrowser for help on using the repository browser.