diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-30 11:43:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-30 11:43:19 +0000 |
commit | 2e34f4ad4fe88b5bb2c88639fff4174fd962bcc2 (patch) | |
tree | 9b29dc27f0a33aa4a52602f5042dcf2aeaf4316a | |
parent | Added wildcard to switch for monitor and termios. (diff) | |
download | rtems-2e34f4ad4fe88b5bb2c88639fff4174fd962bcc2.tar.bz2 |
Removed tripling of workspace API when POSIX API is enabled. confdefs.h
is now correct enough where this is not necessary. This was in to
cover up the deficiencies in figuring out how much memory a GNAT/RTEMS
application required. There is a good stab at this now.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/bspstart.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c index 983919a20c..d898fd00d8 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c @@ -210,11 +210,13 @@ void bsp_start( void ) Cpu_table.exceptions_in_RAM = TRUE; +/* #if defined(RTEMS_POSIX_API) BSP_Configuration.work_space_size *= 3; #endif +*/ - BSP_Configuration.work_space_size += 32 * 1024; + BSP_Configuration.work_space_size += 1024; #if 0 work_space_start = diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c index e660e64d25..0219dfeccc 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c +++ b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c @@ -213,9 +213,11 @@ void bsp_start( void ) Cpu_table.interrupt_stack_size = (24 * 1024); +/* #if defined(RTEMS_POSIX_API) BSP_Configuration.work_space_size *= 3; #endif +*/ work_space_start = (unsigned char *)rdb_start - BSP_Configuration.work_space_size; |