forked from Imagelibrary/rtems
2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, libmisc/dummy/dummy.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* libcsupport/src/error.c, libmisc/dummy/dummy.c,
|
||||
rtems/src/rtemsobjectgetapiclassname.c,
|
||||
rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
|
||||
|
||||
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* include/rtems/status-checks.h: Fixed integer conversion warning.
|
||||
|
||||
@@ -64,35 +64,35 @@ char *strerror(int);
|
||||
int rtems_panic_in_progress;
|
||||
|
||||
const rtems_assoc_t rtems_status_assoc[] = {
|
||||
{ "successful completion", RTEMS_SUCCESSFUL, },
|
||||
{ "returned from a thread", RTEMS_TASK_EXITTED, },
|
||||
{ "multiprocessing not configured", RTEMS_MP_NOT_CONFIGURED, },
|
||||
{ "invalid object name", RTEMS_INVALID_NAME, },
|
||||
{ "invalid object id", RTEMS_INVALID_ID, },
|
||||
{ "too many", RTEMS_TOO_MANY, },
|
||||
{ "timed out waiting", RTEMS_TIMEOUT, },
|
||||
{ "object deleted while waiting", RTEMS_OBJECT_WAS_DELETED, },
|
||||
{ "specified size was invalid", RTEMS_INVALID_SIZE, },
|
||||
{ "address specified is invalid", RTEMS_INVALID_ADDRESS, },
|
||||
{ "number was invalid", RTEMS_INVALID_NUMBER, },
|
||||
{ "item has not been initialized", RTEMS_NOT_DEFINED, },
|
||||
{ "resources still outstanding", RTEMS_RESOURCE_IN_USE, },
|
||||
{ "request not satisfied", RTEMS_UNSATISFIED, },
|
||||
{ "thread is in wrong state", RTEMS_INCORRECT_STATE, },
|
||||
{ "thread already in state", RTEMS_ALREADY_SUSPENDED, },
|
||||
{ "illegal on calling thread", RTEMS_ILLEGAL_ON_SELF, },
|
||||
{ "illegal for remote object", RTEMS_ILLEGAL_ON_REMOTE_OBJECT, },
|
||||
{ "called from wrong environment", RTEMS_CALLED_FROM_ISR, },
|
||||
{ "invalid thread priority", RTEMS_INVALID_PRIORITY, },
|
||||
{ "invalid date/time", RTEMS_INVALID_CLOCK, },
|
||||
{ "invalid node id", RTEMS_INVALID_NODE, },
|
||||
{ "directive not configured", RTEMS_NOT_CONFIGURED, },
|
||||
{ "not owner of resource", RTEMS_NOT_OWNER_OF_RESOURCE , },
|
||||
{ "directive not implemented", RTEMS_NOT_IMPLEMENTED, },
|
||||
{ "RTEMS inconsistency detected", RTEMS_INTERNAL_ERROR, },
|
||||
{ "could not get enough memory", RTEMS_NO_MEMORY, },
|
||||
{ "driver IO error", RTEMS_IO_ERROR, },
|
||||
{ "internal multiprocessing only", THREAD_STATUS_PROXY_BLOCKING, },
|
||||
{ "successful completion", RTEMS_SUCCESSFUL, 0 },
|
||||
{ "returned from a thread", RTEMS_TASK_EXITTED, 0 },
|
||||
{ "multiprocessing not configured", RTEMS_MP_NOT_CONFIGURED, 0 },
|
||||
{ "invalid object name", RTEMS_INVALID_NAME, 0 },
|
||||
{ "invalid object id", RTEMS_INVALID_ID, 0 },
|
||||
{ "too many", RTEMS_TOO_MANY, 0 },
|
||||
{ "timed out waiting", RTEMS_TIMEOUT, 0 },
|
||||
{ "object deleted while waiting", RTEMS_OBJECT_WAS_DELETED, 0 },
|
||||
{ "specified size was invalid", RTEMS_INVALID_SIZE, 0 },
|
||||
{ "address specified is invalid", RTEMS_INVALID_ADDRESS, 0 },
|
||||
{ "number was invalid", RTEMS_INVALID_NUMBER, 0 },
|
||||
{ "item has not been initialized", RTEMS_NOT_DEFINED, 0 },
|
||||
{ "resources still outstanding", RTEMS_RESOURCE_IN_USE, 0 },
|
||||
{ "request not satisfied", RTEMS_UNSATISFIED, 0 },
|
||||
{ "thread is in wrong state", RTEMS_INCORRECT_STATE, 0 },
|
||||
{ "thread already in state", RTEMS_ALREADY_SUSPENDED, 0 },
|
||||
{ "illegal on calling thread", RTEMS_ILLEGAL_ON_SELF, 0 },
|
||||
{ "illegal for remote object", RTEMS_ILLEGAL_ON_REMOTE_OBJECT, 0 },
|
||||
{ "called from wrong environment", RTEMS_CALLED_FROM_ISR, 0 },
|
||||
{ "invalid thread priority", RTEMS_INVALID_PRIORITY, 0 },
|
||||
{ "invalid date/time", RTEMS_INVALID_CLOCK, 0 },
|
||||
{ "invalid node id", RTEMS_INVALID_NODE, 0 },
|
||||
{ "directive not configured", RTEMS_NOT_CONFIGURED, 0 },
|
||||
{ "not owner of resource", RTEMS_NOT_OWNER_OF_RESOURCE , 0 },
|
||||
{ "directive not implemented", RTEMS_NOT_IMPLEMENTED, 0 },
|
||||
{ "RTEMS inconsistency detected", RTEMS_INTERNAL_ERROR, 0 },
|
||||
{ "could not get enough memory", RTEMS_NO_MEMORY, 0 },
|
||||
{ "driver IO error", RTEMS_IO_ERROR, 0 },
|
||||
{ "internal multiprocessing only", THREAD_STATUS_PROXY_BLOCKING, 0 },
|
||||
{ 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
||||
@@ -64,6 +64,8 @@ int main( int, char **, char **);
|
||||
"127.0.0.1", /* Log host */
|
||||
{"127.0.0.1" }, /* Name server(s) */
|
||||
{"127.0.0.1" }, /* NTP server(s) */
|
||||
NULL, /* hardware address */
|
||||
1, /* sb_efficiency */
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -22,50 +22,50 @@
|
||||
#include <rtems/assoc.h>
|
||||
|
||||
rtems_assoc_t rtems_object_api_internal_assoc[] = {
|
||||
{ "Thread", OBJECTS_INTERNAL_THREADS},
|
||||
{ "Mutex", OBJECTS_INTERNAL_MUTEXES},
|
||||
{ "Thread", OBJECTS_INTERNAL_THREADS, 0},
|
||||
{ "Mutex", OBJECTS_INTERNAL_MUTEXES, 0},
|
||||
};
|
||||
|
||||
rtems_assoc_t rtems_object_api_classic_assoc[] = {
|
||||
{ "Task", OBJECTS_RTEMS_TASKS},
|
||||
{ "Timer", OBJECTS_RTEMS_TIMERS},
|
||||
{ "Semaphore", OBJECTS_RTEMS_SEMAPHORES},
|
||||
{ "Message Queue", OBJECTS_RTEMS_MESSAGE_QUEUES},
|
||||
{ "Partition", OBJECTS_RTEMS_PARTITIONS},
|
||||
{ "Region", OBJECTS_RTEMS_REGIONS},
|
||||
{ "Port", OBJECTS_RTEMS_PORTS},
|
||||
{ "Period", OBJECTS_RTEMS_PERIODS},
|
||||
{ "Extension", OBJECTS_RTEMS_EXTENSIONS},
|
||||
{ "Barrier", OBJECTS_RTEMS_BARRIERS},
|
||||
{ "Task", OBJECTS_RTEMS_TASKS, 0},
|
||||
{ "Timer", OBJECTS_RTEMS_TIMERS, 0},
|
||||
{ "Semaphore", OBJECTS_RTEMS_SEMAPHORES, 0},
|
||||
{ "Message Queue", OBJECTS_RTEMS_MESSAGE_QUEUES, 0},
|
||||
{ "Partition", OBJECTS_RTEMS_PARTITIONS, 0},
|
||||
{ "Region", OBJECTS_RTEMS_REGIONS, 0},
|
||||
{ "Port", OBJECTS_RTEMS_PORTS, 0},
|
||||
{ "Period", OBJECTS_RTEMS_PERIODS, 0},
|
||||
{ "Extension", OBJECTS_RTEMS_EXTENSIONS, 0},
|
||||
{ "Barrier", OBJECTS_RTEMS_BARRIERS, 0},
|
||||
};
|
||||
|
||||
#ifdef RTEMS_POSIX_API
|
||||
rtems_assoc_t rtems_object_api_posix_assoc[] = {
|
||||
{ "Thread", OBJECTS_POSIX_THREADS},
|
||||
{ "Key", OBJECTS_POSIX_KEYS},
|
||||
{ "Interrupt", OBJECTS_POSIX_INTERRUPTS},
|
||||
{ "Queued fd", OBJECTS_POSIX_MESSAGE_QUEUE_FDS},
|
||||
{ "Message Queue", OBJECTS_POSIX_MESSAGE_QUEUES},
|
||||
{ "Mutex", OBJECTS_POSIX_MUTEXES},
|
||||
{ "Semaphore", OBJECTS_POSIX_SEMAPHORES},
|
||||
{ "Condition Variable", OBJECTS_POSIX_CONDITION_VARIABLES},
|
||||
{ "Timer", OBJECTS_POSIX_TIMERS},
|
||||
{ "Barrier", OBJECTS_POSIX_BARRIERS},
|
||||
{ "Spinlock", OBJECTS_POSIX_SPINLOCKS},
|
||||
{ "RWLock", OBJECTS_POSIX_RWLOCKS},
|
||||
{ "Thread", OBJECTS_POSIX_THREADS, 0},
|
||||
{ "Key", OBJECTS_POSIX_KEYS, 0},
|
||||
{ "Interrupt", OBJECTS_POSIX_INTERRUPTS, 0},
|
||||
{ "Queued fd", OBJECTS_POSIX_MESSAGE_QUEUE_FDS, 0},
|
||||
{ "Message Queue", OBJECTS_POSIX_MESSAGE_QUEUES, 0},
|
||||
{ "Mutex", OBJECTS_POSIX_MUTEXES, 0},
|
||||
{ "Semaphore", OBJECTS_POSIX_SEMAPHORES, 0},
|
||||
{ "Condition Variable", OBJECTS_POSIX_CONDITION_VARIABLES, 0},
|
||||
{ "Timer", OBJECTS_POSIX_TIMERS, 0},
|
||||
{ "Barrier", OBJECTS_POSIX_BARRIERS, 0},
|
||||
{ "Spinlock", OBJECTS_POSIX_SPINLOCKS, 0},
|
||||
{ "RWLock", OBJECTS_POSIX_RWLOCKS, 0},
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef RTEMS_ITRON_API
|
||||
rtems_assoc_t rtems_object_api_itron_assoc[] = {
|
||||
{ "Task", OBJECTS_ITRON_TASKS},
|
||||
{ "Event Flag", OBJECTS_ITRON_EVENTFLAGS},
|
||||
{ "Mailbox", OBJECTS_ITRON_MAILBOXES},
|
||||
{ "Message Buffer", OBJECTS_ITRON_MESSAGE_BUFFERS},
|
||||
{ "Port", OBJECTS_ITRON_PORTS},
|
||||
{ "Semaphore", OBJECTS_ITRON_SEMAPHORES},
|
||||
{ "Variable Memory Pool", OBJECTS_ITRON_VARIABLE_MEMORY_POOLS},
|
||||
{ "Fixed Memory Pool", OBJECTS_ITRON_FIXED_MEMORY_POOLS},
|
||||
{ "Task", OBJECTS_ITRON_TASKS, 0},
|
||||
{ "Event Flag", OBJECTS_ITRON_EVENTFLAGS, 0},
|
||||
{ "Mailbox", OBJECTS_ITRON_MAILBOXES, 0},
|
||||
{ "Message Buffer", OBJECTS_ITRON_MESSAGE_BUFFERS, 0},
|
||||
{ "Port", OBJECTS_ITRON_PORTS, 0},
|
||||
{ "Semaphore", OBJECTS_ITRON_SEMAPHORES, 0},
|
||||
{ "Variable Memory Pool", OBJECTS_ITRON_VARIABLE_MEMORY_POOLS, 0},
|
||||
{ "Fixed Memory Pool", OBJECTS_ITRON_FIXED_MEMORY_POOLS, 0},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
#include <rtems/assoc.h>
|
||||
|
||||
rtems_assoc_t rtems_objects_api_assoc[] = {
|
||||
{ "Internal", OBJECTS_INTERNAL_API},
|
||||
{ "Classic", OBJECTS_CLASSIC_API},
|
||||
{ "POSIX", OBJECTS_POSIX_API},
|
||||
{ "ITRON", OBJECTS_ITRON_API},
|
||||
{ "Internal", OBJECTS_INTERNAL_API, 0},
|
||||
{ "Classic", OBJECTS_CLASSIC_API, 0},
|
||||
{ "POSIX", OBJECTS_POSIX_API, 0},
|
||||
{ "ITRON", OBJECTS_ITRON_API, 0},
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user