summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 20:13:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 20:13:24 +0000
commit8f402bf880f96b6b551b8d2a2040c989a435b29a (patch)
tree11f740e59a1d3f8465f391f5f2df8ee874514d63 /c/src/lib/libbsp
parent2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8f402bf880f96b6b551b8d2a2040c989a435b29a.tar.bz2
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds.sim: Use top level shared bsp_get_work_area() implementation.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/sh/shsim/ChangeLog5
-rw-r--r--c/src/lib/libbsp/sh/shsim/Makefile.am2
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/linkcmds3
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim11
4 files changed, 13 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/ChangeLog b/c/src/lib/libbsp/sh/shsim/ChangeLog
index e7b5893c4a..70c8cc1773 100644
--- a/c/src/lib/libbsp/sh/shsim/ChangeLog
+++ b/c/src/lib/libbsp/sh/shsim/ChangeLog
@@ -1,5 +1,10 @@
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * Makefile.am, startup/linkcmds, startup/linkcmds.sim: Use top level
+ shared bsp_get_work_area() implementation.
+
+2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* startup/bspstart.c: Removed.
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
diff --git a/c/src/lib/libbsp/sh/shsim/Makefile.am b/c/src/lib/libbsp/sh/shsim/Makefile.am
index 7b8312090b..3f0cfabd65 100644
--- a/c/src/lib/libbsp/sh/shsim/Makefile.am
+++ b/c/src/lib/libbsp/sh/shsim/Makefile.am
@@ -36,7 +36,7 @@ CLEANFILES = scitab.c
startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
../../shared/bsppredriverhook.c ../shared/bspstart.c \
- ../../shared/bsppretaskinghook.c ../shared/bspgetworkarea.c \
+ ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
clock_SOURCES = clock/clockdrv.c
diff --git a/c/src/lib/libbsp/sh/shsim/startup/linkcmds b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
index 318b29f772..353a8bafbf 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/linkcmds
+++ b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
@@ -24,6 +24,7 @@ ENTRY(_start)
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00040000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
+_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
MEMORY
{
@@ -177,7 +178,7 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
- _WorkSpaceStart = . ;
+ _WorkAreaBase = . ;
_CPU_Interrupt_stack_low = 0x00080000 ;
_CPU_Interrupt_stack_high = _CPU_Interrupt_stack_low + 4096 ;
diff --git a/c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim b/c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim
index 79eafc572f..5e7f7ec285 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim
+++ b/c/src/lib/libbsp/sh/shsim/startup/linkcmds.sim
@@ -22,6 +22,10 @@
OUTPUT_ARCH(sh)
ENTRY(_start)
+_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00040000;
+_RamSize = DEFINED(_RamSize) ? _RamSize : 256K;
+_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
+
MEMORY
{
rom : o = 0x00000000, l = 128k
@@ -168,13 +172,8 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
- _HeapStart = . ;
- . = . + 1024 * 20 ;
- PROVIDE( _HeapEnd = . );
-
- _WorkSpaceStart = . ;
+ _WorkAreaBase = . ;
. = 0x00080000 ;
- PROVIDE(_WorkSpaceEnd = .);
_CPU_Interrupt_stack_low = 0x00080000 ;
_CPU_Interrupt_stack_high = _CPU_Interrupt_stack_low + 4096 ;