diff options
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spinternalerror01/init.c | 6 | ||||
-rw-r--r-- | testsuites/sptests/spsize/size.c | 10 |
2 files changed, 5 insertions, 11 deletions
diff --git a/testsuites/sptests/spinternalerror01/init.c b/testsuites/sptests/spinternalerror01/init.c index 15a23159a9..a1ddc14eae 100644 --- a/testsuites/sptests/spinternalerror01/init.c +++ b/testsuites/sptests/spinternalerror01/init.c @@ -70,11 +70,11 @@ static void *idle_body(uintptr_t ignored) #define CONFIGURE_DISABLE_NEWLIB_REENTRANCY -#define CONFIGURE_SCHEDULER_ENTRY_POINTS NULL - #define CONFIGURE_SCHEDULER_USER -#define CONFIGURE_MEMORY_FOR_SCHEDULER 0 +#define CONFIGURE_SCHEDULER_CONTEXT + +#define CONFIGURE_SCHEDULER_CONTROLS { } #define CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER 0 diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index a6e6047d9d..dc1e55b10d 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -84,9 +84,6 @@ void print_formula(void); #include <rtems/score/prioritybitmapimpl.h> #include <rtems/score/schedulerpriority.h> -/* Priority scheduling uninitialized (globals) consumption */ -#define SCHEDULER_OVHD (sizeof _Scheduler) - /* Priority scheduling per-thread consumption. Gets * included in the PER_TASK consumption. */ @@ -94,11 +91,10 @@ void print_formula(void); /* Priority scheduling workspace consumption * - * Include allocation of ready queue. Pointers are already counted by - * including _Scheduler in SCHEDULER_OVHD. + * Include allocation of ready queue. */ #define SCHEDULER_WKSP_SIZE \ - (sizeof(Scheduler_priority_Control) + \ + (sizeof(Scheduler_priority_Context) + \ RTEMS_MAXIMUM_PRIORITY * sizeof(Chain_Control )) /****** END OF MEMORY USAGE OF DEFAULT PRIORITY SCHEDULER ******/ @@ -352,8 +348,6 @@ uninitialized = /*rtems.h*/ /* Not applicable */ -/*scheduler.h*/ SCHEDULER_OVHD + - /*semimpl.h*/ (sizeof _Semaphore_Information) + #if defined(RTEMS_MULTIPROCESSING) |