1 // eCos memory layout - Fri Oct 20 05:56:55 2000
3 // This is a generated file - do not edit
4 #if !defined(__LINKER_SCRIPT__) && !defined(__ASSEMBLER__)
5 #include <cyg/infra/cyg_type.h>
9 //#define REDBOOT_BOTTOM
11 #define REDBOOT_IMAGE_SIZE 0x00040000
12 #define REDBOOT_OFFSET 0x00100000
13 #define TX27_SDRAM_SIZE 0x04000000
16 #define CYGMEM_REGION_ram (0xA0000000 + REDBOOT_OFFSET)
17 #define CYGMEM_REGION_rom (0xA0000000)
19 #define CYGMEM_REGION_ram (0xA0000000)
20 #define CYGMEM_REGION_rom (CYGMEM_REGION_ram + CYGMEM_REGION_ram_SIZE - REDBOOT_OFFSET)
23 //#define CYGMEM_REGION_ram (0xA0000000)
24 #define CYGMEM_REGION_ram_SIZE (TX27_SDRAM_SIZE)
25 #define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
26 //#define CYGMEM_REGION_rom (0xA1F00000)
27 #define CYGMEM_REGION_rom_SIZE REDBOOT_OFFSET
28 #define CYGMEM_REGION_rom_ATTR (CYGMEM_REGION_ATTR_R)
29 #if !defined(__LINKER_SCRIPT__) && !defined(__ASSEMBLER__)
30 extern char CYG_LABEL_NAME (__heap1) [];
32 #define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
33 #define CYGMEM_SECTION_heap1_SIZE (CYGMEM_REGION_rom - (size_t) CYG_LABEL_NAME (__heap1))