diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-18 03:03:22 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-18 03:03:22 +0000 |
commit | 08c3066fa1cff2170a102f01e6d75d51aca81d14 (patch) | |
tree | 3955b71afdea21c7fc4a09ba3fd79cb7a20f8e83 /cpukit | |
parent | 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-08c3066fa1cff2170a102f01e6d75d51aca81d14.tar.bz2 |
Remove RTEMS_ITRON_API conditional blocks.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/rtems/src/rtemsobjectgetapiclassname.c | 17 | ||||
-rw-r--r-- | cpukit/sapi/include/rtems/config.h | 7 | ||||
-rw-r--r-- | cpukit/sapi/src/exinit.c | 7 |
3 files changed, 0 insertions, 31 deletions
diff --git a/cpukit/rtems/src/rtemsobjectgetapiclassname.c b/cpukit/rtems/src/rtemsobjectgetapiclassname.c index c85da43197..2ea697bc37 100644 --- a/cpukit/rtems/src/rtemsobjectgetapiclassname.c +++ b/cpukit/rtems/src/rtemsobjectgetapiclassname.c @@ -56,19 +56,6 @@ rtems_assoc_t rtems_object_api_posix_assoc[] = { }; #endif -#ifdef RTEMS_ITRON_API -rtems_assoc_t rtems_object_api_itron_assoc[] = { - { "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 - const char *rtems_object_get_api_class_name( int the_api, int the_class @@ -85,10 +72,6 @@ const char *rtems_object_get_api_class_name( else if ( the_api == OBJECTS_POSIX_API ) api_assoc = rtems_object_api_posix_assoc; #endif -#ifdef RTEMS_ITRON_API - else if ( the_api == OBJECTS_ITRON_API ) - api_assoc = rtems_object_api_itron_assoc; -#endif else return "BAD API"; class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class ); diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h index 7667794ec5..b73867c486 100644 --- a/cpukit/sapi/include/rtems/config.h +++ b/cpukit/sapi/include/rtems/config.h @@ -48,13 +48,6 @@ extern "C" { typedef void *posix_api_configuration_table; #endif -#ifdef RTEMS_ITRON_API -#include <rtems/itron.h> -#include <rtems/itron/config.h> -#else -typedef void *itron_api_configuration_table; -#endif - #include <rtems/rtems/config.h> #include <rtems/extension.h> diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c index b0574f3b34..deefd9a70d 100644 --- a/cpukit/sapi/src/exinit.c +++ b/cpukit/sapi/src/exinit.c @@ -55,9 +55,6 @@ #ifdef RTEMS_POSIX_API #include <rtems/posix/posixapi.h> #endif -#ifdef RTEMS_ITRON_API - #include <rtems/itron/itronapi.h> -#endif Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ]; @@ -150,10 +147,6 @@ void rtems_initialize_data_structures(void) _POSIX_API_Initialize(); #endif - #ifdef RTEMS_ITRON_API - _ITRON_API_Initialize(); - #endif - _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING ); /* |