forked from Imagelibrary/rtems
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:
@@ -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 =
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user