forked from Imagelibrary/rtems
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds.flash: Use top level shared bsp_get_work_area() implementation.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* Makefile.am, startup/linkcmds, startup/linkcmds.flash: Use top level
|
||||||
|
shared bsp_get_work_area() implementation.
|
||||||
|
|
||||||
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac, start/start.S, startup/linkcmds: Add use
|
* Makefile.am, configure.ac, start/start.S, startup/linkcmds: Add use
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
|
|||||||
startup/linkcmds.flash
|
startup/linkcmds.flash
|
||||||
|
|
||||||
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
|
||||||
../../shared/bsppredriverhook.c ../../m68k/shared/m68kbspgetworkarea.c \
|
../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
|
||||||
../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
|
../../shared/bsppost.c ../../shared/bsppretaskinghook.c \
|
||||||
../../shared/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
|
../../shared/bspstart.c startup/init5206e.c ../../shared/bootcard.c \
|
||||||
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
../../shared/sbrk.c ../../m68k/shared/setvec.c \
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ _SYS_CLOCK_FREQUENCY = DEFINED(_SYS_CLOCK_FREQUENCY) ?
|
|||||||
* A heap size of 0 means "Use all available memory for the heap".
|
* A heap size of 0 means "Use all available memory for the heap".
|
||||||
* Initial stack located in on-chip SRAM and not declared there.
|
* Initial stack located in on-chip SRAM and not declared there.
|
||||||
*/
|
*/
|
||||||
_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;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the memory map of the MCF5206eLITE evaluation board
|
* Setup the memory map of the MCF5206eLITE evaluation board
|
||||||
@@ -67,8 +67,8 @@ SECTIONS
|
|||||||
* Dynamic RAM
|
* Dynamic RAM
|
||||||
*/
|
*/
|
||||||
ram : {
|
ram : {
|
||||||
_RamBase = .;
|
RamBase = .;
|
||||||
__RamBase = .;
|
RamBase = .;
|
||||||
/* Reserve space for interrupt table */
|
/* Reserve space for interrupt table */
|
||||||
. += 0x400;
|
. += 0x400;
|
||||||
} >ram
|
} >ram
|
||||||
@@ -167,8 +167,8 @@ SECTIONS
|
|||||||
|
|
||||||
clear_end = .;
|
clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
__WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
|
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
* A heap size of 0 means "Use all available memory for the heap".
|
* A heap size of 0 means "Use all available memory for the heap".
|
||||||
* Initial stack located in on-chip SRAM and not declared there.
|
* Initial stack located in on-chip SRAM and not declared there.
|
||||||
*/
|
*/
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Declare system clock frequency.
|
* Declare system clock frequency.
|
||||||
@@ -69,8 +69,8 @@ SECTIONS
|
|||||||
* Dynamic RAM
|
* Dynamic RAM
|
||||||
*/
|
*/
|
||||||
ram : {
|
ram : {
|
||||||
_RamBase = .;
|
RamBase = .;
|
||||||
__RamBase = .;
|
RamBase = .;
|
||||||
} >ram
|
} >ram
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -167,8 +167,8 @@ SECTIONS
|
|||||||
|
|
||||||
clear_end = .;
|
clear_end = .;
|
||||||
|
|
||||||
_WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
__WorkspaceBase = .;
|
WorkAreaBase = .;
|
||||||
|
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user