diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 15:10:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:17:00 +0200 |
commit | e266d134ebf6f7b7722fffe23c3b4ad142001452 (patch) | |
tree | 7e43e93706be3da460331353b87e58cbb6a9833c /cpukit/rtems/include/rtems/rtems | |
parent | score: Rename _Objects_Get_local() (diff) | |
download | rtems-e266d134ebf6f7b7722fffe23c3b4ad142001452.tar.bz2 |
Replace *_Get_interrupt_disable() with *_Get()
Uniformly use *_Get() to get an object by identifier with a lock
context.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/messageimpl.h | 3 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/semimpl.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/messageimpl.h b/cpukit/rtems/include/rtems/rtems/messageimpl.h index 5a12b85846..199af1cacb 100644 --- a/cpukit/rtems/include/rtems/rtems/messageimpl.h +++ b/cpukit/rtems/include/rtems/rtems/messageimpl.h @@ -101,8 +101,7 @@ RTEMS_INLINE_ROUTINE void _Message_queue_Free ( _Objects_Free( &_Message_queue_Information, &the_message_queue->Object ); } -RTEMS_INLINE_ROUTINE Message_queue_Control * -_Message_queue_Get_interrupt_disable( +RTEMS_INLINE_ROUTINE Message_queue_Control * _Message_queue_Get( Objects_Id id, ISR_lock_Context *lock_context ) diff --git a/cpukit/rtems/include/rtems/rtems/semimpl.h b/cpukit/rtems/include/rtems/rtems/semimpl.h index 670b4809ed..ac55bc7354 100644 --- a/cpukit/rtems/include/rtems/rtems/semimpl.h +++ b/cpukit/rtems/include/rtems/rtems/semimpl.h @@ -134,7 +134,7 @@ RTEMS_INLINE_ROUTINE void _Semaphore_Free ( _Objects_Free( &_Semaphore_Information, &the_semaphore->Object ); } -RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get_interrupt_disable( +RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get( Objects_Id id, ISR_lock_Context *lock_context ) |