diff options
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 8 | ||||
-rw-r--r-- | cpukit/score/src/objectgetlocal.c | 4 | ||||
-rw-r--r-- | cpukit/score/src/objectgetnameasstring.c | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index 2d9c374db9..1129daf32f 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -630,8 +630,10 @@ Objects_Control *_Objects_Get_isr_disable( * * @param id The object identifier. This is the first parameter since usual * callers get the object identifier as the first parameter themself. + * @param lock_context The interrupt lock context. This is the second + * parameter since usual callers get the interrupt lock context as the second + * parameter themself. * @param information The object class information block. - * @param lock_context The interrupt lock context. * * @retval NULL No associated object exists. * @retval other The pointer to the associated object control block. @@ -640,8 +642,8 @@ Objects_Control *_Objects_Get_isr_disable( */ Objects_Control *_Objects_Get_local( Objects_Id id, - const Objects_Information *information, - ISR_lock_Context *lock_context + ISR_lock_Context *lock_context, + const Objects_Information *information ); /** diff --git a/cpukit/score/src/objectgetlocal.c b/cpukit/score/src/objectgetlocal.c index 1134095b27..2024b59bc0 100644 --- a/cpukit/score/src/objectgetlocal.c +++ b/cpukit/score/src/objectgetlocal.c @@ -27,8 +27,8 @@ Objects_Control *_Objects_Get_local( Objects_Id id, - const Objects_Information *information, - ISR_lock_Context *lock_context + ISR_lock_Context *lock_context, + const Objects_Information *information ) { uint32_t index; diff --git a/cpukit/score/src/objectgetnameasstring.c b/cpukit/score/src/objectgetnameasstring.c index d73d8aa212..f513774ddd 100644 --- a/cpukit/score/src/objectgetnameasstring.c +++ b/cpukit/score/src/objectgetnameasstring.c @@ -56,7 +56,7 @@ char *_Objects_Get_name_as_string( if ( !information ) return NULL; - the_object = _Objects_Get_local( tmpId, information, &lock_context ); + the_object = _Objects_Get_local( tmpId, &lock_context, information ); if ( the_object == NULL ) { return NULL; } |