1
0

beaglebone_ram.icf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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-*/
  5. define symbol __ICFEDIT_intvec_start__ = 0x80200000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_ROM_start__ = 0x80200000;
  8. define symbol __ICFEDIT_region_ROM_end__ = 0x87FFFFFF;
  9. define symbol __ICFEDIT_region_RAM_start__ = 0x88000000;
  10. define symbol __ICFEDIT_region_RAM_end__ = 0x8FFFFFFF;
  11. /*-Sizes-*/
  12. define symbol __ICFEDIT_size_cstack__ = 0x100;
  13. define symbol __ICFEDIT_size_svcstack__ = 0x1000;
  14. define symbol __ICFEDIT_size_irqstack__ = 0x100;
  15. define symbol __ICFEDIT_size_fiqstack__ = 0x100;
  16. define symbol __ICFEDIT_size_undstack__ = 0x100;
  17. define symbol __ICFEDIT_size_abtstack__ = 0x100;
  18. define symbol __ICFEDIT_size_heap__ = 0x400;
  19. /**** End of ICF editor section. ###ICF###*/
  20. define memory mem with size = 4G;
  21. define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
  22. define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
  23. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  24. define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
  25. define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
  26. define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
  27. define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
  28. define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
  29. define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
  30. define block RTT_INIT_FUNC with fixed order { readonly section .rti_fn* };
  31. initialize by copy { readwrite };
  32. do not initialize { section .noinit };
  33. keep { section FSymTab };
  34. keep { section VSymTab };
  35. keep { section .rti_fn* };
  36. place at address mem :__ICFEDIT_intvec_start__ {readonly section .intvec};
  37. place in ROM_region { readonly, block RTT_INIT_FUNC };
  38. place in RAM_region { readwrite,
  39. block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
  40. block UND_STACK, block ABT_STACK, block HEAP };