Changeset 45819022 in rtems for cpukit/score/macros


Ignore:
Timestamp:
Aug 16, 1995, 7:42:41 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
199fa36
Parents:
7285a016
Message:

bug fixes to make macro implementations work

Location:
cpukit/score/macros/rtems/score
Files:
6 edited

Legend:

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

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  chain.inl,v 1.2 1995/05/31 16:48:59 joel Exp
    1515 */
    1616
     
    146146#define _Chain_Get_unprotected( _the_chain ) \
    147147  (( !_Chain_Is_empty( (_the_chain) ) ) \
    148     ? _Chain_Get_unprotected( (_the_chain) ) \
     148    ? _Chain_Get_first_unprotected( (_the_chain) ) \
    149149    : NULL)
    150150
  • cpukit/score/macros/rtems/score/heap.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  heap.inl,v 1.2 1995/05/31 16:49:10 joel Exp
    1515 */
    1616
     
    4545      (void *)(_the_block), \
    4646      (_the_block)->back_flag & ~ HEAP_BLOCK_USED \
     47    ) \
    4748  )
    4849
     
    5657      (void *)(_the_block), \
    5758      (_the_block)->front_flag & ~ HEAP_BLOCK_USED \
     59    ) \
    5860  )
    5961
  • cpukit/score/macros/rtems/score/object.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  object.inl,v 1.2 1995/05/31 16:49:20 joel Exp
    1515 */
    1616
     
    3939    (*(_c4) = ((_name)) & 0xff; \
    4040  }
    41 );
    4241
    4342/*PAGE
  • cpukit/score/macros/rtems/score/priority.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  priority.inl,v 1.2 1995/05/31 16:49:27 joel Exp
    1515 */
    1616
     
    140140#define _Priority_Is_group_empty ( _the_priority ) \
    141141  ( (_the_priority) == 0 )
    142 }
     142
    143143#endif
    144144/* end of include file */
  • cpukit/score/macros/rtems/score/sysstate.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  sysstate.inl,v 1.2 1995/05/31 16:49:39 joel Exp
    1515 */
    1616
     
    3131 */
    3232
    33 #define _System_state_Get( void ) \
     33#define _System_state_Get() \
    3434  (_System_state_Current)
    3535
  • cpukit/score/macros/rtems/score/wkspace.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  wkspace.inl,v 1.2 1995/05/31 16:49:53 joel Exp
    1515 */
    1616
     
    6767/*PAGE
    6868 *
    69  *  _Workspace_Allocate_or_fatal_error
    70  *
    71  *  NOTE:  XXX FIX ME
    72  *
    73  *  When not using static inlines, this should really be a function
    74  *  somewhere.
    75  */
    76 
    77 static inline void _Workspace_Allocate_or_fatal_error(
    78   unsigned32   size
    79 )
    80 {
    81   void        *memory;
    82 
    83   memory = _Workspace_Allocate( size );
    84 
    85   if ( memory == NULL )
    86     rtems_fatal_error_occurred( RTEMS_UNSATISFIED );
    87 
    88   return memory;
    89 }
    90 
    91 /*PAGE
    92  *
    9369 *  _Workspace_Free
    9470 *
Note: See TracChangeset for help on using the changeset viewer.