diff options
Diffstat (limited to 'cpukit/score/src/schedulerdefaultallocatefree.c')
-rw-r--r-- | cpukit/score/src/schedulerdefaultallocatefree.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cpukit/score/src/schedulerdefaultallocatefree.c b/cpukit/score/src/schedulerdefaultallocatefree.c new file mode 100644 index 0000000000..37f0981038 --- /dev/null +++ b/cpukit/score/src/schedulerdefaultallocatefree.c @@ -0,0 +1,38 @@ +/** + * @file + * + * @brief Scheduler Default Allocate and Release Operation + * + * @ingroup ScoreScheduler + */ + +/* + * COPYRIGHT (c) 2011. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/score/scheduler.h> + +void *_Scheduler_default_Allocate( + Thread_Control *thread +) +{ + ( void ) thread; + + return ( void * )-1; /* maybe pick an appropriate poison value */ +} + +void _Scheduler_default_Free( + Thread_Control *thread +) +{ + ( void ) thread; +} |