Changeset 45819022 in rtems for cpukit


Ignore:
Timestamp:
08/16/95 19:42:41 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
199fa36
Parents:
7285a016
Message:

bug fixes to make macro implementations work

Location:
cpukit
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/rtems/rtems/eventmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  eventmp.h,v 1.2 1995/05/31 16:46:25 joel Exp
    1515 */
    1616
     
    3535typedef enum {
    3636  EVENT_MP_SEND_REQUEST  =  0,
    37   EVENT_MP_SEND_RESPONSE =  1,
     37  EVENT_MP_SEND_RESPONSE =  1
    3838}   Event_MP_Remote_operations;
    3939
  • cpukit/rtems/include/rtems/rtems/partmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  partmp.h,v 1.2 1995/05/31 16:47:02 joel Exp
    1515 */
    1616
     
    4040  PARTITION_MP_GET_BUFFER_RESPONSE    =  4,
    4141  PARTITION_MP_RETURN_BUFFER_REQUEST  =  5,
    42   PARTITION_MP_RETURN_BUFFER_RESPONSE =  6,
     42  PARTITION_MP_RETURN_BUFFER_RESPONSE =  6
    4343}   Partition_MP_Remote_operations;
    4444
  • cpukit/rtems/include/rtems/rtems/regionmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  regionmp.h,v 1.2 1995/05/31 16:47:09 joel Exp
    1515 */
    1616
     
    4040  REGION_MP_GET_SEGMENT_RESPONSE    =  4,
    4141  REGION_MP_RETURN_SEGMENT_REQUEST  =  5,
    42   REGION_MP_RETURN_SEGMENT_RESPONSE =  6,
     42  REGION_MP_RETURN_SEGMENT_RESPONSE =  6
    4343}   Region_MP_Remote_operations;
    4444
  • cpukit/rtems/include/rtems/rtems/sem.h

    r7285a016 r45819022  
    2222 *  notice must appear in all copies of this file and its derivatives.
    2323 *
    24  *  $Id$
     24 *  sem.h,v 1.2 1995/05/31 16:47:13 joel Exp
    2525 */
    2626
  • cpukit/rtems/include/rtems/rtems/semmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  semmp.h,v 1.2 1995/05/31 16:47:15 joel Exp
    1515 */
    1616
     
    4141  SEMAPHORE_MP_OBTAIN_RESPONSE  =  4,
    4242  SEMAPHORE_MP_RELEASE_REQUEST  =  5,
    43   SEMAPHORE_MP_RELEASE_RESPONSE =  6,
     43  SEMAPHORE_MP_RELEASE_RESPONSE =  6
    4444}   Semaphore_MP_Remote_operations;
    4545
  • cpukit/rtems/include/rtems/rtems/signalmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  signalmp.h,v 1.2 1995/05/31 16:47:18 joel Exp
    1515 */
    1616
     
    3535typedef enum {
    3636  SIGNAL_MP_SEND_REQUEST  = 0,
    37   SIGNAL_MP_SEND_RESPONSE = 1,
     37  SIGNAL_MP_SEND_RESPONSE = 1
    3838}   Signal_MP_Remote_operations;
    3939
  • cpukit/rtems/include/rtems/rtems/taskmp.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  taskmp.h,v 1.2 1995/05/31 16:47:30 joel Exp
    1515 */
    1616
     
    4646  RTEMS_TASKS_MP_GET_NOTE_RESPONSE     =  9,
    4747  RTEMS_TASKS_MP_SET_NOTE_REQUEST      = 10,
    48   RTEMS_TASKS_MP_SET_NOTE_RESPONSE     = 11,
     48  RTEMS_TASKS_MP_SET_NOTE_RESPONSE     = 11
    4949}   RTEMS_tasks_MP_Remote_operations;
    5050
  • cpukit/score/include/rtems/score/tqdata.h

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  tqdata.h,v 1.2 1995/05/31 16:47:42 joel Exp
    1515 */
    1616
     
    3333typedef enum {
    3434  THREAD_QUEUE_DATA_FIFO_DISCIPLINE,     /* RTEMS_FIFO queue discipline */
    35   THREAD_QUEUE_DATA_PRIORITY_DISCIPLINE, /* RTEMS_PRIORITY queue discipline */
     35  THREAD_QUEUE_DATA_PRIORITY_DISCIPLINE  /* RTEMS_PRIORITY queue discipline */
    3636}   Thread_queue_Disciplines;
    3737
  • cpukit/score/include/rtems/score/wkspace.h

    r7285a016 r45819022  
    1313 *  notice must appear in all copies of this file and its derivatives.
    1414 *
    15  *  $Id$
     15 *  wkspace.h,v 1.2 1995/05/31 16:47:46 joel Exp
    1616 */
    1717
     
    7272 */
    7373
    74 STATIC INLINE void *_Workspace_Allocate_or_fatal_error(
     74void *_Workspace_Allocate_or_fatal_error(
    7575  unsigned32   size
    7676);
  • cpukit/score/inline/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:48:49 joel Exp
    1515 */
    1616
     
    7070/*PAGE
    7171 *
    72  *  _Workspace_Allocate_or_fatal_error
    73  *
    74  */
    75 
    76 STATIC INLINE void *_Workspace_Allocate_or_fatal_error(
    77   unsigned32   size
    78 )
    79 {
    80   void        *memory;
    81 
    82   memory = _Workspace_Allocate( size );
    83 
    84   if ( memory == NULL )
    85     rtems_fatal_error_occurred( RTEMS_UNSATISFIED );
    86 
    87   return memory;
    88 }
    89 
    90 /*PAGE
    91  *
    9272 *  _Workspace_Free
    9373 *
  • 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 *
  • cpukit/score/src/thread.c

    r7285a016 r45819022  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  $Id$
     13 *  thread.c,v 1.5 1995/07/31 22:22:38 joel Exp
    1414 */
    1515
     
    629629)
    630630{
    631   Thread_Control *the_thread;
    632   Objects_Locations      location;
     631  Thread_Control    *the_thread;
     632  Objects_Locations  location;
    633633
    634634  the_thread = _Thread_Get( id, &location );
     
    792792
    793793STATIC INLINE Thread_Control *_Thread_Get (
    794   Objects_Id  id,
    795   unsigned32 *location
     794  Objects_Id         id,
     795  Objects_Locations *location
    796796)
    797797{
  • cpukit/score/src/wkspace.c

    r7285a016 r45819022  
    22 *  Workspace Handler
    33 *
    4  *  JUNK
     4 *  XXX
    55 *
    66 *  NOTE:
    7  *
    8  *  This file only exists to contain the one function which cannot
    9  *  be written as a macro when "static inlines" are not used.
    107 *
    118 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
     
    1714 *  notice must appear in all copies of this file and its derivatives.
    1815 *
    19  *  $Id$
     16 *  wkspace.c,v 1.4 1995/05/25 15:26:53 joel Exp
    2017 */
    2118
     
    2320#include <rtems/wkspace.h>
    2421#include <rtems/fatal.h>
    25 
    26 #ifndef USE_INLINES
    2722
    2823/*PAGE
     
    4540  return memory;
    4641}
    47 
    48 #endif   /* USE_INLINES */
    49 
Note: See TracChangeset for help on using the changeset viewer.