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.
This commit is contained in:
Joel Sherrill
1998-04-30 11:43:19 +00:00
parent ba05e31c3c
commit 2e34f4ad4f
2 changed files with 5 additions and 1 deletions

View File

@@ -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 =

View File

@@ -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;