diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 14:14:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:40 +0200 |
commit | 88575577fa70f6a6c6800acb35e77e0ca12891b8 (patch) | |
tree | 75fe037f5bbf74bb7e50972f126a8c06cb58ce5c /cpukit/score/include/rtems/score/objectimpl.h | |
parent | score: Optimize _Objects_Get_no_protection() (diff) | |
download | rtems-88575577fa70f6a6c6800acb35e77e0ca12891b8.tar.bz2 |
score: Optimize _Objects_Get_local()
Make the id the first parameter since usual callers get the object
identifier as the first parameter themself.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index fb45977c1d..776c871e18 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -629,9 +629,10 @@ Objects_Control *_Objects_Get_isr_disable( * an associated object exists, then interrupts remain disabled, otherwise the * previous interrupt state is restored. * + * @param id The object identifier. This is the first parameter since usual + * callers get the object identifier as the first parameter themself. * @param information The object class information block. - * @param[in] id The object identifier. - * @param[in] lock_context The interrupt lock context. + * @param lock_context The interrupt lock context. * * @retval NULL No associated object exists. * @retval other The pointer to the associated object control block. @@ -639,8 +640,8 @@ Objects_Control *_Objects_Get_isr_disable( * context via _ISR_lock_ISR_enable() or _ISR_lock_Release_and_ISR_enable(). */ Objects_Control *_Objects_Get_local( - const Objects_Information *information, Objects_Id id, + const Objects_Information *information, ISR_lock_Context *lock_context ); |