diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-07 11:50:32 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-08 14:11:22 +0200 |
commit | 62d947d368e078dba583dfae8b26ae43f960a625 (patch) | |
tree | 2e215a1c4f20f6eece2e730f7e1050bf763dbf75 /cpukit/score/src/schedulerdefaultallocatefree.c | |
parent | score: Rename _Scheduler_priority_Release_job() (diff) | |
download | rtems-62d947d368e078dba583dfae8b26ae43f960a625.tar.bz2 |
score: Rename _Scheduler_simple_Allocate(), etc.
Rename _Scheduler_simple_Allocate() in _Scheduler_default_Allocate().
Rename _Scheduler_simple_Free() in _Scheduler_default_Free().
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; +} |