summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-07 10:19:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-07 15:19:20 +0100
commitb59675438e6305dda5325ea1f9eb515d902888e9 (patch)
treee74e529c9c89479c2274675135d740bb65140eca
parentlibtests/devfs03: Initialize nodes (diff)
downloadrtems-b59675438e6305dda5325ea1f9eb515d902888e9.tar.bz2
sapi: Fix user scheduler configuration
The comment in confdefs.h shows how to do it: An application can define its own scheduling policy by defining CONFIGURE_SCHEDULER_USER and the following: - CONFIGURE_SCHEDULER_ENTRY_POINTS - CONFIGURE_MEMORY_FOR_SCHEDULER - base memory - CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER - per task memory
-rw-r--r--cpukit/sapi/include/confdefs.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 00ba59b681..e154a7a377 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -594,11 +594,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
*/
#include <rtems/score/scheduler.h>
-#if defined(CONFIGURE_SCHEDULER_USER) && \
- !defined(CONFIGURE_SCHEDULER_USER_ENTRY_POINTS)
- #error "CONFIGURE_ERROR: CONFIGURE_SCHEDULER_USER requires CONFIGURE_SCHEDULER_USER_ENTRY_POINTS"
-#endif
-
#if !defined(RTEMS_SMP)
#undef CONFIGURE_SCHEDULER_SIMPLE_SMP
#endif
@@ -710,14 +705,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
_Configure_From_workspace(sizeof(Scheduler_CBS_Per_thread)))
#endif
-#if defined(CONFIGURE_SCHEDULER_USER)
- #define CONFIGURE_SCHEDULER_ENTRY_POINTS \
- CONFIGURE_SCHEDULER_USER_ENTRY_POINTS
-
- #define CONFIGURE_SCHEDULER_MEMORY_FOR_SCHEDULER \
- CONFIGURE_SCHEDULER_USER_MEMORY_FOR_SCHEDULER
-#endif
-
/*
* Set up the scheduler entry points table. The scheduling code uses
* this code to know which scheduler is configured by the user.