mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
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:
1 parent
ba05e31c3c
commit
2e34f4ad4f
2 files changed
+5
-1
No files matched your search
@@ -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