Changeset 10251b3 in rtems


Ignore:
Timestamp:
May 22, 2019, 5:51:14 AM (5 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
20bd667
Parents:
327e45da
Message:

score: Compact objects class indices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/objectdata.h

    r327e45da r10251b3  
    5151 */
    5252typedef enum {
    53   OBJECTS_INTERNAL_NO_CLASS =  0,
    54   OBJECTS_INTERNAL_THREADS  =  1
     53  OBJECTS_INTERNAL_NO_CLASS = 0,
     54
     55  /* Must be one, see __Thread_Get_objects_information() */
     56  OBJECTS_INTERNAL_THREADS = 1
    5557} Objects_Internal_API;
    5658
     
    6062 */
    6163typedef enum {
    62   OBJECTS_CLASSIC_NO_CLASS     = 0,
    63   OBJECTS_RTEMS_TASKS          = 1,
    64   OBJECTS_RTEMS_TIMERS         = 2,
    65   OBJECTS_RTEMS_SEMAPHORES     = 3,
    66   OBJECTS_RTEMS_MESSAGE_QUEUES = 4,
    67   OBJECTS_RTEMS_PARTITIONS     = 5,
    68   OBJECTS_RTEMS_REGIONS        = 6,
    69   OBJECTS_RTEMS_PORTS          = 7,
    70   OBJECTS_RTEMS_PERIODS        = 8,
    71   OBJECTS_RTEMS_EXTENSIONS     = 9,
    72   OBJECTS_RTEMS_BARRIERS       = 10
     64  OBJECTS_CLASSIC_NO_CLASS = 0,
     65
     66  /* Must be one, see __Thread_Get_objects_information() */
     67  OBJECTS_RTEMS_TASKS = 1,
     68
     69  OBJECTS_RTEMS_TIMERS,
     70  OBJECTS_RTEMS_SEMAPHORES,
     71  OBJECTS_RTEMS_MESSAGE_QUEUES,
     72  OBJECTS_RTEMS_PARTITIONS,
     73  OBJECTS_RTEMS_REGIONS,
     74  OBJECTS_RTEMS_PORTS,
     75  OBJECTS_RTEMS_PERIODS,
     76  OBJECTS_RTEMS_EXTENSIONS,
     77  OBJECTS_RTEMS_BARRIERS
    7378} Objects_Classic_API;
    7479
     
    7883 */
    7984typedef enum {
    80   OBJECTS_POSIX_NO_CLASS            = 0,
    81   OBJECTS_POSIX_THREADS             = 1,
    82   OBJECTS_POSIX_KEYS                = 2,
    83   OBJECTS_POSIX_MESSAGE_QUEUES      = 5,
    84   OBJECTS_POSIX_SEMAPHORES          = 7,
    85   OBJECTS_POSIX_TIMERS              = 9,
    86   OBJECTS_POSIX_SHMS                = 12
     85  OBJECTS_POSIX_NO_CLASS = 0,
     86
     87  /* Must be one, see __Thread_Get_objects_information() */
     88  OBJECTS_POSIX_THREADS = 1,
     89
     90  OBJECTS_POSIX_KEYS,
     91  OBJECTS_POSIX_MESSAGE_QUEUES,
     92  OBJECTS_POSIX_SEMAPHORES,
     93  OBJECTS_POSIX_TIMERS,
     94  OBJECTS_POSIX_SHMS
    8795} Objects_POSIX_API;
    8896
Note: See TracChangeset for help on using the changeset viewer.