diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:17 +0000 |
commit | 0682df5868fe5cee545d04acbe418a0bd64fca7f (patch) | |
tree | 115d81cb78bf7122811c926220f6ae7c8c801382 /c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-0682df5868fe5cee545d04acbe418a0bd64fca7f.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom index e59598dbf9..1bf5be7120 100644 --- a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom +++ b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom @@ -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; |