Changeset ccec63e in rtems


Ignore:
Timestamp:
Aug 20, 2008, 7:31:24 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
aa4a3f1
Parents:
dccd351
Message:

2008-08-20 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/error.c, libmisc/dummy/dummy.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
Location:
cpukit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rdccd351 rccec63e  
     12008-08-20      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libcsupport/src/error.c, libmisc/dummy/dummy.c,
     4        rtems/src/rtemsobjectgetapiclassname.c,
     5        rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
     6
    172008-08-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • cpukit/libcsupport/src/error.c

    rdccd351 rccec63e  
    6565
    6666const rtems_assoc_t rtems_status_assoc[] = {
    67     { "successful completion",              RTEMS_SUCCESSFUL, },
    68     { "returned from a thread",             RTEMS_TASK_EXITTED, },
    69     { "multiprocessing not configured",     RTEMS_MP_NOT_CONFIGURED, },
    70     { "invalid object name",                RTEMS_INVALID_NAME, },
    71     { "invalid object id",                  RTEMS_INVALID_ID, },
    72     { "too many",                           RTEMS_TOO_MANY, },
    73     { "timed out waiting",                  RTEMS_TIMEOUT, },
    74     { "object deleted while waiting",       RTEMS_OBJECT_WAS_DELETED, },
    75     { "specified size was invalid",         RTEMS_INVALID_SIZE, },
    76     { "address specified is invalid",       RTEMS_INVALID_ADDRESS, },
    77     { "number was invalid",                 RTEMS_INVALID_NUMBER, },
    78     { "item has not been initialized",      RTEMS_NOT_DEFINED, },
    79     { "resources still outstanding",        RTEMS_RESOURCE_IN_USE, },
    80     { "request not satisfied",              RTEMS_UNSATISFIED, },
    81     { "thread is in wrong state",           RTEMS_INCORRECT_STATE, },
    82     { "thread already in state",            RTEMS_ALREADY_SUSPENDED, },
    83     { "illegal on calling thread",          RTEMS_ILLEGAL_ON_SELF, },
    84     { "illegal for remote object",          RTEMS_ILLEGAL_ON_REMOTE_OBJECT, },
    85     { "called from wrong environment",      RTEMS_CALLED_FROM_ISR, },
    86     { "invalid thread priority",            RTEMS_INVALID_PRIORITY, },
    87     { "invalid date/time",                  RTEMS_INVALID_CLOCK, },
    88     { "invalid node id",                    RTEMS_INVALID_NODE, },
    89     { "directive not configured",           RTEMS_NOT_CONFIGURED, },
    90     { "not owner of resource",              RTEMS_NOT_OWNER_OF_RESOURCE , },
    91     { "directive not implemented",          RTEMS_NOT_IMPLEMENTED, },
    92     { "RTEMS inconsistency detected",       RTEMS_INTERNAL_ERROR, },
    93     { "could not get enough memory",        RTEMS_NO_MEMORY, },
    94     { "driver IO error",                    RTEMS_IO_ERROR, },
    95     { "internal multiprocessing only",      THREAD_STATUS_PROXY_BLOCKING, },
     67    { "successful completion",              RTEMS_SUCCESSFUL, 0 },
     68    { "returned from a thread",             RTEMS_TASK_EXITTED, 0 },
     69    { "multiprocessing not configured",     RTEMS_MP_NOT_CONFIGURED, 0 },
     70    { "invalid object name",                RTEMS_INVALID_NAME, 0 },
     71    { "invalid object id",                  RTEMS_INVALID_ID, 0 },
     72    { "too many",                           RTEMS_TOO_MANY, 0 },
     73    { "timed out waiting",                  RTEMS_TIMEOUT, 0 },
     74    { "object deleted while waiting",       RTEMS_OBJECT_WAS_DELETED, 0 },
     75    { "specified size was invalid",         RTEMS_INVALID_SIZE, 0 },
     76    { "address specified is invalid",       RTEMS_INVALID_ADDRESS, 0 },
     77    { "number was invalid",                 RTEMS_INVALID_NUMBER, 0 },
     78    { "item has not been initialized",      RTEMS_NOT_DEFINED, 0 },
     79    { "resources still outstanding",        RTEMS_RESOURCE_IN_USE, 0 },
     80    { "request not satisfied",              RTEMS_UNSATISFIED, 0 },
     81    { "thread is in wrong state",           RTEMS_INCORRECT_STATE, 0 },
     82    { "thread already in state",            RTEMS_ALREADY_SUSPENDED, 0 },
     83    { "illegal on calling thread",          RTEMS_ILLEGAL_ON_SELF, 0 },
     84    { "illegal for remote object",          RTEMS_ILLEGAL_ON_REMOTE_OBJECT, 0 },
     85    { "called from wrong environment",      RTEMS_CALLED_FROM_ISR, 0 },
     86    { "invalid thread priority",            RTEMS_INVALID_PRIORITY, 0 },
     87    { "invalid date/time",                  RTEMS_INVALID_CLOCK, 0 },
     88    { "invalid node id",                    RTEMS_INVALID_NODE, 0 },
     89    { "directive not configured",           RTEMS_NOT_CONFIGURED, 0 },
     90    { "not owner of resource",              RTEMS_NOT_OWNER_OF_RESOURCE , 0 },
     91    { "directive not implemented",          RTEMS_NOT_IMPLEMENTED, 0 },
     92    { "RTEMS inconsistency detected",       RTEMS_INTERNAL_ERROR, 0 },
     93    { "could not get enough memory",        RTEMS_NO_MEMORY, 0 },
     94    { "driver IO error",                    RTEMS_IO_ERROR, 0 },
     95    { "internal multiprocessing only",      THREAD_STATUS_PROXY_BLOCKING, 0 },
    9696    { 0, 0, 0 },
    9797};
  • cpukit/libmisc/dummy/dummy.c

    rdccd351 rccec63e  
    6565      {"127.0.0.1" },         /* Name server(s) */
    6666      {"127.0.0.1" },         /* NTP server(s) */
     67      NULL,                   /* hardware address */
     68      1,                      /* sb_efficiency */
    6769  };
    6870#endif
  • cpukit/rtems/src/rtemsobjectgetapiclassname.c

    rdccd351 rccec63e  
    2323
    2424rtems_assoc_t rtems_object_api_internal_assoc[] = {
    25   { "Thread",                  OBJECTS_INTERNAL_THREADS},
    26   { "Mutex",                   OBJECTS_INTERNAL_MUTEXES},
     25  { "Thread",                  OBJECTS_INTERNAL_THREADS, 0},
     26  { "Mutex",                   OBJECTS_INTERNAL_MUTEXES, 0},
    2727};
    2828
    2929rtems_assoc_t rtems_object_api_classic_assoc[] = {
    30   { "Task",                    OBJECTS_RTEMS_TASKS},
    31   { "Timer",                   OBJECTS_RTEMS_TIMERS},
    32   { "Semaphore",               OBJECTS_RTEMS_SEMAPHORES},
    33   { "Message Queue",           OBJECTS_RTEMS_MESSAGE_QUEUES},
    34   { "Partition",               OBJECTS_RTEMS_PARTITIONS},
    35   { "Region",                  OBJECTS_RTEMS_REGIONS},
    36   { "Port",                    OBJECTS_RTEMS_PORTS},
    37   { "Period",                  OBJECTS_RTEMS_PERIODS},
    38   { "Extension",               OBJECTS_RTEMS_EXTENSIONS},
    39   { "Barrier",                 OBJECTS_RTEMS_BARRIERS},
     30  { "Task",                    OBJECTS_RTEMS_TASKS, 0},
     31  { "Timer",                   OBJECTS_RTEMS_TIMERS, 0},
     32  { "Semaphore",               OBJECTS_RTEMS_SEMAPHORES, 0},
     33  { "Message Queue",           OBJECTS_RTEMS_MESSAGE_QUEUES, 0},
     34  { "Partition",               OBJECTS_RTEMS_PARTITIONS, 0},
     35  { "Region",                  OBJECTS_RTEMS_REGIONS, 0},
     36  { "Port",                    OBJECTS_RTEMS_PORTS, 0},
     37  { "Period",                  OBJECTS_RTEMS_PERIODS, 0},
     38  { "Extension",               OBJECTS_RTEMS_EXTENSIONS, 0},
     39  { "Barrier",                 OBJECTS_RTEMS_BARRIERS, 0},
    4040};
    4141
    4242#ifdef RTEMS_POSIX_API
    4343rtems_assoc_t rtems_object_api_posix_assoc[] = {
    44   { "Thread",                  OBJECTS_POSIX_THREADS},
    45   { "Key",                     OBJECTS_POSIX_KEYS},
    46   { "Interrupt",               OBJECTS_POSIX_INTERRUPTS},
    47   { "Queued fd",               OBJECTS_POSIX_MESSAGE_QUEUE_FDS},
    48   { "Message Queue",           OBJECTS_POSIX_MESSAGE_QUEUES},
    49   { "Mutex",                   OBJECTS_POSIX_MUTEXES},
    50   { "Semaphore",               OBJECTS_POSIX_SEMAPHORES},
    51   { "Condition Variable",      OBJECTS_POSIX_CONDITION_VARIABLES},
    52   { "Timer",                   OBJECTS_POSIX_TIMERS},
    53   { "Barrier",                 OBJECTS_POSIX_BARRIERS},
    54   { "Spinlock",                OBJECTS_POSIX_SPINLOCKS},
    55   { "RWLock",                  OBJECTS_POSIX_RWLOCKS},
     44  { "Thread",                  OBJECTS_POSIX_THREADS, 0},
     45  { "Key",                     OBJECTS_POSIX_KEYS, 0},
     46  { "Interrupt",               OBJECTS_POSIX_INTERRUPTS, 0},
     47  { "Queued fd",               OBJECTS_POSIX_MESSAGE_QUEUE_FDS, 0},
     48  { "Message Queue",           OBJECTS_POSIX_MESSAGE_QUEUES, 0},
     49  { "Mutex",                   OBJECTS_POSIX_MUTEXES, 0},
     50  { "Semaphore",               OBJECTS_POSIX_SEMAPHORES, 0},
     51  { "Condition Variable",      OBJECTS_POSIX_CONDITION_VARIABLES, 0},
     52  { "Timer",                   OBJECTS_POSIX_TIMERS, 0},
     53  { "Barrier",                 OBJECTS_POSIX_BARRIERS, 0},
     54  { "Spinlock",                OBJECTS_POSIX_SPINLOCKS, 0},
     55  { "RWLock",                  OBJECTS_POSIX_RWLOCKS, 0},
    5656};
    5757#endif
     
    5959#ifdef RTEMS_ITRON_API
    6060rtems_assoc_t rtems_object_api_itron_assoc[] = {
    61   { "Task",                    OBJECTS_ITRON_TASKS},
    62   { "Event Flag",              OBJECTS_ITRON_EVENTFLAGS},
    63   { "Mailbox",                 OBJECTS_ITRON_MAILBOXES},
    64   { "Message Buffer",          OBJECTS_ITRON_MESSAGE_BUFFERS},
    65   { "Port",                    OBJECTS_ITRON_PORTS},
    66   { "Semaphore",               OBJECTS_ITRON_SEMAPHORES},
    67   { "Variable Memory Pool",    OBJECTS_ITRON_VARIABLE_MEMORY_POOLS},
    68   { "Fixed Memory Pool",       OBJECTS_ITRON_FIXED_MEMORY_POOLS},
     61  { "Task",                    OBJECTS_ITRON_TASKS, 0},
     62  { "Event Flag",              OBJECTS_ITRON_EVENTFLAGS, 0},
     63  { "Mailbox",                 OBJECTS_ITRON_MAILBOXES, 0},
     64  { "Message Buffer",          OBJECTS_ITRON_MESSAGE_BUFFERS, 0},
     65  { "Port",                    OBJECTS_ITRON_PORTS, 0},
     66  { "Semaphore",               OBJECTS_ITRON_SEMAPHORES, 0},
     67  { "Variable Memory Pool",    OBJECTS_ITRON_VARIABLE_MEMORY_POOLS, 0},
     68  { "Fixed Memory Pool",       OBJECTS_ITRON_FIXED_MEMORY_POOLS, 0},
    6969};
    7070#endif
  • cpukit/rtems/src/rtemsobjectgetapiname.c

    rdccd351 rccec63e  
    2323
    2424rtems_assoc_t rtems_objects_api_assoc[] = {
    25   { "Internal", OBJECTS_INTERNAL_API},
    26   { "Classic",  OBJECTS_CLASSIC_API},
    27   { "POSIX",    OBJECTS_POSIX_API},
    28   { "ITRON",    OBJECTS_ITRON_API},
     25  { "Internal", OBJECTS_INTERNAL_API, 0},
     26  { "Classic",  OBJECTS_CLASSIC_API, 0},
     27  { "POSIX",    OBJECTS_POSIX_API, 0},
     28  { "ITRON",    OBJECTS_ITRON_API, 0},
    2929  { 0, 0, 0 }
    3030};
Note: See TracChangeset for help on using the changeset viewer.