Now accounts for region used by RTEMS malloc and extension used

by newlib.
This commit is contained in:
Joel Sherrill
1998-04-14 20:54:26 +00:00
parent 7a75c323e4
commit 3b89891244
29 changed files with 48 additions and 412 deletions

View File

@@ -292,26 +292,12 @@ void bsp_start( void )
BSP_Configuration.work_space_start = work_space_start;
/*
* Add 1 region for RTEMS Malloc
*/
BSP_Configuration.RTEMS_api_configuration->maximum_regions++;
/*
* Account for the console's resources
*/
console_reserve_resources( &BSP_Configuration );
#ifdef RTEMS_NEWLIB
/*
* Add 1 extension for newlib libc
*/
BSP_Configuration.maximum_extensions++;
#endif
#ifdef STACK_CHECKER_ON
/*
* Add 1 extension for stack checker