diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-18 20:43:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-18 20:43:07 +0000 |
commit | 17d9f5f9fabf9ffde87c0d1d3993e29e721efad1 (patch) | |
tree | d858ed3e25c23a9b8df0623095e05b20f6c815c4 /c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds | |
parent | 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-17d9f5f9fabf9ffde87c0d1d3993e29e721efad1.tar.bz2 |
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Use
top level shared bsp_get_work_area() implementation.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds b/c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds index fd7521bc86..093be01330 100644 --- a/c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds +++ b/c/src/lib/libbsp/i386/ts_386ex/startup/linkcmds @@ -19,7 +19,11 @@ * 0x0100000 -> 0x0200000 : bss section, stack space, heap storage */ - ENTRY(_init_i386ex) ; +RamBase = DEFINED(RamBase) ? RamBase : 0x00100000; +RamSize = DEFINED(RamSize) ? RamSize : 512K; +HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; + +ENTRY(_init_i386ex); SECTIONS { @@ -169,6 +173,8 @@ SECTIONS stack_size = 0x8000 ; stack_origin = _ebss + stack_size ; heap_bottom = stack_origin + 4 ; + . = ALIGN(0x10); + WorkAreaBase = .; |