diff options
Diffstat (limited to 'cpukit/itron/src/itronsem.c')
-rw-r--r-- | cpukit/itron/src/itronsem.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/cpukit/itron/src/itronsem.c b/cpukit/itron/src/itronsem.c index 755b3fe840..3a16199d05 100644 --- a/cpukit/itron/src/itronsem.c +++ b/cpukit/itron/src/itronsem.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -14,7 +14,7 @@ #endif #include <rtems/itron.h> - +#include <rtems/config.h> #include <rtems/itron/semaphore.h> #include <rtems/itron/task.h> #include <rtems/score/tod.h> @@ -26,22 +26,20 @@ * * This routine initializes all semaphore manager related data structures. * - * Input parameters: - * maximum_semaphores - maximum configured semaphores + * Input parameters: NONE * * Output parameters: NONE */ -void _ITRON_Semaphore_Manager_initialization( - uint32_t maximum_semaphores -) +void _ITRON_Semaphore_Manager_initialization(void) { _Objects_Initialize_information( - &_ITRON_Semaphore_Information, /* object information table */ - OBJECTS_ITRON_API, /* object API */ - OBJECTS_ITRON_SEMAPHORES, /* object class */ - maximum_semaphores, /* maximum objects of this class */ - sizeof( ITRON_Semaphore_Control ), /* size of this object's control block */ + &_ITRON_Semaphore_Information, /* object information table */ + OBJECTS_ITRON_API, /* object API */ + OBJECTS_ITRON_SEMAPHORES, /* object class */ + Configuration_ITRON_API.maximum_semaphores, + /* maximum objects of this class */ + sizeof(ITRON_Semaphore_Control), /* size of this object's control block */ FALSE, /* TRUE if names for this object are strings */ ITRON_MAXIMUM_NAME_LENGTH /* maximum length of each object's name */ #if defined(RTEMS_MULTIPROCESSING) |