From 9863dbfdd45ff4a8fcd06b8a146f7870e4159db9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 18 Aug 1995 21:42:58 +0000 Subject: + Added object type field to object id. + Added name pointer to Object_Control. + Modified Object Open and Close to address name field. + Removed name as separate element from Thread and Proxy Control. + Added parameter "object class" to calls to Initialize Information --- cpukit/rtems/src/dpmem.c | 1 + cpukit/rtems/src/msg.c | 3 ++- cpukit/rtems/src/part.c | 1 + cpukit/rtems/src/ratemon.c | 1 + cpukit/rtems/src/region.c | 1 + cpukit/rtems/src/rtemstimer.c | 1 + cpukit/rtems/src/sem.c | 1 + cpukit/rtems/src/tasks.c | 1 - 8 files changed, 8 insertions(+), 2 deletions(-) (limited to 'cpukit/rtems') diff --git a/cpukit/rtems/src/dpmem.c b/cpukit/rtems/src/dpmem.c index 0aacecec5b..b594ecd00e 100644 --- a/cpukit/rtems/src/dpmem.c +++ b/cpukit/rtems/src/dpmem.c @@ -37,6 +37,7 @@ void _Dual_ported_memory_Manager_initialization( { _Objects_Initialize_information( &_Dual_ported_memory_Information, + OBJECTS_RTEMS_PORTS, FALSE, maximum_ports, sizeof( Dual_ported_memory_Control ) diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c index 9b1c6acef5..dc136271fe 100644 --- a/cpukit/rtems/src/msg.c +++ b/cpukit/rtems/src/msg.c @@ -45,6 +45,7 @@ void _Message_queue_Manager_initialization( { _Objects_Initialize_information( &_Message_queue_Information, + OBJECTS_RTEMS_MESSAGE_QUEUES, TRUE, maximum_message_queues, sizeof( Message_queue_Control ) @@ -285,7 +286,7 @@ rtems_status_code rtems_message_queue_delete( MESSAGE_QUEUE_MP_ANNOUNCE_DELETE, the_message_queue->Object.id, 0, /* Not used */ - MPCI_DEFAULT_TIMEOUT + 0 ); } diff --git a/cpukit/rtems/src/part.c b/cpukit/rtems/src/part.c index 1fa2e0e716..7cf0fe691c 100644 --- a/cpukit/rtems/src/part.c +++ b/cpukit/rtems/src/part.c @@ -39,6 +39,7 @@ void _Partition_Manager_initialization( { _Objects_Initialize_information( &_Partition_Information, + OBJECTS_RTEMS_PARTITIONS, TRUE, maximum_partitions, sizeof( Partition_Control ) diff --git a/cpukit/rtems/src/ratemon.c b/cpukit/rtems/src/ratemon.c index 3c0733a3ab..86f1534d98 100644 --- a/cpukit/rtems/src/ratemon.c +++ b/cpukit/rtems/src/ratemon.c @@ -41,6 +41,7 @@ void _Rate_monotonic_Manager_initialization( { _Objects_Initialize_information( &_Rate_monotonic_Information, + OBJECTS_RTEMS_PERIODS, FALSE, maximum_periods, sizeof( Rate_monotonic_Control ) diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c index c62214eaf6..40bd7ffa26 100644 --- a/cpukit/rtems/src/region.c +++ b/cpukit/rtems/src/region.c @@ -39,6 +39,7 @@ void _Region_Manager_initialization( { _Objects_Initialize_information( &_Region_Information, + OBJECTS_RTEMS_REGIONS, FALSE, maximum_regions, sizeof( Region_Control ) diff --git a/cpukit/rtems/src/rtemstimer.c b/cpukit/rtems/src/rtemstimer.c index abab4cc7b4..ec55c3eaf9 100644 --- a/cpukit/rtems/src/rtemstimer.c +++ b/cpukit/rtems/src/rtemstimer.c @@ -38,6 +38,7 @@ void _Timer_Manager_initialization( { _Objects_Initialize_information( &_Timer_Information, + OBJECTS_RTEMS_TIMERS, FALSE, maximum_timers, sizeof( Timer_Control ) diff --git a/cpukit/rtems/src/sem.c b/cpukit/rtems/src/sem.c index 19410c62f1..340a4fa947 100644 --- a/cpukit/rtems/src/sem.c +++ b/cpukit/rtems/src/sem.c @@ -56,6 +56,7 @@ void _Semaphore_Manager_initialization( { _Objects_Initialize_information( &_Semaphore_Information, + OBJECTS_RTEMS_SEMAPHORES, TRUE, maximum_semaphores, sizeof( Semaphore_Control ) diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index edba524d94..e900df0ab8 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -143,7 +143,6 @@ rtems_status_code rtems_task_create( return( RTEMS_TOO_MANY ); } - the_thread->name = name; the_thread->attribute_set = the_attribute_set; the_thread->current_state = STATES_DORMANT; the_thread->current_modes = initial_modes; -- cgit v1.2.3