Changeset c9fd602 in rtems for cpukit/score/macros


Ignore:
Timestamp:
Dec 1, 2000, 7:16:52 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
76c0bbbb
Parents:
7afbca0
Message:

2000-12-01 Joel Sherrill <joel@…>

  • macros/rtems/score/coresem.inl: Removed comments since convention calls for comments to be in inline versin.
  • macros/rtems/score/object.inl (Objects_Get_local_object): Fixed style to use _ prefix on variable names and use parentheses.
  • macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
Location:
cpukit/score/macros/rtems/score
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/macros/rtems/score/coresem.inl

    r7afbca0 rc9fd602  
    2828/*PAGE
    2929 *
    30  *  _Core_semaphore_Get_count
     30 *  _CORE_semaphore_Get_count
    3131 *
    3232 */
    3333 
    34 #define _Core_semaphore_Get_count( _the_semaphore ) \
     34#define _CORE_semaphore_Get_count( _the_semaphore ) \
    3535  ( (_the_semaphore)->count )
    3636
     
    3838 *
    3939 *  _CORE_semaphore_Seize_isr_disable
    40  *
    41  *  DESCRIPTION:
    42  *
    43  *  This routine attempts to receive a unit from the_semaphore.
    44  *  If a unit is available or if the wait flag is FALSE, then the routine
    45  *  returns.  Otherwise, the calling task is blocked until a unit becomes
    46  *  available.
    47  *
    48  *  NOTE: There is currently no MACRO version of this routine.
    4940 */
    5041
     
    7869}
    7970
    80 
    8171#endif
    8272/* end of include file */
  • cpukit/score/macros/rtems/score/object.inl

    r7afbca0 rc9fd602  
    9797 */
    9898
    99 #define _Objects_Get_local_object( information, index ) \
    100   ( ( index > information->maximum) ?  NULL : \
    101                        information->local_table[ index ] )
     99#define _Objects_Get_local_object( _information, _index ) \
     100  ( ( (_index) > (_information)->maximum) ?  NULL : \
     101                       (_information)->local_table[ (_index) ] )
    102102
    103103/*PAGE
     
    162162  }
    163163
     164/*PAGE
     165 *
     166 *  _Objects_Namespace_remove
     167 */
     168
     169#define _Objects_Namespace_remove( _information, _the_object ) \
     170  _Objects_Clear_name( (_the_object)->name, (_information)->name_length )
     171
    164172#endif
    165173/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.