1/*###ICF### Section handled by ICF editor, don't touch! ****/
2/*-Editor annotation file-*/
3/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
4/*-Specials-*/
5define symbol __ICFEDIT_intvec_start__ = 0x0;
6/*-Memory Regions-*/
7define symbol __ICFEDIT_region_ROM_start__   = 0x80;
8define symbol __ICFEDIT_region_ROM_end__     = 0x1FFFF;
9define symbol __ICFEDIT_region_RAM_start__   = 0x100000;
10define symbol __ICFEDIT_region_RAM_end__     = 0x1FFFFF;
11/*-Sizes-*/
12define symbol __ICFEDIT_size_cstack__   = 0x2000;
13define symbol __ICFEDIT_size_svcstack__ = 0x100;
14define symbol __ICFEDIT_size_irqstack__ = 0x100;
15define symbol __ICFEDIT_size_fiqstack__ = 0x100;
16define symbol __ICFEDIT_size_undstack__ = 0x100;
17define symbol __ICFEDIT_size_abtstack__ = 0x100;
18define symbol __ICFEDIT_size_heap__     = 0x8000;
19/**** End of ICF editor section. ###ICF###*/
20
21define symbol __ICFEDIT_size_freemem__     = 0x100000;
22
23
24define memory mem with size = 4G;
25define region ROM_region   = mem:[from __ICFEDIT_region_ROM_start__   to __ICFEDIT_region_ROM_end__];
26define region RAM_region   = mem:[from __ICFEDIT_region_RAM_start__   to __ICFEDIT_region_RAM_end__];
27define region RAM_freemem  = mem:[from 0x200000 to 0x300000];
28
29define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };
30define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
31define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
32define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
33define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
34define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
35define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };
36
37
38initialize by copy { readwrite };
39initialize by copy with packing = none { section __DLIB_PERTHREAD }; // Required in a multi-threaded application
40do not initialize  { section .noinit };
41
42place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
43
44place in ROM_region   { readonly };
45place in RAM_region   { readwrite,
46                        block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
47                        block UND_STACK, block ABT_STACK, block HEAP};
48
49place in RAM_region { last section FREE_MEM};