summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:01:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 19:01:46 +0000
commit71c00c5663cc68b2c8aa4678b84518ebd85b0ef8 (patch)
treeab6db58c07dfe4a43c3161fa015710e2604d4e81 /c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds
parent2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-71c00c5663cc68b2c8aa4678b84518ebd85b0ef8.tar.bz2
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/clock.c, startup/bspstart.c, startup/linkcmds: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds12
1 files changed, 5 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds b/c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds
index 02e4f5eb17..2526b64663 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds
+++ b/c/src/lib/libbsp/c4x/c4xsim/startup/linkcmds
@@ -1,9 +1,10 @@
/* OUTPUT_FORMAT("coff-c4x") */
- __SYSMEM_SIZE = DEFINED(__SYSMEM_SIZE) ? __SYSMEM_SIZE : 0x4000;
__STACK_SIZE = DEFINED(__STACK_SIZE) ? __STACK_SIZE : 0x1000;
- __HeapSize = DEFINED(__HeapSize) ? __HeapSize : 0x10000;
- __WorkspaceMax = DEFINED(__WorkspaceMax) ? __WorkspaceMax : 256K;
__ClockFrequency = DEFINED(_ClockFrequency) ? _ClockFrequency : 50;
+
+_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
+_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
+
ENTRY(_start)
SECTIONS
{
@@ -64,10 +65,7 @@ SECTIONS
}
.heap :
{
- __HeapStart = .;
- . += __HeapSize;
- __WorkspaceBase = .;
- . += __WorkspaceMax;
+ _WorkspaceBase = .;
}
/*
.sysmem :