source: rtems/c/src/lib/libbsp/arm/lpc32xx/startup/linkcmds.lpc32xx_mzx_stage_2 @ 598a4505

4.115
Last change on this file since 598a4505 was 598a4505, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 3, 2010 at 9:29:08 AM

2010-12-03 Sebastian Huber <sebastian.huber@…>

  • include/lpc32xx.h: Added I2S module.
  • Makefile.am, bsp_specs, preinstall.am, startup/bspstarthooks.c, startup/linkcmds.lpc32xx, startup/linkcmds.lpc32xx_mzx, startup/linkcmds.lpc32xx_mzx_stage_1, startup/linkcmds.lpc32xx_mzx_stage_2, startup/linkcmds.lpc32xx_phycore: Update due to linker command file changes.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc32xx_linker_mzx_stage_2
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup lpc32xx_linker_mzx_stage_2 MZX Stage-2 Program Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief MZX stage-2 program memory map.
15 *
16 * <table>
17 *   <tr><th>Region Name</th><th>Region Begin</th><th>Region Size</th></tr>
18 *   <tr><td>RAM_INT</td><td>0x08000000</td><td>256k</td></tr>
19 *   <tr><td>RAM_MMU</td><td>0x81c00000</td><td>16k</td></tr>
20 *   <tr><td>RAM_EXT</td><td>0x81c04000</td><td>4M - 16k</td></tr>
21 * </table>
22 *
23 * <table>
24 *   <tr><th>Section Name</th><th>Section Runtime Region</th><th>Section Load Region</th></tr>
25 *   <tr><td>.start</td><td>RAM_EXT</td><td></td></tr>
26 *   <tr><td>.vector</td><td>RAM_INT</td><td></td></tr>
27 *   <tr><td>.text</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
28 *   <tr><td>.rodata</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
29 *   <tr><td>.data</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
30 *   <tr><td>.fast</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
31 *   <tr><td>.bss</td><td>RAM_EXT</td><td></td></tr>
32 *   <tr><td>.work</td><td>RAM_EXT</td><td></td></tr>
33 *   <tr><td>.stack</td><td>RAM_INT</td><td></td></tr>
34 * </table>
35 */
36
37MEMORY {
38        RAM_INT : ORIGIN = 0x08000000, LENGTH = 256k
39        RAM_MMU : ORIGIN = 0x81c00000, LENGTH = 16k /* SDRAM on DYCS0 */
40        RAM_EXT : ORIGIN = 0x81c04000, LENGTH = 4M - 16k /* SDRAM on DYCS0 */
41        NIRVANA : ORIGIN = 0, LENGTH = 0
42}
43
44REGION_ALIAS ("REGION_START", RAM_EXT);
45REGION_ALIAS ("REGION_VECTOR", RAM_INT);
46REGION_ALIAS ("REGION_TEXT", RAM_EXT);
47REGION_ALIAS ("REGION_TEXT_LOAD", RAM_EXT);
48REGION_ALIAS ("REGION_RODATA", RAM_EXT);
49REGION_ALIAS ("REGION_RODATA_LOAD", RAM_EXT);
50REGION_ALIAS ("REGION_DATA", RAM_EXT);
51REGION_ALIAS ("REGION_DATA_LOAD", RAM_EXT);
52REGION_ALIAS ("REGION_FAST", RAM_EXT);
53REGION_ALIAS ("REGION_FAST_LOAD", RAM_EXT);
54REGION_ALIAS ("REGION_BSS", RAM_EXT);
55REGION_ALIAS ("REGION_WORK", RAM_EXT);
56REGION_ALIAS ("REGION_STACK", RAM_INT);
57
58bsp_stack_svc_size = DEFINED (bsp_stack_svc_size) ? bsp_stack_svc_size : 8192;
59
60INCLUDE linkcmds.lpc32xx
Note: See TracBrowser for help on using the repository browser.