2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.am, startup/linkcmds, startup/linkcmds.ram,
	startup/linkcmds.rom: Use top level shared bsp_get_work_area()
	implementation.
This commit is contained in:
Joel Sherrill
2008-09-16 20:13:17 +00:00
parent 179cdb74d6
commit 0682df5868
5 changed files with 17 additions and 11 deletions

View File

@@ -1,3 +1,9 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds.ram,
startup/linkcmds.rom: Use top level shared bsp_get_work_area()
implementation.
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use

View File

@@ -37,7 +37,7 @@ CLEANFILES = scitab.c
startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
../../shared/bsppost.c ../../shared/bsppredriverhook.c \
../shared/bspstart.c ../../shared/bsppretaskinghook.c \
../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
../shared/bsphwinit.c
scitab_SOURCES = scitab.c

View File

@@ -46,6 +46,7 @@ ENTRY(_start)
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
MEMORY
{
@@ -190,7 +191,7 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
_WorkSpaceStart = . ;
_WorkAreaBase = . ;
_CPU_Interrupt_stack_low = 0xFFFFF000;
_CPU_Interrupt_stack_high = 0xFFFFFFFF;

View File

@@ -44,6 +44,9 @@ OUTPUT_ARCH(sh)
ENTRY(_start)
/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
MEMORY
{
@@ -181,13 +184,8 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
_HeapStart = . ;
. = . + 1024 * 20 ;
PROVIDE( _HeapEnd = . );
_WorkSpaceStart = . ;
_WorkAreaBase = . ;
. = 0x00480000 ;
PROVIDE(_WorkSpaceEnd = .);
_CPU_Interrupt_stack_low = 0xFFFFF000;
_CPU_Interrupt_stack_high = 0xFFFFFFFF;

View File

@@ -44,6 +44,9 @@ OUTPUT_ARCH(sh)
ENTRY(_start)
/* These asignments represent actual SH7045F EVB architecture */
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00400000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x0008000;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
MEMORY
{
@@ -186,9 +189,7 @@ SECTIONS
. = . + 1024 * 20 ;
PROVIDE( _HeapEnd = . );
_WorkSpaceStart = . ;
. = 0x00480000 ;
PROVIDE(_WorkSpaceEnd = .);
_WorkAreaBase = . ;
_CPU_Interrupt_stack_low = 0xFFFFF000;
_CPU_Interrupt_stack_high = 0xFFFFFFFF;