Changeset 5d3e539 in rtems


Ignore:
Timestamp:
Jan 17, 1996, 8:11:33 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
217e398
Parents:
b9be5d03
Message:

added class to initial id macro

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/headers/rtems.h

    rb9be5d03 r5d3e539  
    6666 */
    6767 
    68 #define RTEMS_OBJECT_ID_INITIAL_INDEX   OBJECTS_ID_INITIAL_INDEX
    69 #define RTEMS_OBJECT_ID_FINAL_INDEX     OBJECTS_ID_FINAL_INDEX
     68#define RTEMS_OBJECT_ID_INITIAL_INDEX        OBJECTS_ID_INITIAL_INDEX
     69#define RTEMS_OBJECT_ID_FINAL_INDEX          OBJECTS_ID_FINAL_INDEX
    7070 
    71 #define RTEMS_OBJECT_ID_INITIAL(node)   OBJECTS_ID_INITIAL(node)
    72 #define RTEMS_OBJECT_ID_FINAL           OBJECTS_ID_FINAL
     71#define RTEMS_OBJECT_ID_INITIAL(class, node) OBJECTS_ID_INITIAL(class, node)
     72#define RTEMS_OBJECT_ID_FINAL                OBJECTS_ID_FINAL
    7373 
    7474/*
  • c/src/exec/rtems/include/rtems.h

    rb9be5d03 r5d3e539  
    6666 */
    6767 
    68 #define RTEMS_OBJECT_ID_INITIAL_INDEX   OBJECTS_ID_INITIAL_INDEX
    69 #define RTEMS_OBJECT_ID_FINAL_INDEX     OBJECTS_ID_FINAL_INDEX
     68#define RTEMS_OBJECT_ID_INITIAL_INDEX        OBJECTS_ID_INITIAL_INDEX
     69#define RTEMS_OBJECT_ID_FINAL_INDEX          OBJECTS_ID_FINAL_INDEX
    7070 
    71 #define RTEMS_OBJECT_ID_INITIAL(node)   OBJECTS_ID_INITIAL(node)
    72 #define RTEMS_OBJECT_ID_FINAL           OBJECTS_ID_FINAL
     71#define RTEMS_OBJECT_ID_INITIAL(class, node) OBJECTS_ID_INITIAL(class, node)
     72#define RTEMS_OBJECT_ID_FINAL                OBJECTS_ID_FINAL
    7373 
    7474/*
  • c/src/exec/score/headers/object.h

    rb9be5d03 r5d3e539  
    188188#define OBJECTS_ID_FINAL_INDEX     (0xffff)
    189189
    190 #define OBJECTS_ID_INITIAL(node)   (_Objects_Build_id(      \
    191                                       OBJECTS_NO_CLASS, \
    192                                       node, \
    193                                       OBJECTS_ID_INITIAL_INDEX))
     190#define OBJECTS_ID_INITIAL(_class, _node) \
     191  _Objects_Build_id( (_class), (_node), OBJECTS_ID_INITIAL_INDEX )
     192
    194193#define OBJECTS_ID_FINAL           ((Objects_Id)~0)
    195194
  • c/src/exec/score/include/rtems/score/object.h

    rb9be5d03 r5d3e539  
    188188#define OBJECTS_ID_FINAL_INDEX     (0xffff)
    189189
    190 #define OBJECTS_ID_INITIAL(node)   (_Objects_Build_id(      \
    191                                       OBJECTS_NO_CLASS, \
    192                                       node, \
    193                                       OBJECTS_ID_INITIAL_INDEX))
     190#define OBJECTS_ID_INITIAL(_class, _node) \
     191  _Objects_Build_id( (_class), (_node), OBJECTS_ID_INITIAL_INDEX )
     192
    194193#define OBJECTS_ID_FINAL           ((Objects_Id)~0)
    195194
  • cpukit/rtems/include/rtems.h

    rb9be5d03 r5d3e539  
    6666 */
    6767 
    68 #define RTEMS_OBJECT_ID_INITIAL_INDEX   OBJECTS_ID_INITIAL_INDEX
    69 #define RTEMS_OBJECT_ID_FINAL_INDEX     OBJECTS_ID_FINAL_INDEX
     68#define RTEMS_OBJECT_ID_INITIAL_INDEX        OBJECTS_ID_INITIAL_INDEX
     69#define RTEMS_OBJECT_ID_FINAL_INDEX          OBJECTS_ID_FINAL_INDEX
    7070 
    71 #define RTEMS_OBJECT_ID_INITIAL(node)   OBJECTS_ID_INITIAL(node)
    72 #define RTEMS_OBJECT_ID_FINAL           OBJECTS_ID_FINAL
     71#define RTEMS_OBJECT_ID_INITIAL(class, node) OBJECTS_ID_INITIAL(class, node)
     72#define RTEMS_OBJECT_ID_FINAL                OBJECTS_ID_FINAL
    7373 
    7474/*
  • cpukit/score/include/rtems/score/object.h

    rb9be5d03 r5d3e539  
    188188#define OBJECTS_ID_FINAL_INDEX     (0xffff)
    189189
    190 #define OBJECTS_ID_INITIAL(node)   (_Objects_Build_id(      \
    191                                       OBJECTS_NO_CLASS, \
    192                                       node, \
    193                                       OBJECTS_ID_INITIAL_INDEX))
     190#define OBJECTS_ID_INITIAL(_class, _node) \
     191  _Objects_Build_id( (_class), (_node), OBJECTS_ID_INITIAL_INDEX )
     192
    194193#define OBJECTS_ID_FINAL           ((Objects_Id)~0)
    195194
Note: See TracChangeset for help on using the changeset viewer.