diff options
Diffstat (limited to 'c/src/exec/rtems/src/sem.c')
-rw-r--r-- | c/src/exec/rtems/src/sem.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/c/src/exec/rtems/src/sem.c b/c/src/exec/rtems/src/sem.c index 6f2db08ded..8c8df032a9 100644 --- a/c/src/exec/rtems/src/sem.c +++ b/c/src/exec/rtems/src/sem.c @@ -62,14 +62,18 @@ void _Semaphore_Manager_initialization( ) { _Objects_Initialize_information( - &_Semaphore_Information, - OBJECTS_RTEMS_SEMAPHORES, - TRUE, - maximum_semaphores, - sizeof( Semaphore_Control ), - FALSE, - RTEMS_MAXIMUM_NAME_LENGTH, - FALSE + &_Semaphore_Information, /* object information table */ + OBJECTS_CLASSIC_API, /* object API */ + OBJECTS_RTEMS_SEMAPHORES, /* object class */ + maximum_semaphores, /* maximum objects of this class */ + sizeof( Semaphore_Control ), /* size of this object's control block */ + FALSE, /* TRUE if the name is a string */ + RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of an object name */ +#if defined(RTEMS_MULTIPROCESSING) + , + FALSE, /* TRUE if this is a global object class */ + NULL /* Proxy extraction support callout */ +#endif ); /* |