OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ARM9_AT91SAM9XE_IAR/] [ewp/] [sdram.icf] - Blame information for rev 577

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 577 jeremybenn
/*###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
/*-Memory Regions-*/
5
define symbol __ICFEDIT_region_SDRAM_start__ = 0x20000000;
6
define symbol __ICFEDIT_region_SDRAM_end__   = 0x21FFFFFF;
7
define symbol __ICFEDIT_region_RAM_start__   = 0x300000;
8
define symbol __ICFEDIT_region_RAM_end__     = 0x307FFF;
9
/*-Sizes-*/
10
define symbol __ICFEDIT_size_startup__  = 0x100;
11
define symbol __ICFEDIT_size_vectors__  = 0x100;
12
define symbol __ICFEDIT_size_cstack__   = 0x1000;
13
define symbol __ICFEDIT_size_svcstack__ = 0x60;
14
define symbol __ICFEDIT_size_irqstack__ = 0x60;
15
define symbol __ICFEDIT_size_heap__     = 0x10000;
16
/*-Exports-*/
17
export symbol __ICFEDIT_region_SDRAM_start__;
18
export symbol __ICFEDIT_region_SDRAM_end__;
19
export symbol __ICFEDIT_region_RAM_start__;
20
export symbol __ICFEDIT_region_RAM_end__;
21
export symbol __ICFEDIT_size_startup__;
22
export symbol __ICFEDIT_size_vectors__;
23
export symbol __ICFEDIT_size_cstack__;
24
export symbol __ICFEDIT_size_svcstack__;
25
export symbol __ICFEDIT_size_irqstack__;
26
export symbol __ICFEDIT_size_heap__;
27
/**** End of ICF editor section. ###ICF###*/
28
 
29
define memory mem with size = 4G;
30
define region STA_region =   mem:[from __ICFEDIT_region_SDRAM_start__ size __ICFEDIT_size_startup__];
31
define region SDRAM_region = mem:[from __ICFEDIT_region_SDRAM_start__+__ICFEDIT_size_startup__ to __ICFEDIT_region_SDRAM_end__];
32
define region VEC_region =   mem:[from __ICFEDIT_region_RAM_start__ size __ICFEDIT_size_vectors__];
33
define region RAM_region =   mem:[from __ICFEDIT_region_RAM_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM_end__];
34
 
35
define block CSTACK    with alignment = 8, size = __ICFEDIT_size_cstack__   { };
36
define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
37
define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
38
define block HEAP      with alignment = 8, size = __ICFEDIT_size_heap__     { };
39
 
40
initialize by copy { section .vectors };
41
do not initialize  { section .noinit };
42
 
43
place in STA_region { section .cstartup };
44
place in VEC_region { section .vectors };
45
place in SDRAM_region { readonly, readwrite, block IRQ_STACK, block SVC_STACK, block CSTACK, block HEAP };
46
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.