1 /*###ICF### Section handled by ICF editor, don't touch! ****/
\r
2 /*-Editor annotation file-*/
\r
3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
\r
5 define symbol __ICFEDIT_intvec_start__ = 0x20020000;
\r
7 define symbol __ICFEDIT_region_ROM_start__ = 0x0;
\r
8 define symbol __ICFEDIT_region_ROM_end__ = 0x0;
\r
9 define symbol __ICFEDIT_region_RAM_start__ = 0x20020040;
\r
10 define symbol __ICFEDIT_region_RAM_end__ = 0x209FFFFF;
\r
12 define symbol __ICFEDIT_size_cstack__ = 0x800;
\r
13 define symbol __ICFEDIT_size_svcstack__ = 0x800;
\r
14 define symbol __ICFEDIT_size_irqstack__ = 0x800;
\r
15 define symbol __ICFEDIT_size_fiqstack__ = 0x40;
\r
16 define symbol __ICFEDIT_size_undstack__ = 0x40;
\r
17 define symbol __ICFEDIT_size_abtstack__ = 0x40;
\r
18 define symbol __ICFEDIT_size_heap__ = 0x8;
\r
19 /**** End of ICF editor section. ###ICF###*/
\r
21 define symbol __ICFEDIT_region_RetRAM_start__ = 0x20000000;
\r
22 define symbol __ICFEDIT_region_RetRAM_end__ = 0x2001FFFF;
\r
24 define symbol __ICFEDIT_region_MirrorRAM_start__ = 0x60020000;
\r
25 define symbol __ICFEDIT_region_MirrorRAM_end__ = 0x609FFFFF;
\r
27 define symbol __ICFEDIT_region_MirrorRetRAM_start__ = 0x60000000;
\r
28 define symbol __ICFEDIT_region_MirrorRetRAM_end__ = 0x6001FFFF;
\r
30 define memory mem with size = 4G;
\r
32 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
\r
33 define region RetRAM_region = mem:[from __ICFEDIT_region_RetRAM_start__ to __ICFEDIT_region_RetRAM_end__];
\r
34 define region MirrorRAM_region = mem:[from __ICFEDIT_region_MirrorRAM_start__ to __ICFEDIT_region_MirrorRAM_end__];
\r
35 define region MirrorRetRAM_region = mem:[from __ICFEDIT_region_MirrorRetRAM_start__ to __ICFEDIT_region_MirrorRetRAM_end__];
\r
37 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
\r
38 define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
\r
39 define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
\r
40 define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
\r
41 define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
\r
42 define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
\r
43 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
\r
45 initialize by copy { readwrite };
\r
46 do not initialize { section .noinit };
\r
47 do not initialize { section MMU_TT };
\r
49 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
\r
51 place in RAM_region { readonly };
\r
52 place in RAM_region { readwrite,
\r
53 block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
\r
54 block UND_STACK, block ABT_STACK, block HEAP };
\r
56 place in RetRAM_region { section .retram };
\r
57 place in MirrorRAM_region { section .mirrorram };
\r
58 place in MirrorRetRAM_region { section .mirrorretram };