forked from Imagelibrary/rtems
@@ -359,6 +359,7 @@ SECTIONS {
|
|||||||
/* FIXME */
|
/* FIXME */
|
||||||
RamBase = ORIGIN (REGION_WORK);
|
RamBase = ORIGIN (REGION_WORK);
|
||||||
RamSize = LENGTH (REGION_WORK);
|
RamSize = LENGTH (REGION_WORK);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ STARTUP(start.o)
|
|||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x04000000;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x04000000;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ _RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
|||||||
along with banks for io and flash, so waste some RAM at the end
|
along with banks for io and flash, so waste some RAM at the end
|
||||||
to free up mmu entries. */
|
to free up mmu entries. */
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x03400000;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x03400000;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ STARTUP(start.o)
|
|||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -367,6 +367,7 @@ SECTIONS {
|
|||||||
|
|
||||||
RamBase = ORIGIN (REGION_WORK);
|
RamBase = ORIGIN (REGION_WORK);
|
||||||
RamSize = LENGTH (REGION_WORK);
|
RamSize = LENGTH (REGION_WORK);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ STARTUP(start.o)
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x08000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x08000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ STARTUP(start.o)
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 128M;
|
RamSize = DEFINED(RamSize) ? RamSize : 128M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 92M;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 92M;
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_VBR = 0x0;
|
_VBR = 0x0;
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_VBR = 0x0;
|
_VBR = 0x0;
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_VBR = 0x0;
|
_VBR = 0x0;
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x00100000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00100000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 31M;
|
RamSize = DEFINED(RamSize) ? RamSize : 31M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
/* This is needed for _CPU_ISR_install_vector -
|
/* This is needed for _CPU_ISR_install_vector -
|
||||||
* WARNING: it MUST match BSP_RAMBAR !!!!!!!!!!! */
|
* WARNING: it MUST match BSP_RAMBAR !!!!!!!!!!! */
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x10000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x10000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
RamSize = DEFINED(RamSize) ? RamSize : 64M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ _SYS_CLOCK_FREQUENCY = DEFINED(_SYS_CLOCK_FREQUENCY) ?
|
|||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x30000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x30000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 0x00100000;
|
RamSize = DEFINED(RamSize) ? RamSize : 0x00100000;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the memory map of the MCF5206eLITE evaluation board
|
* Setup the memory map of the MCF5206eLITE evaluation board
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x20000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x20000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 32K;
|
RamSize = DEFINED(RamSize) ? RamSize : 32K;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x20000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x20000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 64K;
|
RamSize = DEFINED(RamSize) ? RamSize : 64K;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ MCF5235_BSP_START_FROM_FLASH = 0;
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ MCF5235_BSP_START_FROM_FLASH = 1;
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ MCF5235_BSP_START_FROM_FLASH = 0;
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ _CoreSRamSize = DEFINED(RamSize) ? RamSize : 32K;
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
_BootFlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
_BootFlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
||||||
_BootFlashSize = DEFINED(_FlashBase) ? _FlashBase : 2M;
|
_BootFlashSize = DEFINED(_FlashBase) ? _FlashBase : 2M;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ _CoreSRamSize = DEFINED(RamSize) ? RamSize : 32K;
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x40000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
RamSize = DEFINED(RamSize) ? RamSize : 32M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
_BootFlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
_BootFlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
|
||||||
_BootFlashSize = DEFINED(_FlashBase) ? _FlashBase : 2M;
|
_BootFlashSize = DEFINED(_FlashBase) ? _FlashBase : 2M;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ __DYNAMIC = 0;
|
|||||||
RomBase = DEFINED(RomBase) ? RomBase : 0x90000;
|
RomBase = DEFINED(RomBase) ? RomBase : 0x90000;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x03000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x03000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 0x7d000;
|
RamSize = DEFINED(RamSize) ? RamSize : 0x7d000;
|
||||||
_RamEnd = RamBase + RamSize;
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 1M;
|
RamSize = DEFINED(RamSize) ? RamSize : 1M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x00800000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00800000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -267,6 +267,7 @@ SECTIONS {
|
|||||||
/* FIXME */
|
/* FIXME */
|
||||||
RamBase = ORIGIN (REGION_DATA);
|
RamBase = ORIGIN (REGION_DATA);
|
||||||
RamSize = LENGTH (REGION_DATA);
|
RamSize = LENGTH (REGION_DATA);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
|
||||||
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x10000000;
|
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x10000000;
|
||||||
_FlashSize = DEFINED(_FlashSize) ? _FlashSize : 4M ;
|
_FlashSize = DEFINED(_FlashSize) ? _FlashSize : 4M ;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ _sdram_size = DEFINED(_sdram_size) ? _sdram_size : 12M;
|
|||||||
/* standard items provided by RTEMS linkcmds files */
|
/* standard items provided by RTEMS linkcmds files */
|
||||||
RamBase = _sdram_base;
|
RamBase = _sdram_base;
|
||||||
RamSize = _sdram_size;
|
RamSize = _sdram_size;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(start)
|
ENTRY(start)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x88000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x88000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 128M;
|
RamSize = DEFINED(RamSize) ? RamSize : 128M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(start)
|
ENTRY(start)
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x80000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
ENTRY(start)
|
ENTRY(start)
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
RamSize = DEFINED(RamSize) ? RamSize : 16M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ DO NOT MODIFY THIS FILE
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x00000000;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 0x00800000;
|
RamSize = DEFINED(RamSize) ? RamSize : 0x00800000;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -310,6 +310,7 @@ SECTIONS {
|
|||||||
|
|
||||||
RamBase = ORIGIN (REGION_WORK);
|
RamBase = ORIGIN (REGION_WORK);
|
||||||
RamSize = LENGTH (REGION_WORK);
|
RamSize = LENGTH (REGION_WORK);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ bsp_section_align = 32;
|
|||||||
|
|
||||||
RamBase = bsp_ram_start;
|
RamBase = bsp_ram_start;
|
||||||
RamSize = bsp_ram_size;
|
RamSize = bsp_ram_size;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ EXTERN(__vectors)
|
|||||||
|
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 256M;
|
RamSize = DEFINED(RamSize) ? RamSize : 256M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ EXTERN(__vectors)
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamDiskSize : 0x0800000; /* 8M program ram */
|
RamSize = DEFINED(RamSize) ? RamDiskSize : 0x0800000; /* 8M program ram */
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
RamDiskBase = DEFINED(RamDiskBase) ? RamDiskBase : 0x0800000;
|
RamDiskBase = DEFINED(RamDiskBase) ? RamDiskBase : 0x0800000;
|
||||||
RamDiskSize = DEFINED(RamDiskSize) ? RamDiskSize : 0x0800000; /* 8M ram disk */
|
RamDiskSize = DEFINED(RamDiskSize) ? RamDiskSize : 0x0800000; /* 8M ram disk */
|
||||||
|
|||||||
@@ -396,6 +396,7 @@ SECTIONS {
|
|||||||
/* FIXME */
|
/* FIXME */
|
||||||
RamBase = ORIGIN (REGION_WORK);
|
RamBase = ORIGIN (REGION_WORK);
|
||||||
RamSize = LENGTH (REGION_WORK);
|
RamSize = LENGTH (REGION_WORK);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ ext_ram_size = 0x00080000; /* size of external RAM */
|
|||||||
|
|
||||||
RamBase = DEFINED(_RamBase) ? RamBase : 0x003F9800;
|
RamBase = DEFINED(_RamBase) ? RamBase : 0x003F9800;
|
||||||
RamSize = DEFINED(_RamSize) ? RamSize : 0x00486800;
|
RamSize = DEFINED(_RamSize) ? RamSize : 0x00486800;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(_HeapSize) ? HeapSize : 0x0;
|
HeapSize = DEFINED(_HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ EXTERN(__vectors)
|
|||||||
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 128M - MsgAreaSize;
|
RamSize = DEFINED(RamSize) ? RamSize : 128M - MsgAreaSize;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ EXTERN(__vectors)
|
|||||||
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M;
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 2048M - MsgAreaSize;
|
RamSize = DEFINED(RamSize) ? RamSize : 2048M - MsgAreaSize;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -328,6 +328,7 @@ SECTIONS {
|
|||||||
/* FIXME */
|
/* FIXME */
|
||||||
RamBase = ORIGIN (REGION_WORK);
|
RamBase = ORIGIN (REGION_WORK);
|
||||||
RamSize = LENGTH (REGION_WORK);
|
RamSize = LENGTH (REGION_WORK);
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
WorkAreaBase = bsp_section_work_begin;
|
WorkAreaBase = bsp_section_work_begin;
|
||||||
HeapSize = 0;
|
HeapSize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0a040000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0a040000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ STARTUP(start.o)
|
|||||||
/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
|
/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ STARTUP(start.o)
|
|||||||
/* These asignments represent actual SH7045F EVB architecture */
|
/* These asignments represent actual SH7045F EVB architecture */
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00400000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00400000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x0008000;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x0008000;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 8M;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ STARTUP(start.o)
|
|||||||
|
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
|
||||||
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
RamSize = DEFINED(RamSize) ? RamSize : 4M;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
|
||||||
|
|
||||||
RAM_END = RamBase + RamSize;
|
RAM_END = RamBase + RamSize;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x100000; /* RAM starts at 1MB */
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x100000; /* RAM starts at 1MB */
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x100000; /* default is 1MB */
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x100000; /* default is 1MB */
|
||||||
|
_RamEnd = _RamBase + _RamSize;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||||
|
|
||||||
/* Default linker script, for normal executables */
|
/* Default linker script, for normal executables */
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ RamBase = DEFINED(RamBase) ? RamBase :
|
|||||||
*/
|
*/
|
||||||
RamSize = DEFINED(RamSize) ? RamSize :
|
RamSize = DEFINED(RamSize) ? RamSize :
|
||||||
DEFINED(_RamSize) ? _RamSize : 0x40000000;
|
DEFINED(_RamSize) ? _RamSize : 0x40000000;
|
||||||
|
RamEnd = RamBase + RamSize;
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user