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.ram | |
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.ram')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram index c710f2623a..ec711a932e 100644 --- a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram +++ b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.ram @@ -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; |