From 08c3066fa1cff2170a102f01e6d75d51aca81d14 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 18 Jun 2010 03:03:22 +0000 Subject: Remove RTEMS_ITRON_API conditional blocks. --- cpukit/rtems/src/rtemsobjectgetapiclassname.c | 17 ----------------- cpukit/sapi/include/rtems/config.h | 7 ------- cpukit/sapi/src/exinit.c | 7 ------- 3 files changed, 31 deletions(-) (limited to 'cpukit') 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 @@ -84,10 +71,6 @@ const char *rtems_object_get_api_class_name( #ifdef RTEMS_POSIX_API 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"; 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 -#include -#else -typedef void *itron_api_configuration_table; -#endif - #include #include 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 #endif -#ifdef RTEMS_ITRON_API - #include -#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 ); /* -- cgit v1.2.3