Changeset 5bbc204 in rtems
- Timestamp:
- Mar 16, 2011, 4:33:04 PM (9 years ago)
- Branches:
- 4.11, master
- Children:
- 18b8ac71
- Parents:
- 0118ed6
- Location:
- testsuites/sptests
- Files:
-
- 15 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/ChangeLog
r0118ed6 r5bbc204 1 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com> 2 3 PR 1743/cpu 4 * Makefile.am, configure.ac, spsize/size.c: Add Simple Priority 5 Scheduler as complement to existing Deterministic Priority Scheduler. 6 This scheduler serves both as an example and as a lighter weight 7 implementation for smaller systems. 8 * spsimplesched01/.cvsignore, spsimplesched01/Makefile.am, 9 spsimplesched01/init.c, spsimplesched01/spsimplesched01.doc, 10 spsimplesched01/spsimplesched01.scn, spsimplesched02/.cvsignore, 11 spsimplesched02/Makefile.am, spsimplesched02/init.c, 12 spsimplesched02/spsimplesched02.doc, 13 spsimplesched02/spsimplesched02.scn, spsimplesched03/.cvsignore, 14 spsimplesched03/Makefile.am, spsimplesched03/init.c, 15 spsimplesched03/spsimplesched03.doc, 16 spsimplesched03/spsimplesched03.scn: New files. 17 1 18 2011-03-11 Joel Sherrill <joel.sherrilL@OARcorp.com> 2 19 -
testsuites/sptests/Makefile.am
r0118ed6 r5bbc204 29 29 spintrcritical09 spintrcritical10 spintrcritical11 spintrcritical12 \ 30 30 spintrcritical13 spintrcritical14 spintrcritical15 spintrcritical16 \ 31 spintrcritical17 spmkdir spmountmgr01 spheapprot 31 spintrcritical17 spmkdir spmountmgr01 spheapprot \ 32 spsimplesched01 spsimplesched02 spsimplesched03 32 33 33 34 DIST_SUBDIRS = $(SUBDIRS) spfatal_support spintrcritical_support -
testsuites/sptests/configure.ac
r0118ed6 r5bbc204 161 161 spprintk/Makefile 162 162 spprivenv01/Makefile 163 spsimplesched01/Makefile 164 spsimplesched02/Makefile 165 spsimplesched03/Makefile 163 166 spsize/Makefile 164 167 spstkalloc/Makefile -
testsuites/sptests/spsize/size.c
r0118ed6 r5bbc204 73 73 #define NAME_PTR_SIZE 8 /* size of name and pointer table entries */ 74 74 75 #if CONFIGURE_SCHEDULER_POLICY == _Scheduler_PRIORITY 76 #include <rtems/score/prioritybitmap.h> 77 78 /* Priority scheduling uninitialized (globals) consumption */ 79 #define SCHEDULER_OVHD ((sizeof _Scheduler) + \ 80 (sizeof _Priority_Major_bit_map) + \ 81 (sizeof _Priority_Bit_map)) 82 83 /* Priority scheduling per-thread consumption. Gets 84 * included in the PER_TASK consumption. */ 85 #define SCHEDULER_TASK_WKSP (sizeof(Scheduler_priority_Per_thread)) 86 87 /* Priority scheduling workspace consumption 88 * 89 * Include allocation of ready queue. Pointers are already counted by 90 * including _Scheduler in SCHEDULER_OVHD. 91 */ 92 #define SCHEDULER_WKSP_SIZE \ 75 /* 76 * This assumes the default Priority Scheduler 77 */ 78 #include <rtems/score/prioritybitmap.h> 79 #include <rtems/score/schedulerpriority.h> 80 81 /* Priority scheduling uninitialized (globals) consumption */ 82 #define SCHEDULER_OVHD ((sizeof _Scheduler) + \ 83 (sizeof _Priority_Major_bit_map) + \ 84 (sizeof _Priority_Bit_map)) 85 86 /* Priority scheduling per-thread consumption. Gets 87 * included in the PER_TASK consumption. 88 */ 89 #define SCHEDULER_TASK_WKSP (sizeof(Scheduler_priority_Per_thread)) 90 91 /* Priority scheduling workspace consumption 92 * 93 * Include allocation of ready queue. Pointers are already counted by 94 * including _Scheduler in SCHEDULER_OVHD. 95 */ 96 #define SCHEDULER_WKSP_SIZE \ 93 97 ((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control )) 94 #endif 98 /****** END OF MEMORY USAGE OF DEFAULT PRIORITY SCHEDULER ******/ 95 99 96 100 #define PER_TASK \
Note: See TracChangeset
for help on using the changeset viewer.