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/include/rtems/score/schedulersimple.h | |
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/include/rtems/score/schedulersimple.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersimple.h | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersimple.h b/cpukit/score/include/rtems/score/schedulersimple.h index b4f7345e2c..97c9e84f7f 100644 --- a/cpukit/score/include/rtems/score/schedulersimple.h +++ b/cpukit/score/include/rtems/score/schedulersimple.h @@ -42,8 +42,8 @@ extern "C" { _Scheduler_simple_Yield, /* yield entry point */ \ _Scheduler_simple_Block, /* block entry point */ \ _Scheduler_simple_Unblock, /* unblock entry point */ \ - _Scheduler_simple_Allocate, /* allocate entry point */ \ - _Scheduler_simple_Free, /* free entry point */ \ + _Scheduler_default_Allocate, /* allocate entry point */ \ + _Scheduler_default_Free, /* free entry point */ \ _Scheduler_simple_Update, /* update entry point */ \ _Scheduler_simple_Enqueue, /* enqueue entry point */ \ _Scheduler_simple_Enqueue_first, /* enqueue_first entry point */ \ @@ -150,23 +150,6 @@ void _Scheduler_simple_Enqueue_first( ); /** - * @brief Return empty placeholder for the simple scheduler. - * - * This routine is a place holder for any memeory allocation needed - * by the scheduler. For the simple scheduler the routine is an empty - * place holder. - * - * @param[in] the_thread is the thread the scheduler is allocating - * management memory for - * - * @retval this routine returns -1 since this is just an empty placeholder - * and the return value may be defined differently by each scheduler. - */ -void *_Scheduler_simple_Allocate( - Thread_Control *the_thread -); - -/** * @brief Stub for simple schedule update. * * This routine does nothing, and is used as a stub for Schedule update @@ -179,18 +162,6 @@ void _Scheduler_simple_Update( ); /** - * @brief Stub for simple schedule free. - * - * This routine does nothing, and is used as a stub for Schedule free - * The overhead of a function call will still be imposed. - * - * @param[in] the_thread is the thread to be blocked - */ -void _Scheduler_simple_Free( - Thread_Control *the_thread -); - -/** * _Scheduler_simple_Ready_queue_enqueue * * This routine puts @a the_thread on the ready queue |