diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 15:04:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:17:00 +0200 |
commit | 582bb23c74b0617c60d7986afa756c90c28df739 (patch) | |
tree | 465a707db8cdcdd7c951f90d59ae374dc3e94ab0 /cpukit/score | |
parent | score: Delete unused _Objects_Get_isr_disable() (diff) | |
download | rtems-582bb23c74b0617c60d7986afa756c90c28df739.tar.bz2 |
score: Rename _Objects_Get_local()
Rename _Objects_Get_local() into _Objects_Get(). Confusions with the
previous _Objects_Get() function are avoided since the Objects_Locations
parameter is gone.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 2 | ||||
-rw-r--r-- | cpukit/score/src/objectgetlocal.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/objectgetnameasstring.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/objectidtoname.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/threadget.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index 766080effb..f5beb3b971 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -549,7 +549,7 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( * Interrupts are now disabled and must be restored using the specified lock * context via _ISR_lock_ISR_enable() or _ISR_lock_Release_and_ISR_enable(). */ -Objects_Control *_Objects_Get_local( +Objects_Control *_Objects_Get( Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index ce31457c2a..66b655d62d 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -580,7 +580,7 @@ RTEMS_INLINE_ROUTINE Objects_Information *_Thread_Get_objects_information( /** * @brief Gets a thread by its identifier. * - * @see _Objects_Get_local(). + * @see _Objects_Get(). */ Thread_Control *_Thread_Get_interrupt_disable( Objects_Id id, diff --git a/cpukit/score/src/objectgetlocal.c b/cpukit/score/src/objectgetlocal.c index 2024b59bc0..a1a81db436 100644 --- a/cpukit/score/src/objectgetlocal.c +++ b/cpukit/score/src/objectgetlocal.c @@ -25,7 +25,7 @@ #include <rtems/score/objectimpl.h> -Objects_Control *_Objects_Get_local( +Objects_Control *_Objects_Get( Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information diff --git a/cpukit/score/src/objectgetnameasstring.c b/cpukit/score/src/objectgetnameasstring.c index f513774ddd..ca6e1f43ab 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, &lock_context, information ); + the_object = _Objects_Get( tmpId, &lock_context, information ); if ( the_object == NULL ) { return NULL; } diff --git a/cpukit/score/src/objectidtoname.c b/cpukit/score/src/objectidtoname.c index 115d0e99b6..aff3296738 100644 --- a/cpukit/score/src/objectidtoname.c +++ b/cpukit/score/src/objectidtoname.c @@ -45,7 +45,7 @@ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( return OBJECTS_INVALID_ID; #endif - the_object = _Objects_Get_local( + the_object = _Objects_Get( tmpId, &lock_context, information diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c index 194b68be87..61dce7d926 100644 --- a/cpukit/score/src/threadget.c +++ b/cpukit/score/src/threadget.c @@ -39,5 +39,5 @@ Thread_Control *_Thread_Get_interrupt_disable( } return (Thread_Control *) - _Objects_Get_local( id, lock_context, information ); + _Objects_Get( id, lock_context, information ); } |