Changeset 494c2e3 in rtems for cpukit/sapi
- Timestamp:
- 04/01/14 09:48:59 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 1a6093d
- Parents:
- f570b071
- git-author:
- Sebastian Huber <sebastian.huber@…> (04/01/14 09:48:59)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (04/03/14 09:13:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/include/confdefs.h
rf570b071 r494c2e3 677 677 #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \ 678 678 _Configure_From_workspace( \ 679 ((CONFIGURE_MAXIMUM_PRIORITY+1) * sizeof(Chain_Control)) ) \ 680 ) 681 #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER ( \ 682 _Configure_From_workspace(sizeof(Scheduler_priority_Per_thread)) ) 683 #endif 684 685 /* 686 * If the Deterministic Priority SMP Scheduler is selected, then configure for 687 * it. 688 */ 689 #if defined(CONFIGURE_SCHEDULER_PRIORITY_SMP) 690 #include <rtems/score/schedulerprioritysmp.h> 691 #define CONFIGURE_SCHEDULER_ENTRY_POINTS SCHEDULER_PRIORITY_SMP_ENTRY_POINTS 692 693 /** 694 * This defines the memory used by the priority scheduler. 695 */ 696 #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \ 697 _Configure_From_workspace( \ 698 sizeof(Scheduler_SMP_Control) + \ 679 sizeof(Scheduler_priority_Control) + \ 699 680 ((CONFIGURE_MAXIMUM_PRIORITY) * sizeof(Chain_Control)) ) \ 700 681 ) … … 704 685 705 686 /* 687 * If the Deterministic Priority SMP Scheduler is selected, then configure for 688 * it. 689 */ 690 #if defined(CONFIGURE_SCHEDULER_PRIORITY_SMP) 691 #include <rtems/score/schedulerprioritysmp.h> 692 #define CONFIGURE_SCHEDULER_ENTRY_POINTS SCHEDULER_PRIORITY_SMP_ENTRY_POINTS 693 694 /** 695 * This defines the memory used by the priority scheduler. 696 */ 697 #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \ 698 _Configure_From_workspace( \ 699 sizeof(Scheduler_priority_SMP_Control) + \ 700 ((CONFIGURE_MAXIMUM_PRIORITY) * sizeof(Chain_Control)) ) \ 701 ) 702 #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER ( \ 703 _Configure_From_workspace(sizeof(Scheduler_priority_Per_thread)) ) 704 #endif 705 706 /* 706 707 * If the Simple Priority Scheduler is selected, then configure for it. 707 708 */ … … 732 733 */ 733 734 #define CONFIGURE_MEMORY_FOR_SCHEDULER ( \ 734 _Configure_From_workspace( sizeof( Scheduler_ SMP_Control ) ) \735 _Configure_From_workspace( sizeof( Scheduler_simple_SMP_Control ) ) \ 735 736 ) 736 737 #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER (0)
Note: See TracChangeset
for help on using the changeset viewer.