Changeset 3891983 in rtems for cpukit/sapi


Ignore:
Timestamp:
Apr 3, 2014, 9:53:48 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
439c494
Parents:
e8fffc2d
git-author:
Sebastian Huber <sebastian.huber@…> (04/03/14 09:53:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/04/14 09:01:18)
Message:

score: Add and use Scheduler_EDF_Control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    re8fffc2d r3891983  
    771771   */
    772772  #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \
    773     _Configure_From_workspace(0))
     773    _Configure_From_workspace(sizeof(Scheduler_EDF_Control)))
    774774  #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER ( \
    775775    _Configure_From_workspace(sizeof(Scheduler_EDF_Per_thread)))
     
    795795   */
    796796  #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \
    797     _Configure_From_workspace((sizeof(Scheduler_CBS_Server) + \
    798         sizeof(Scheduler_CBS_Server*)) * CONFIGURE_CBS_MAXIMUM_SERVERS))
     797    _Configure_From_workspace(sizeof(Scheduler_EDF_Control)) + \
     798      _Configure_From_workspace(CONFIGURE_CBS_MAXIMUM_SERVERS * \
     799        sizeof(Scheduler_CBS_Server *)) + \
     800      CONFIGURE_CBS_MAXIMUM_SERVERS * \
     801        _Configure_From_workspace(sizeof(Scheduler_CBS_Server)))
    799802  #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER ( \
    800803    _Configure_From_workspace(sizeof(Scheduler_CBS_Per_thread)))
Note: See TracChangeset for help on using the changeset viewer.