Changeset 3235ad9 in rtems for cpukit/rtems
- Timestamp:
- 08/23/95 19:30:23 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5250ff39
- Parents:
- 80e2c29e
- Location:
- cpukit/rtems
- Files:
-
- 4 added
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/rtems/include/rtems.h
r80e2c29e r3235ad9 25 25 26 26 #include <rtems/system.h> 27 #include <rtems/types.h> 28 27 29 #include <rtems/init.h> 28 30 #include <rtems/tasks.h> … … 44 46 #include <rtems/mp.h> 45 47 46 /* 47 * RTEMS basic type definitions 48 */ 49 50 typedef unsigned8 rtems_unsigned8; /* unsigned 8-bit value */ 51 typedef unsigned16 rtems_unsigned16; /* unsigned 16-bit value */ 52 typedef unsigned32 rtems_unsigned32; /* unsigned 32-bit value */ 53 typedef unsigned64 rtems_unsigned64; /* unsigned 64-bit value */ 54 55 typedef signed8 rtems_signed8; /* signed 8-bit value */ 56 typedef signed16 rtems_signed16; /* signed 16-bit value */ 57 typedef signed32 rtems_signed32; /* signed 32-bit value */ 58 typedef signed64 rtems_signed64; /* signed 64-bit value */ 59 60 typedef single_precision rtems_single; /* single precision float */ 61 typedef double_precision rtems_double; /* double precision float */ 62 63 typedef boolean rtems_boolean; 64 65 typedef Objects_Name rtems_name; 66 typedef Objects_Id rtems_id; 67 68 typedef Context_Control rtems_context; 69 typedef Context_Control_fp rtems_context_fp; 70 typedef CPU_Interrupt_frame rtems_interrupt_frame; 48 #include <rtems/support.h> 71 49 72 50 #define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP -
cpukit/rtems/include/rtems/rtems/dpmem.h
r80e2c29e r3235ad9 33 33 #endif 34 34 35 #include <rtems.h> 35 36 #include <rtems/object.h> 36 37 … … 79 80 80 81 rtems_status_code rtems_port_create( 81 Objects_Namename,82 rtems_name name, 82 83 void *internal_start, 83 84 void *external_start, … … 97 98 98 99 rtems_status_code rtems_port_ident( 99 Objects_Namename,100 rtems_name name, 100 101 Objects_Id *id 101 102 ); -
cpukit/rtems/include/rtems/rtems/eventmp.h
r80e2c29e r3235ad9 44 44 45 45 typedef struct { 46 rtems_packet_prefix 47 Event_MP_Remote_operations operation;48 rtems_event_set event_in;46 rtems_packet_prefix Prefix; 47 Event_MP_Remote_operations operation; 48 rtems_event_set event_in; 49 49 } Event_MP_Packet; 50 50 -
cpukit/rtems/include/rtems/rtems/message.h
r80e2c29e r3235ad9 35 35 #endif 36 36 37 #include <rtems/types.h> 37 38 #include <rtems/chain.h> 38 39 #include <rtems/object.h> … … 130 131 131 132 rtems_status_code rtems_message_queue_create( 132 Objects_Namename,133 rtems_name name, 133 134 unsigned32 count, 134 135 unsigned32 max_message_size, … … 152 153 153 154 rtems_status_code rtems_message_queue_ident( 154 Objects_Namename,155 rtems_name name, 155 156 unsigned32 node, 156 157 Objects_Id *id -
cpukit/rtems/include/rtems/rtems/msgmp.h
r80e2c29e r3235ad9 58 58 rtems_packet_prefix Prefix; 59 59 Message_queue_MP_Remote_operations operation; 60 Objects_Namename;60 rtems_name name; 61 61 rtems_option option_set; 62 62 Objects_Id proxy_id; … … 79 79 Message_queue_MP_Remote_operations operation, 80 80 Objects_Id message_queue_id, 81 Objects_Namename,81 rtems_name name, 82 82 Objects_Id proxy_id 83 83 ); -
cpukit/rtems/include/rtems/rtems/part.h
r80e2c29e r3235ad9 32 32 #endif 33 33 34 #include <rtems.h> 34 35 #include <rtems/address.h> 35 36 #include <rtems/attr.h> … … 84 85 85 86 rtems_status_code rtems_partition_create( 86 Objects_Namename,87 rtems_name name, 87 88 void *starting_address, 88 89 unsigned32 length, … … 107 108 108 109 rtems_status_code rtems_partition_ident( 109 Objects_Namename,110 rtems_name name, 110 111 unsigned32 node, 111 112 Objects_Id *id -
cpukit/rtems/include/rtems/rtems/partmp.h
r80e2c29e r3235ad9 49 49 50 50 typedef struct { 51 rtems_packet_prefix 51 rtems_packet_prefix Prefix; 52 52 Partition_MP_Remote_operations operation; 53 Objects_Namename;53 rtems_name name; 54 54 void *buffer; 55 55 Objects_Id proxy_id; … … 68 68 Partition_MP_Remote_operations operation, 69 69 Objects_Id partition_id, 70 Objects_Namename,70 rtems_name name, 71 71 Objects_Id proxy_id 72 72 ); -
cpukit/rtems/include/rtems/rtems/ratemon.h
r80e2c29e r3235ad9 30 30 #endif 31 31 32 #include <rtems.h> 32 33 #include <rtems/object.h> 33 34 #include <rtems/thread.h> … … 89 90 90 91 rtems_status_code rtems_rate_monotonic_create( 91 Objects_Namename,92 rtems_name name, 92 93 Objects_Id *id 93 94 ); … … 105 106 106 107 rtems_status_code rtems_rate_monotonic_ident( 107 Objects_Namename,108 rtems_name name, 108 109 Objects_Id *id 109 110 ); -
cpukit/rtems/include/rtems/rtems/region.h
r80e2c29e r3235ad9 31 31 #endif 32 32 33 #include <rtems.h> 33 34 #include <rtems/object.h> 34 35 #include <rtems/threadq.h> … … 87 88 88 89 rtems_status_code rtems_region_create( 89 Objects_Namename,90 rtems_name name, 90 91 void *starting_address, 91 92 unsigned32 length, … … 124 125 125 126 rtems_status_code rtems_region_ident( 126 Objects_Namename,127 rtems_name name, 127 128 Objects_Id *id 128 129 ); -
cpukit/rtems/include/rtems/rtems/regionmp.h
r80e2c29e r3235ad9 49 49 50 50 typedef struct { 51 rtems_packet_prefix 51 rtems_packet_prefix Prefix; 52 52 Region_MP_Remote_operations operation; 53 Objects_Namename;54 rtems_option option_set;53 rtems_name name; 54 rtems_option option_set; 55 55 unsigned32 size; 56 56 Objects_Id proxy_id; … … 70 70 Region_MP_Remote_operations operation, 71 71 Objects_Id region_id, 72 Objects_Namename,72 rtems_name name, 73 73 Objects_Id proxy_id 74 74 ); -
cpukit/rtems/include/rtems/rtems/sem.h
r80e2c29e r3235ad9 32 32 #endif 33 33 34 #include <rtems.h> 34 35 #include <rtems/attr.h> 35 36 #include <rtems/object.h> … … 82 83 83 84 rtems_status_code rtems_semaphore_create( 84 Objects_Namename,85 rtems_name name, 85 86 unsigned32 count, 86 87 rtems_attribute attribute_set, … … 103 104 104 105 rtems_status_code rtems_semaphore_ident( 105 Objects_Namename,106 rtems_name name, 106 107 unsigned32 node, 107 108 Objects_Id *id -
cpukit/rtems/include/rtems/rtems/semmp.h
r80e2c29e r3235ad9 50 50 51 51 typedef struct { 52 rtems_packet_prefix 53 Semaphore_MP_Remote_operations operation;54 Objects_Namename;55 rtems_option option_set;56 Objects_Id proxy_id;52 rtems_packet_prefix Prefix; 53 Semaphore_MP_Remote_operations operation; 54 rtems_name name; 55 rtems_option option_set; 56 Objects_Id proxy_id; 57 57 } Semaphore_MP_Packet; 58 58 … … 69 69 Semaphore_MP_Remote_operations operation, 70 70 Objects_Id semaphore_id, 71 Objects_Namename,71 rtems_name name, 72 72 Objects_Id proxy_id 73 73 ); -
cpukit/rtems/include/rtems/rtems/signalmp.h
r80e2c29e r3235ad9 44 44 45 45 typedef struct { 46 rtems_packet_prefix 47 Signal_MP_Remote_operations operation;48 rtems_signal_set signal_in;46 rtems_packet_prefix Prefix; 47 Signal_MP_Remote_operations operation; 48 rtems_signal_set signal_in; 49 49 } Signal_MP_Packet; 50 50 -
cpukit/rtems/include/rtems/rtems/taskmp.h
r80e2c29e r3235ad9 55 55 56 56 typedef struct { 57 rtems_packet_prefix 58 RTEMS_tasks_MP_Remote_operations operation;59 Objects_Namename;60 rtems_task_priority 61 unsigned32 notepad;62 unsigned32 note;57 rtems_packet_prefix Prefix; 58 RTEMS_tasks_MP_Remote_operations operation; 59 rtems_name name; 60 rtems_task_priority the_priority; 61 unsigned32 notepad; 62 unsigned32 note; 63 63 } RTEMS_tasks_MP_Packet; 64 64 … … 75 75 RTEMS_tasks_MP_Remote_operations operation, 76 76 Objects_Id task_id, 77 Objects_Namename77 rtems_name name 78 78 ); 79 79 -
cpukit/rtems/include/rtems/rtems/tasks.h
r80e2c29e r3235ad9 39 39 #endif 40 40 41 #include <rtems.h> 41 42 #include <rtems/message.h> 42 43 #include <rtems/object.h> … … 75 76 76 77 rtems_status_code rtems_task_create( 77 Objects_Namename,78 rtems_name name, 78 79 rtems_task_priority initial_priority, 79 80 unsigned32 stack_size, … … 98 99 99 100 rtems_status_code rtems_task_ident( 100 Objects_Namename,101 rtems_name name, 101 102 unsigned32 node, 102 103 Objects_Id *id -
cpukit/rtems/include/rtems/rtems/timer.h
r80e2c29e r3235ad9 34 34 #endif 35 35 36 #include <rtems.h> 36 37 #include <rtems/object.h> 37 38 #include <rtems/tod.h> … … 96 97 97 98 rtems_status_code rtems_timer_create( 98 Objects_Namename,99 rtems_name name, 99 100 Objects_Id *id 100 101 ); … … 112 113 113 114 rtems_status_code rtems_timer_ident( 114 Objects_Namename,115 rtems_name name, 115 116 Objects_Id *id 116 117 ); -
cpukit/rtems/inline/rtems/rtems/tasks.inl
r80e2c29e r3235ad9 17 17 #ifndef __RTEMS_TASKS_inl 18 18 #define __RTEMS_TASKS_inl 19 20 #include <rtems/msgmp.h> 21 #include <rtems/partmp.h> 22 #include <rtems/regionmp.h> 23 #include <rtems/semmp.h> 19 24 20 25 /*PAGE -
cpukit/rtems/macros/rtems/rtems/tasks.inl
r80e2c29e r3235ad9 17 17 #ifndef __RTEMS_TASKS_inl 18 18 #define __RTEMS_TASKS_inl 19 20 #include <rtems/msgmp.h> 21 #include <rtems/partmp.h> 22 #include <rtems/regionmp.h> 23 #include <rtems/semmp.h> 19 24 20 25 /*PAGE -
cpukit/rtems/src/dpmem.c
r80e2c29e r3235ad9 14 14 15 15 #include <rtems/system.h> 16 #include <rtems/support.h> 16 17 #include <rtems/address.h> 17 18 #include <rtems/dpmem.h> … … 37 38 { 38 39 _Objects_Initialize_information( 39 &_Dual_ported_memory_Information, 40 OBJECTS_RTEMS_PORTS, 41 FALSE, 42 maximum_ports, 43 sizeof( Dual_ported_memory_Control ) 40 &_Dual_ported_memory_Information, 41 OBJECTS_RTEMS_PORTS, 42 FALSE, 43 maximum_ports, 44 sizeof( Dual_ported_memory_Control ), 45 FALSE, 46 RTEMS_MAXIMUM_NAME_LENGTH 44 47 ); 45 48 } … … 65 68 66 69 rtems_status_code rtems_port_create( 67 Objects_Namename,70 rtems_name name, 68 71 void *internal_start, 69 72 void *external_start, … … 74 77 register Dual_ported_memory_Control *the_port; 75 78 76 if ( ! _Objects_Is_name_valid( name) )79 if ( !rtems_is_name_valid( name) ) 77 80 return ( RTEMS_INVALID_NAME ); 78 81 … … 94 97 the_port->length = length - 1; 95 98 96 _Objects_Open( &_Dual_ported_memory_Information, 97 &the_port->Object, name ); 99 _Objects_Open( 100 &_Dual_ported_memory_Information, 101 &the_port->Object, 102 &name 103 ); 104 98 105 *id = the_port->Object.id; 99 106 _Thread_Enable_dispatch(); … … 119 126 120 127 rtems_status_code rtems_port_ident( 121 Objects_Namename,128 rtems_name name, 122 129 Objects_Id *id 123 130 ) … … 126 133 _Objects_Name_to_id( 127 134 &_Dual_ported_memory_Information, 128 name,135 &name, 129 136 RTEMS_SEARCH_ALL_NODES, 130 137 id -
cpukit/rtems/src/msg.c
r80e2c29e r3235ad9 23 23 #include <rtems/options.h> 24 24 #include <rtems/states.h> 25 #include <rtems/support.h> 25 26 #include <rtems/thread.h> 26 27 #include <rtems/wkspace.h> … … 49 50 TRUE, 50 51 maximum_message_queues, 51 sizeof( Message_queue_Control ) 52 sizeof( Message_queue_Control ), 53 FALSE, 54 RTEMS_MAXIMUM_NAME_LENGTH 52 55 ); 53 56 } … … 131 134 132 135 rtems_status_code rtems_message_queue_create( 133 Objects_Namename,136 rtems_name name, 134 137 unsigned32 count, 135 138 unsigned32 max_message_size, … … 140 143 register Message_queue_Control *the_message_queue; 141 144 142 if ( ! _Objects_Is_name_valid( name ) )145 if ( !rtems_is_name_valid( name ) ) 143 146 return ( RTEMS_INVALID_NAME ); 144 147 … … 195 198 STATES_WAITING_FOR_MESSAGE ); 196 199 197 _Objects_Open( &_Message_queue_Information, 198 &the_message_queue->Object, name ); 200 _Objects_Open( 201 &_Message_queue_Information, 202 &the_message_queue->Object, 203 &name 204 ); 199 205 200 206 *id = the_message_queue->Object.id; … … 231 237 232 238 rtems_status_code rtems_message_queue_ident( 233 Objects_Namename,239 rtems_name name, 234 240 unsigned32 node, 235 241 Objects_Id *id 236 242 ) 237 243 { 238 return( _Objects_Name_to_id( &_Message_queue_Information, name, 239 node, id ) ); 244 return _Objects_Name_to_id( 245 &_Message_queue_Information, 246 &name, 247 node, 248 id 249 ); 240 250 } 241 251 -
cpukit/rtems/src/msgmp.c
r80e2c29e r3235ad9 33 33 Message_queue_MP_Remote_operations operation, 34 34 Objects_Id message_queue_id, 35 Objects_Namename,35 rtems_name name, 36 36 Objects_Id proxy_id 37 37 ) … … 435 435 MESSAGE_QUEUE_MP_EXTRACT_PROXY, 436 436 the_thread->Wait.id, 437 ( Objects_Name) 0,437 (rtems_name) 0, 438 438 the_thread->Object.id 439 439 ); -
cpukit/rtems/src/part.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/address.h> 18 19 #include <rtems/config.h> … … 43 44 TRUE, 44 45 maximum_partitions, 45 sizeof( Partition_Control ) 46 sizeof( Partition_Control ), 47 FALSE, 48 RTEMS_MAXIMUM_NAME_LENGTH 46 49 ); 47 50 … … 70 73 71 74 rtems_status_code rtems_partition_create( 72 Objects_Namename,75 rtems_name name, 73 76 void *starting_address, 74 77 unsigned32 length, … … 80 83 register Partition_Control *the_partition; 81 84 82 if ( ! _Objects_Is_name_valid( name ) )85 if ( !rtems_is_name_valid( name ) ) 83 86 return ( RTEMS_INVALID_NAME ); 84 87 … … 119 122 length / buffer_size, buffer_size ); 120 123 121 _Objects_Open( &_Partition_Information, &the_partition->Object, name );124 _Objects_Open( &_Partition_Information, &the_partition->Object, &name ); 122 125 123 126 *id = the_partition->Object.id; … … 153 156 154 157 rtems_status_code rtems_partition_ident( 155 Objects_Namename,158 rtems_name name, 156 159 unsigned32 node, 157 160 Objects_Id *id 158 161 ) 159 162 { 160 return ( _Objects_Name_to_id( &_Partition_Information, name, node, id ));163 return _Objects_Name_to_id( &_Partition_Information, &name, node, id ); 161 164 } 162 165 -
cpukit/rtems/src/partmp.c
r80e2c29e r3235ad9 31 31 Partition_MP_Remote_operations operation, 32 32 Objects_Id partition_id, 33 Objects_Namename,33 rtems_name name, 34 34 Objects_Id proxy_id 35 35 ) … … 281 281 PARTITION_MP_EXTRACT_PROXY, 282 282 the_thread->Wait.id, 283 ( Objects_Name) 0,283 (rtems_name) 0, 284 284 the_thread->Object.id 285 285 ); -
cpukit/rtems/src/ratemon.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/isr.h> 18 19 #include <rtems/object.h> … … 41 42 { 42 43 _Objects_Initialize_information( 43 &_Rate_monotonic_Information, 44 OBJECTS_RTEMS_PERIODS, 45 FALSE, 46 maximum_periods, 47 sizeof( Rate_monotonic_Control ) 44 &_Rate_monotonic_Information, 45 OBJECTS_RTEMS_PERIODS, 46 FALSE, 47 maximum_periods, 48 sizeof( Rate_monotonic_Control ), 49 FALSE, 50 RTEMS_MAXIMUM_NAME_LENGTH 48 51 ); 49 52 } … … 67 70 68 71 rtems_status_code rtems_rate_monotonic_create( 69 Objects_Namename,72 rtems_name name, 70 73 Objects_Id *id 71 74 ) … … 73 76 Rate_monotonic_Control *the_period; 74 77 75 if ( ! _Objects_Is_name_valid( name ) )78 if ( !rtems_is_name_valid( name ) ) 76 79 return( RTEMS_INVALID_NAME ); 77 80 … … 88 91 the_period->state = RATE_MONOTONIC_INACTIVE; 89 92 90 _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, name );93 _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, &name ); 91 94 92 95 *id = the_period->Object.id; … … 113 116 114 117 rtems_status_code rtems_rate_monotonic_ident( 115 Objects_Namename,118 rtems_name name, 116 119 Objects_Id *id 117 120 ) … … 119 122 return _Objects_Name_to_id( 120 123 &_Rate_monotonic_Information, 121 name,124 &name, 122 125 RTEMS_SEARCH_LOCAL_NODE, 123 126 id -
cpukit/rtems/src/region.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/config.h> 18 19 #include <rtems/object.h> … … 39 40 { 40 41 _Objects_Initialize_information( 41 &_Region_Information, 42 OBJECTS_RTEMS_REGIONS, 43 FALSE, 44 maximum_regions, 45 sizeof( Region_Control ) 46 ); 42 &_Region_Information, 43 OBJECTS_RTEMS_REGIONS, 44 FALSE, 45 maximum_regions, 46 sizeof( Region_Control ), 47 FALSE, 48 RTEMS_MAXIMUM_NAME_LENGTH 49 ); 47 50 } 48 51 … … 69 72 70 73 rtems_status_code rtems_region_create( 71 Objects_Namename,74 rtems_name name, 72 75 void *starting_address, 73 76 unsigned32 length, … … 79 82 Region_Control *the_region; 80 83 81 if ( ! _Objects_Is_name_valid( name ) )84 if ( !rtems_is_name_valid( name ) ) 82 85 return ( RTEMS_INVALID_NAME ); 83 86 … … 112 115 &the_region->Wait_queue, attribute_set, STATES_WAITING_FOR_SEGMENT ); 113 116 114 _Objects_Open( &_Region_Information, &the_region->Object, name );117 _Objects_Open( &_Region_Information, &the_region->Object, &name ); 115 118 116 119 *id = the_region->Object.id; … … 137 140 138 141 rtems_status_code rtems_region_ident( 139 Objects_Namename,142 rtems_name name, 140 143 Objects_Id *id 141 144 ) … … 143 146 return _Objects_Name_to_id( 144 147 &_Region_Information, 145 name,148 &name, 146 149 RTEMS_SEARCH_LOCAL_NODE, 147 150 id -
cpukit/rtems/src/regionmp.c
r80e2c29e r3235ad9 31 31 Region_MP_Remote_operations operation, 32 32 Objects_Id region_id, 33 Objects_Namename,33 rtems_name name, 34 34 Objects_Id proxy_id 35 35 ) … … 290 290 REGION_MP_EXTRACT_PROXY, 291 291 the_thread->Wait.id, 292 ( Objects_Name) 0,292 (rtems_name) 0, 293 293 the_thread->Object.id 294 294 ); -
cpukit/rtems/src/rtemstimer.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/object.h> 18 19 #include <rtems/thread.h> … … 38 39 { 39 40 _Objects_Initialize_information( 40 &_Timer_Information, 41 OBJECTS_RTEMS_TIMERS, 42 FALSE, 43 maximum_timers, 44 sizeof( Timer_Control ) 41 &_Timer_Information, 42 OBJECTS_RTEMS_TIMERS, 43 FALSE, 44 maximum_timers, 45 sizeof( Timer_Control ), 46 FALSE, 47 RTEMS_MAXIMUM_NAME_LENGTH 45 48 ); 46 49 } … … 63 66 64 67 rtems_status_code rtems_timer_create( 65 Objects_Namename,68 rtems_name name, 66 69 Objects_Id *id 67 70 ) … … 69 72 Timer_Control *the_timer; 70 73 71 if ( ! _Objects_Is_name_valid( name ) )74 if ( !rtems_is_name_valid( name ) ) 72 75 return ( RTEMS_INVALID_NAME ); 73 76 … … 83 86 the_timer->the_class = TIMER_DORMANT; 84 87 85 _Objects_Open( &_Timer_Information, &the_timer->Object, name );88 _Objects_Open( &_Timer_Information, &the_timer->Object, &name ); 86 89 87 90 *id = the_timer->Object.id; … … 108 111 109 112 rtems_status_code rtems_timer_ident( 110 Objects_Namename,113 rtems_name name, 111 114 Objects_Id *id 112 115 ) … … 114 117 return _Objects_Name_to_id( 115 118 &_Timer_Information, 116 name,119 &name, 117 120 RTEMS_SEARCH_LOCAL_NODE, 118 121 id -
cpukit/rtems/src/sem.c
r80e2c29e r3235ad9 28 28 29 29 #include <rtems/system.h> 30 #include <rtems/support.h> 30 31 #include <rtems/attr.h> 31 32 #include <rtems/config.h> … … 57 58 _Objects_Initialize_information( 58 59 &_Semaphore_Information, 59 60 OBJECTS_RTEMS_SEMAPHORES, 60 61 TRUE, 61 62 maximum_semaphores, 62 sizeof( Semaphore_Control ) 63 sizeof( Semaphore_Control ), 64 FALSE, 65 RTEMS_MAXIMUM_NAME_LENGTH 63 66 ); 64 67 } … … 84 87 85 88 rtems_status_code rtems_semaphore_create( 86 Objects_Namename,89 rtems_name name, 87 90 unsigned32 count, 88 91 rtems_attribute attribute_set, … … 92 95 register Semaphore_Control *the_semaphore; 93 96 94 if ( ! _Objects_Is_name_valid( name ) )97 if ( !rtems_is_name_valid( name ) ) 95 98 return ( RTEMS_INVALID_NAME ); 96 99 … … 148 151 attribute_set, STATES_WAITING_FOR_SEMAPHORE ); 149 152 150 _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, name );153 _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, &name ); 151 154 152 155 *id = the_semaphore->Object.id; … … 182 185 183 186 rtems_status_code rtems_semaphore_ident( 184 Objects_Namename,187 rtems_name name, 185 188 unsigned32 node, 186 189 Objects_Id *id 187 190 ) 188 191 { 189 return( _Objects_Name_to_id( &_Semaphore_Information, name, node, id ) );192 return( _Objects_Name_to_id( &_Semaphore_Information, &name, node, id ) ); 190 193 } 191 194 -
cpukit/rtems/src/semmp.c
r80e2c29e r3235ad9 32 32 Semaphore_MP_Remote_operations operation, 33 33 Objects_Id semaphore_id, 34 Objects_Namename,34 rtems_name name, 35 35 Objects_Id proxy_id 36 36 ) … … 287 287 SEMAPHORE_MP_EXTRACT_PROXY, 288 288 the_thread->Wait.id, 289 ( Objects_Name) 0,289 (rtems_name) 0, 290 290 the_thread->Object.id 291 291 ); -
cpukit/rtems/src/taskmp.c
r80e2c29e r3235ad9 32 32 RTEMS_tasks_MP_Remote_operations operation, 33 33 Objects_Id task_id, 34 Objects_Namename34 rtems_name name 35 35 ) 36 36 { -
cpukit/rtems/src/tasks.c
r80e2c29e r3235ad9 15 15 16 16 #include <rtems/system.h> 17 #include <rtems/support.h> 17 18 #include <rtems/modes.h> 18 19 #include <rtems/object.h> … … 49 50 50 51 rtems_status_code rtems_task_create( 51 Objects_Namename,52 rtems_name name, 52 53 rtems_task_priority initial_priority, 53 54 unsigned32 stack_size, … … 63 64 rtems_attribute the_attribute_set; 64 65 65 if ( ! _Objects_Is_name_valid( name ) )66 if ( !rtems_is_name_valid( name ) ) 66 67 return ( RTEMS_INVALID_NAME ); 67 68 … … 157 158 _ASR_Initialize( &the_thread->Signal ); 158 159 159 _Objects_Open( &_Thread_Information, &the_thread->Object, name );160 _Objects_Open( &_Thread_Information, &the_thread->Object, &name ); 160 161 161 162 *id = the_thread->Object.id; … … 193 194 194 195 rtems_status_code rtems_task_ident( 195 Objects_Namename,196 rtems_name name, 196 197 unsigned32 node, 197 198 Objects_Id *id … … 199 200 { 200 201 if ( name != OBJECTS_ID_OF_SELF ) 201 return( _Objects_Name_to_id( &_Thread_Information, name, node, id ) );202 return( _Objects_Name_to_id( &_Thread_Information, &name, node, id ) ); 202 203 203 204 *id = _Thread_Executing->Object.id;
Note: See TracChangeset
for help on using the changeset viewer.