diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 11:53:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:16:59 +0200 |
commit | 956b8e5047e8736257df80bbb39648b9872ecdbf (patch) | |
tree | 578cd0512af40f1020ea5bc22a61ce52e0a50517 /cpukit/score/include/rtems/score/objectmp.h | |
parent | posix: Add const to _POSIX_Keys_Key_value_find() (diff) | |
download | rtems-956b8e5047e8736257df80bbb39648b9872ecdbf.tar.bz2 |
mpci: Simplify _Objects_MP_Is_remote()
Diffstat (limited to 'cpukit/score/include/rtems/score/objectmp.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectmp.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/objectmp.h b/cpukit/score/include/rtems/score/objectmp.h index 4f73012a04..5c9f4f74e3 100644 --- a/cpukit/score/include/rtems/score/objectmp.h +++ b/cpukit/score/include/rtems/score/objectmp.h @@ -144,19 +144,19 @@ Objects_Name_or_id_lookup_errors _Objects_MP_Global_name_search ( ); /** - * @brief Searches the Global Object Table managed - * by information for the object indicated by ID. + * @brief Returns true, if the object identifier is in the global object + * identifier cache of the specified object information, otherwise false. * - * @param[in] information points to the object information table for this - * object class. - * @param[in] the_id is the Id of the object being opened. + * @param id The object identifier. + * @param information The object information. * - * @retval OBJECTS_REMOTE A remote objects with this object identifier exits. - * @retval OBJECTS_ERROR Otherwise. + * @retval true A remote objects with this object identifier exits in the + * global object identifier cache of the specified information. + * @retval false Otherwise. */ -Objects_Locations _Objects_MP_Is_remote( - Objects_Information *information, - Objects_Id the_id +bool _Objects_MP_Is_remote( + Objects_Id id, + const Objects_Information *information ); /** |