Changeset 08c3066 in rtems


Ignore:
Timestamp:
Jun 18, 2010, 3:03:22 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
d9f7ea0
Parents:
d83c90f1
Message:

Remove RTEMS_ITRON_API conditional blocks.

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/rtemsobjectgetapiclassname.c

    rd83c90f1 r08c3066  
    5757#endif
    5858
    59 #ifdef RTEMS_ITRON_API
    60 rtems_assoc_t rtems_object_api_itron_assoc[] = {
    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},
    69 };
    70 #endif
    71 
    7259const char *rtems_object_get_api_class_name(
    7360  int the_api,
     
    8673    api_assoc = rtems_object_api_posix_assoc;
    8774#endif
    88 #ifdef RTEMS_ITRON_API
    89   else if ( the_api == OBJECTS_ITRON_API )
    90     api_assoc = rtems_object_api_itron_assoc;
    91 #endif
    9275  else
    9376    return "BAD API";
  • cpukit/sapi/include/rtems/config.h

    rd83c90f1 r08c3066  
    4747#else
    4848typedef void *posix_api_configuration_table;
    49 #endif
    50 
    51 #ifdef RTEMS_ITRON_API
    52 #include <rtems/itron.h>
    53 #include <rtems/itron/config.h>
    54 #else
    55 typedef void *itron_api_configuration_table;
    5649#endif
    5750
  • cpukit/sapi/src/exinit.c

    rd83c90f1 r08c3066  
    5656  #include <rtems/posix/posixapi.h>
    5757#endif
    58 #ifdef RTEMS_ITRON_API
    59   #include <rtems/itron/itronapi.h>
    60 #endif
    6158
    6259Objects_Information *_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
     
    151148  #endif
    152149
    153   #ifdef RTEMS_ITRON_API
    154     _ITRON_API_Initialize();
    155   #endif
    156 
    157150  _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
    158151
Note: See TracChangeset for help on using the changeset viewer.