summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:53:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:53:37 +0000
commit133fb0e5523fa0fde646b0135717c5fac914ef00 (patch)
treeae9c3e7c6f59c5fd766fa77e204f2d1673c99072 /c/src
parentModified calls to _Thread_Change_priority to take a third argument. The new (diff)
downloadrtems-133fb0e5523fa0fde646b0135717c5fac914ef00.tar.bz2
Larger Workspace when it is a POSIX API. Actually this is just to cover
the extra stack used when GNAT tasks are in the system. This needs to be cleaned up.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/startup/bspstart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
index 8a885e69de..9efc196c1b 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
+++ b/c/src/lib/libbsp/sparc/erc32/startup/bspstart.c
@@ -306,6 +306,10 @@ void bsp_start( void )
BSP_Configuration = Configuration;
+#if defined(RTEMS_POSIX_API)
+ BSP_Configuration.work_space_size *= 3;
+#endif
+
work_space_start =
(unsigned char *)rdb_start - BSP_Configuration.work_space_size;