diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-07 11:33:17 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-08 14:11:22 +0200 |
commit | 037cfd17b95a683f1d204209b5a2ec6ee342ef6d (patch) | |
tree | 89c0f5790cd54c6f5e408a2624bb2a94e5e642a3 /cpukit/score/include/rtems/score | |
parent | PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__ (diff) | |
download | rtems-037cfd17b95a683f1d204209b5a2ec6ee342ef6d.tar.bz2 |
score: Rename _Scheduler_priority_Release_job()
Rename _Scheduler_priority_Release_job() into
_Scheduler_default_Release_job().
Diffstat (limited to 'cpukit/score/include/rtems/score')
4 files changed, 14 insertions, 17 deletions
diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h index 2e5d779076..1b2ac8fff8 100644 --- a/cpukit/score/include/rtems/score/scheduler.h +++ b/cpukit/score/include/rtems/score/scheduler.h @@ -126,6 +126,17 @@ typedef struct { extern Scheduler_Control _Scheduler; /** + * @brief Does nothing. + * + * @param[in] thread Unused. + * @param[in] deadline Unused. + */ +void _Scheduler_default_Release_job( + Thread_Control *thread, + uint32_t deadline +); + +/** * @brief Performs tick operations depending on the CPU budget algorithm for * each executing thread. * diff --git a/cpukit/score/include/rtems/score/schedulerpriority.h b/cpukit/score/include/rtems/score/schedulerpriority.h index 862f9e1c7d..69649435bd 100644 --- a/cpukit/score/include/rtems/score/schedulerpriority.h +++ b/cpukit/score/include/rtems/score/schedulerpriority.h @@ -51,7 +51,7 @@ extern "C" { _Scheduler_priority_Enqueue_first, /* enqueue_first entry point */ \ _Scheduler_priority_Extract, /* extract entry point */ \ _Scheduler_priority_Priority_compare, /* compares two priorities */ \ - _Scheduler_priority_Release_job, /* new period of task */ \ + _Scheduler_default_Release_job, /* new period of task */ \ _Scheduler_default_Tick, /* tick entry point */ \ _Scheduler_default_Start_idle /* start idle entry point */ \ } @@ -211,20 +211,6 @@ int _Scheduler_priority_Priority_compare( Priority_Control p2 ); -/** - * @brief Called when a new job of task is released. - * - * This routine is called when a new job of task is released. - * - * @param[in] the_thread is the owner of the job. - * @param[in] deadline of the new job from now. If equal to 0, - * the job was cancelled or deleted. - */ -void _Scheduler_priority_Release_job ( - Thread_Control *the_thread, - uint32_t deadline -); - /**@}*/ #ifdef __cplusplus diff --git a/cpukit/score/include/rtems/score/schedulersimple.h b/cpukit/score/include/rtems/score/schedulersimple.h index ba67c14729..b4f7345e2c 100644 --- a/cpukit/score/include/rtems/score/schedulersimple.h +++ b/cpukit/score/include/rtems/score/schedulersimple.h @@ -49,7 +49,7 @@ extern "C" { _Scheduler_simple_Enqueue_first, /* enqueue_first entry point */ \ _Scheduler_simple_Extract, /* extract entry point */ \ _Scheduler_priority_Priority_compare, /* compares two priorities */ \ - _Scheduler_priority_Release_job, /* new period of task */ \ + _Scheduler_default_Release_job, /* new period of task */ \ _Scheduler_default_Tick, /* tick entry point */ \ _Scheduler_default_Start_idle /* start idle entry point */ \ } diff --git a/cpukit/score/include/rtems/score/schedulersimplesmp.h b/cpukit/score/include/rtems/score/schedulersimplesmp.h index 1c7e125479..c21b9d492e 100644 --- a/cpukit/score/include/rtems/score/schedulersimplesmp.h +++ b/cpukit/score/include/rtems/score/schedulersimplesmp.h @@ -71,7 +71,7 @@ typedef struct { _Scheduler_simple_smp_Enqueue_priority_lifo, \ _Scheduler_simple_smp_Extract, \ _Scheduler_priority_Priority_compare, \ - _Scheduler_priority_Release_job, \ + _Scheduler_default_Release_job, \ _Scheduler_default_Tick, \ _Scheduler_simple_smp_Start_idle \ } |