summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-22 12:32:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-22 12:32:34 +0000
commit178592c2683c320d893a571291e8db426416783e (patch)
tree887438e9eb91eb573d627f0861f6227f19f4a75b
parent33b52ecca5a11ae9bf250f6b32a11127302a46bf (diff)
downloadrtems-178592c2683c320d893a571291e8db426416783e.tar.bz2
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/bspstart.c: Per PR252 removed hack that tripled size of RTEMS Workspace when POSIX is configured. This was probably done to account for confdefs.h missing some application requirements.
-rw-r--r--c/src/lib/libbsp/i386/i386ex/ChangeLog6
-rw-r--r--c/src/lib/libbsp/i386/i386ex/startup/bspstart.c12
2 files changed, 10 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/ChangeLog b/c/src/lib/libbsp/i386/i386ex/ChangeLog
index 39165e3ec7..17b72564a7 100644
--- a/c/src/lib/libbsp/i386/i386ex/ChangeLog
+++ b/c/src/lib/libbsp/i386/i386ex/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * startup/bspstart.c: Per PR252 removed hack that tripled size of
+ RTEMS Workspace when POSIX is configured. This was probably done to
+ account for confdefs.h missing some application requirements.
+
2002-07-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* start/Makefile.am: Eliminate PGM.
diff --git a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
index c963e762c8..0dd13cea79 100644
--- a/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
+++ b/c/src/lib/libbsp/i386/i386ex/startup/bspstart.c
@@ -93,8 +93,8 @@ void bsp_pretasking_hook(void)
void bsp_start( void )
{
- /*
- * we do not use the pretasking_hook.
+ /*
+ * we do not use the pretasking_hook.
*/
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
@@ -104,13 +104,9 @@ void bsp_start( void )
/* changed Sept 14 STACK_MINIMUM_SIZE */
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
-#if defined(RTEMS_POSIX_API)
- BSP_Configuration.work_space_size *= 3;
-#endif
-
- BSP_Configuration.work_space_start = (void *)
+ BSP_Configuration.work_space_start = (void *)
RAM_END - BSP_Configuration.work_space_size;
-#ifdef DEBUG
+#ifdef DEBUG
printk("workspace size = 0x%x\nstart = 0x%x, RAM_END = 0x%x\n",BSP_Configuration.work_space_size, BSP_Configuration.work_space_start, RAM_END );
#endif