Changeset 1ccbd63a in rtems


Ignore:
Timestamp:
Jan 7, 2008, 3:29:14 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
580004a2
Parents:
52e70cf
Message:

2008-01-07 Joel Sherrill <joel.sherrill@…>

  • score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r52e70cf r1ccbd63a  
     12008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
     4
    152008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/score/inline/rtems/score/object.inl

    r52e70cf r1ccbd63a  
    101101}
    102102
     103/**
     104 *  This function returns TRUE if the api is valid.
     105 *
     106 *  @param[in] the_api is the api portion of an object ID.
     107 *
     108 *  @return This method returns TRUE if the specified api value is valid
     109 *          and FALSE otherwise.
     110 */
     111RTEMS_INLINE_ROUTINE boolean _Objects_Is_api_valid(
     112  uint32_t   the_api
     113)
     114{
     115  if ( !the_api || the_api > OBJECTS_APIS_LAST )
     116   return FALSE;
     117  return TRUE;
     118}
     119   
    103120/**
    104121 *  This function returns TRUE if the class is valid.
Note: See TracChangeset for help on using the changeset viewer.