mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 16:02:05 +08:00
2008-03-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Do not reserve 2 * minimum stack size for the ITRON initialization tasks ALL the time. Do not reserve memory for the object name table since it does not exist any longer. * sapi/include/rtems/sptables.h: Fix typo.
This commit is contained in:
@@ -949,6 +949,7 @@ itron_initialization_tasks_table ITRON_Initialization_tasks[] = {
|
||||
|
||||
#define CONFIGURE_ITRON_INIT_TASK_TABLE_NAME NULL
|
||||
#define CONFIGURE_ITRON_INIT_TASK_TABLE_SIZE 0
|
||||
#define CONFIGURE_ITRON_INIT_TASK_STACK_SIZE 0
|
||||
|
||||
#endif
|
||||
|
||||
@@ -985,10 +986,6 @@ itron_initialization_tasks_table ITRON_Initialization_tasks[] = {
|
||||
((_fixed_memory_pools) * \
|
||||
( sizeof(ITRON_Fixed_memory_pool_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
|
||||
|
||||
#ifndef CONFIGURE_ITRON_INIT_TASK_STACK_SIZE
|
||||
#define CONFIGURE_ITRON_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
|
||||
#endif
|
||||
|
||||
|
||||
#define CONFIGURE_MEMORY_FOR_ITRON \
|
||||
( \
|
||||
@@ -1033,7 +1030,7 @@ itron_initialization_tasks_table ITRON_Initialization_tasks[] = {
|
||||
#ifndef CONFIGURE_EXECUTIVE_RAM_SIZE
|
||||
|
||||
#define CONFIGURE_OBJECT_TABLE_STUFF \
|
||||
( sizeof(Objects_Control *) + sizeof(rtems_name *) + sizeof(rtems_name) )
|
||||
( sizeof(Objects_Control *) )
|
||||
|
||||
#if defined(RTEMS_NEWLIB)
|
||||
#include <reent.h>
|
||||
|
||||
@@ -59,7 +59,7 @@ extern "C" {
|
||||
1, /* maximum number nodes in system */
|
||||
0, /* maximum number global objects */
|
||||
0, /* maximum number proxies */
|
||||
RTEMS_MINIMUM_STACK_SIZE, /* MPCI receive server stack size */
|
||||
STACK_MINIMUM_SIZE, /* MPCI receive server stack size */
|
||||
NULL, /* pointer to MPCI address table */
|
||||
};
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user