Changeset 3df4d74 in rtems


Ignore:
Timestamp:
Dec 13, 2011, 2:37:03 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
eb9f72c
Parents:
03cc73a
Message:

2011-12-13 Sebastian Huber <sebastian.huber@…>

  • sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r03cc73a r3df4d74  
     12011-12-13      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * sapi/include/confdefs.h: Fixed workspace size estimate of tasks.
     4
    152011-12-13      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • cpukit/sapi/include/confdefs.h

    r03cc73a r3df4d74  
    18201820
    18211821#define CONFIGURE_MEMORY_FOR_TASKS(_tasks, _number_FP_tasks) \
    1822  ( \
    1823   _Configure_Object_RAM(_tasks, sizeof(Thread_Control)) + \
    1824   (_Configure_Max_Objects(_tasks) * \
    1825     (CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API + \
    1826     CONFIGURE_MEMORY_PER_TASK_FOR_NEWLIB + \
    1827     CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API + \
    1828     CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER))  + \
    1829   _Configure_From_workspace( \
    1830     _Configure_Max_Objects(_number_FP_tasks) * CONTEXT_FP_SIZE) + \
    1831   _Configure_From_workspace( \
    1832           (CONFIGURE_MAXIMUM_USER_EXTENSIONS + 1) * sizeof(void *)) \
    1833  )
     1822  ( \
     1823    _Configure_Object_RAM(_tasks, sizeof(Thread_Control)) \
     1824      + _Configure_Max_Objects(_tasks) \
     1825        * ( \
     1826            CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API \
     1827              + CONFIGURE_MEMORY_PER_TASK_FOR_NEWLIB \
     1828              + CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API \
     1829              + CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER \
     1830              + _Configure_From_workspace( \
     1831                (CONFIGURE_MAXIMUM_USER_EXTENSIONS + 1) * sizeof(void *) \
     1832              ) \
     1833          ) \
     1834      + _Configure_Max_Objects(_number_FP_tasks) \
     1835        * _Configure_From_workspace(CONTEXT_FP_SIZE) \
     1836        * (CONTEXT_FP_SIZE != 0) \
     1837  )
    18341838
    18351839/**
Note: See TracChangeset for help on using the changeset viewer.