Changeset 1d496f6 in rtems
- Timestamp:
- 03/29/04 16:04:42 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8bd41178
- Parents:
- 850c88d
- Location:
- cpukit
- Files:
-
- 72 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r850c88d r1d496f6 1 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * rtems/include/rtems.h, 4 rtems/include/rtems/rtems/asr.h, 5 rtems/include/rtems/rtems/attr.h, 6 rtems/include/rtems/rtems/clock.h, 7 rtems/include/rtems/rtems/config.h, 8 rtems/include/rtems/rtems/dpmem.h, 9 rtems/include/rtems/rtems/eventset.h, 10 rtems/include/rtems/rtems/message.h, 11 rtems/include/rtems/rtems/modes.h, 12 rtems/include/rtems/rtems/msgmp.h, 13 rtems/include/rtems/rtems/options.h, 14 rtems/include/rtems/rtems/part.h, 15 rtems/include/rtems/rtems/ratemon.h, 16 rtems/include/rtems/rtems/region.h, 17 rtems/include/rtems/rtems/regionmp.h, 18 rtems/include/rtems/rtems/sem.h, 19 rtems/include/rtems/rtems/support.h, 20 rtems/include/rtems/rtems/taskmp.h, 21 rtems/include/rtems/rtems/tasks.h, 22 rtems/include/rtems/rtems/timer.h, 23 rtems/inline/rtems/rtems/part.inl, 24 rtems/inline/rtems/rtems/region.inl, 25 rtems/macros/rtems/rtems/part.inl, 26 rtems/src/attr.c, 27 rtems/src/dpmem.c, 28 rtems/src/dpmemcreate.c, 29 rtems/src/dpmemexternal2internal.c, 30 rtems/src/dpmeminternal2external.c, 31 rtems/src/eventseize.c, 32 rtems/src/msg.c, 33 rtems/src/msgmp.c, 34 rtems/src/msgqallocate.c, 35 rtems/src/msgqbroadcast.c, 36 rtems/src/msgqcreate.c, 37 rtems/src/msgqflush.c, 38 rtems/src/msgqgetnumberpending.c, 39 rtems/src/msgqident.c, 40 rtems/src/msgqreceive.c, 41 rtems/src/msgqsend.c, 42 rtems/src/msgqsubmit.c, 43 rtems/src/msgqtranslatereturncode.c, 44 rtems/src/msgqurgent.c, 45 rtems/src/part.c, 46 rtems/src/partcreate.c, 47 rtems/src/partident.c, 48 rtems/src/partmp.c, 49 rtems/src/ratemon.c, 50 rtems/src/region.c, 51 rtems/src/regioncreate.c, 52 rtems/src/regionextend.c, 53 rtems/src/regiongetsegment.c, 54 rtems/src/regiongetsegmentsize.c, 55 rtems/src/regionmp.c, 56 rtems/src/regionreturnsegment.c, 57 rtems/src/rtemstimer.c, 58 rtems/src/sem.c, 59 rtems/src/semcreate.c, 60 rtems/src/semident.c, 61 rtems/src/semmp.c, 62 rtems/src/semobtain.c, 63 rtems/src/semtranslatereturncode.c, 64 rtems/src/taskcreate.c, 65 rtems/src/taskgetnote.c, 66 rtems/src/taskident.c, 67 rtems/src/taskinitusers.c, 68 rtems/src/taskmp.c, 69 rtems/src/taskrestart.c, 70 rtems/src/tasks.c, 71 rtems/src/tasksetnote.c, 72 rtems/src/taskstart.c, 73 rtems/src/timerserver.c: Convert to using c99 fixed size types. 74 1 75 2004-04-29 Ralf Corsepius <ralf_corsepius@rtems.org> 2 76 -
cpukit/rtems/include/rtems.h
r850c88d r1d496f6 107 107 108 108 /* 109 * The following constant defines the number of u nsigned32's109 * The following constant defines the number of uint32_t 's 110 110 * in a packet which must be converted to native format in a 111 111 * heterogeneous system. In packets longer than 112 * MP_PACKET_MINIMUN_HETERO_CONVERSION u nsigned32's, some of the "extra" data112 * MP_PACKET_MINIMUN_HETERO_CONVERSION uint32_t 's, some of the "extra" data 113 113 * may a user message buffer which is not automatically endian swapped. 114 114 */ -
cpukit/rtems/include/rtems/rtems/asr.h
r850c88d r1d496f6 30 30 */ 31 31 32 typedef u nsigned32rtems_signal_set;32 typedef uint32_t rtems_signal_set; 33 33 34 34 /* … … 59 59 rtems_signal_set signals_posted; /* signal set */ 60 60 rtems_signal_set signals_pending; /* pending signal set */ 61 u nsigned32nest_level; /* nest level of RTEMS_ASR */61 uint32_t nest_level; /* nest level of RTEMS_ASR */ 62 62 } ASR_Information; 63 63 -
cpukit/rtems/include/rtems/rtems/attr.h
r850c88d r1d496f6 23 23 /* types */ 24 24 25 typedef u nsigned32rtems_attribute;25 typedef uint32_t rtems_attribute; 26 26 27 27 /* constants */ -
cpukit/rtems/include/rtems/rtems/clock.h
r850c88d r1d496f6 49 49 50 50 typedef struct { 51 u nsigned32seconds;52 u nsigned32microseconds;51 uint32_t seconds; 52 uint32_t microseconds; 53 53 } rtems_clock_time_value; 54 54 -
cpukit/rtems/include/rtems/rtems/config.h
r850c88d r1d496f6 34 34 35 35 typedef struct { 36 rtems_unsigned32maximum_tasks;37 rtems_unsigned32maximum_timers;38 rtems_unsigned32maximum_semaphores;39 rtems_unsigned32maximum_message_queues;40 rtems_unsigned32maximum_partitions;41 rtems_unsigned32maximum_regions;42 rtems_unsigned32maximum_ports;43 rtems_unsigned32maximum_periods;44 rtems_unsigned32number_of_initialization_tasks;36 uint32_t maximum_tasks; 37 uint32_t maximum_timers; 38 uint32_t maximum_semaphores; 39 uint32_t maximum_message_queues; 40 uint32_t maximum_partitions; 41 uint32_t maximum_regions; 42 uint32_t maximum_ports; 43 uint32_t maximum_periods; 44 uint32_t number_of_initialization_tasks; 45 45 rtems_initialization_tasks_table *User_initialization_tasks_table; 46 46 } rtems_api_configuration_table; -
cpukit/rtems/include/rtems/rtems/dpmem.h
r850c88d r1d496f6 44 44 void *internal_base; /* base internal address */ 45 45 void *external_base; /* base external address */ 46 u nsigned32length; /* length of dual-ported area */46 uint32_t length; /* length of dual-ported area */ 47 47 } Dual_ported_memory_Control; 48 48 … … 62 62 63 63 void _Dual_ported_memory_Manager_initialization( 64 u nsigned32maximum_ports64 uint32_t maximum_ports 65 65 ); 66 66 … … 81 81 void *internal_start, 82 82 void *external_start, 83 u nsigned32length,83 uint32_t length, 84 84 Objects_Id *id 85 85 ); -
cpukit/rtems/include/rtems/rtems/eventset.h
r850c88d r1d496f6 26 26 */ 27 27 28 typedef u nsigned32rtems_event_set;28 typedef uint32_t rtems_event_set; 29 29 30 30 /* -
cpukit/rtems/include/rtems/rtems/message.h
r850c88d r1d496f6 79 79 80 80 void _Message_queue_Manager_initialization( 81 u nsigned32maximum_message_queues81 uint32_t maximum_message_queues 82 82 ); 83 83 … … 97 97 rtems_status_code rtems_message_queue_create( 98 98 rtems_name name, 99 u nsigned32count,100 u nsigned32max_message_size,99 uint32_t count, 100 uint32_t max_message_size, 101 101 rtems_attribute attribute_set, 102 102 Objects_Id *id … … 119 119 rtems_status_code rtems_message_queue_ident( 120 120 rtems_name name, 121 u nsigned32node,121 uint32_t node, 122 122 Objects_Id *id 123 123 ); … … 155 155 Objects_Id id, 156 156 void *buffer, 157 u nsigned32size157 uint32_t size 158 158 ); 159 159 … … 173 173 Objects_Id id, 174 174 void *buffer, 175 u nsigned32size175 uint32_t size 176 176 ); 177 177 … … 190 190 Objects_Id id, 191 191 void *buffer, 192 u nsigned32size,193 u nsigned32*count192 uint32_t size, 193 uint32_t *count 194 194 ); 195 195 … … 211 211 Objects_Id id, 212 212 void *buffer, 213 u nsigned32*size,214 u nsigned32option_set,213 uint32_t *size, 214 uint32_t option_set, 215 215 rtems_interval timeout 216 216 ); … … 229 229 rtems_status_code rtems_message_queue_flush( 230 230 Objects_Id id, 231 u nsigned32*count231 uint32_t *count 232 232 ); 233 233 … … 245 245 rtems_status_code rtems_message_queue_get_number_pending( 246 246 Objects_Id id, 247 u nsigned32*count247 uint32_t *count 248 248 ); 249 249 … … 265 265 Objects_Id id, 266 266 void *buffer, 267 u nsigned32size,267 uint32_t size, 268 268 Message_queue_Submit_types submit_type 269 269 ); … … 279 279 280 280 Message_queue_Control *_Message_queue_Allocate ( 281 u nsigned32count,282 u nsigned32max_message_size281 uint32_t count, 282 uint32_t max_message_size 283 283 ); 284 284 … … 293 293 294 294 rtems_status_code _Message_queue_Translate_core_message_queue_return_code ( 295 u nsigned32the_message_queue_status295 uint32_t the_message_queue_status 296 296 ); 297 297 -
cpukit/rtems/include/rtems/rtems/modes.h
r850c88d r1d496f6 28 28 */ 29 29 30 typedef u nsigned32Modes_Control;30 typedef uint32_t Modes_Control; 31 31 32 32 /* -
cpukit/rtems/include/rtems/rtems/msgmp.h
r850c88d r1d496f6 62 62 rtems_option option_set; 63 63 Objects_Id proxy_id; 64 u nsigned32count;65 u nsigned32size;66 u nsigned32pad0;64 uint32_t count; 65 uint32_t size; 66 uint32_t pad0; 67 67 CORE_message_queue_Buffer Buffer; 68 68 } Message_queue_MP_Packet; … … 97 97 Objects_Id message_queue_id, 98 98 void *buffer, 99 u nsigned32*size_p,99 uint32_t *size_p, 100 100 rtems_option option_set, 101 101 Watchdog_Interval timeout -
cpukit/rtems/include/rtems/rtems/options.h
r850c88d r1d496f6 26 26 */ 27 27 28 typedef u nsigned32rtems_option;28 typedef uint32_t rtems_option; 29 29 30 30 /* -
cpukit/rtems/include/rtems/rtems/part.h
r850c88d r1d496f6 43 43 Objects_Control Object; 44 44 void *starting_address; /* physical address */ 45 u nsigned32length; /* in bytes */46 u nsigned32buffer_size; /* in bytes */45 uint32_t length; /* in bytes */ 46 uint32_t buffer_size; /* in bytes */ 47 47 rtems_attribute attribute_set; /* attributes */ 48 u nsigned32number_of_used_blocks; /* or allocated buffers */48 uint32_t number_of_used_blocks; /* or allocated buffers */ 49 49 Chain_Control Memory; /* buffer chain */ 50 50 } Partition_Control; … … 66 66 67 67 void _Partition_Manager_initialization( 68 u nsigned32maximum_partitions68 uint32_t maximum_partitions 69 69 ); 70 70 … … 86 86 rtems_name name, 87 87 void *starting_address, 88 u nsigned32length,89 u nsigned32buffer_size,88 uint32_t length, 89 uint32_t buffer_size, 90 90 rtems_attribute attribute_set, 91 91 Objects_Id *id … … 108 108 rtems_status_code rtems_partition_ident( 109 109 rtems_name name, 110 u nsigned32node,110 uint32_t node, 111 111 Objects_Id *id 112 112 ); -
cpukit/rtems/include/rtems/rtems/ratemon.h
r850c88d r1d496f6 62 62 typedef struct { 63 63 rtems_rate_monotonic_period_states state; 64 u nsigned32ticks_since_last_period;65 u nsigned32ticks_executed_since_last_period;64 uint32_t ticks_since_last_period; 65 uint32_t ticks_executed_since_last_period; 66 66 } rtems_rate_monotonic_period_status; 67 67 … … 75 75 Watchdog_Control Timer; 76 76 rtems_rate_monotonic_period_states state; 77 u nsigned32owner_ticks_executed_at_period;78 u nsigned32time_at_period;79 u nsigned32next_length;77 uint32_t owner_ticks_executed_at_period; 78 uint32_t time_at_period; 79 uint32_t next_length; 80 80 Thread_Control *owner; 81 81 } Rate_monotonic_Control; … … 92 92 93 93 void _Rate_monotonic_Manager_initialization( 94 u nsigned32maximum_periods94 uint32_t maximum_periods 95 95 ); 96 96 -
cpukit/rtems/include/rtems/rtems/region.h
r850c88d r1d496f6 46 46 Thread_queue_Control Wait_queue; /* waiting threads */ 47 47 void *starting_address; /* physical start addr */ 48 u nsigned32length; /* physical length(bytes) */49 u nsigned32page_size; /* in bytes */50 u nsigned32maximum_segment_size; /* in bytes */48 uint32_t length; /* physical length(bytes) */ 49 uint32_t page_size; /* in bytes */ 50 uint32_t maximum_segment_size; /* in bytes */ 51 51 rtems_attribute attribute_set; 52 u nsigned32number_of_used_blocks; /* blocks allocated */52 uint32_t number_of_used_blocks; /* blocks allocated */ 53 53 Heap_Control Memory; 54 54 } Region_Control; … … 70 70 71 71 void _Region_Manager_initialization( 72 u nsigned32maximum_regions72 uint32_t maximum_regions 73 73 ); 74 74 … … 90 90 rtems_name name, 91 91 void *starting_address, 92 u nsigned32length,93 u nsigned32page_size,92 uint32_t length, 93 uint32_t page_size, 94 94 rtems_attribute attribute_set, 95 95 Objects_Id *id … … 110 110 Objects_Id id, 111 111 void *starting_address, 112 u nsigned32length112 uint32_t length 113 113 ); 114 114 … … 173 173 rtems_status_code rtems_region_get_segment( 174 174 Objects_Id id, 175 u nsigned32size,175 uint32_t size, 176 176 rtems_option option_set, 177 177 rtems_interval timeout, … … 191 191 Objects_Id id, 192 192 void *segment, 193 u nsigned32*size193 uint32_t *size 194 194 ); 195 195 -
cpukit/rtems/include/rtems/rtems/regionmp.h
r850c88d r1d496f6 53 53 rtems_name name; 54 54 rtems_option option_set; 55 u nsigned32size;55 uint32_t size; 56 56 Objects_Id proxy_id; 57 57 void *segment; … … 87 87 Objects_Id region_id, 88 88 void *segment, 89 u nsigned32size,89 uint32_t size, 90 90 rtems_option option_set, 91 91 rtems_interval timeout -
cpukit/rtems/include/rtems/rtems/sem.h
r850c88d r1d496f6 69 69 70 70 void _Semaphore_Manager_initialization( 71 u nsigned32maximum_semaphores71 uint32_t maximum_semaphores 72 72 ); 73 73 … … 86 86 rtems_status_code rtems_semaphore_create( 87 87 rtems_name name, 88 u nsigned32count,88 uint32_t count, 89 89 rtems_attribute attribute_set, 90 90 rtems_task_priority priority_ceiling, … … 108 108 rtems_status_code rtems_semaphore_ident( 109 109 rtems_name name, 110 u nsigned32node,110 uint32_t node, 111 111 rtems_id *id 112 112 ); … … 141 141 rtems_status_code rtems_semaphore_obtain( 142 142 rtems_id id, 143 u nsigned32option_set,143 uint32_t option_set, 144 144 rtems_interval timeout 145 145 ); … … 185 185 boolean _Semaphore_Seize( 186 186 Semaphore_Control *the_semaphore, 187 u nsigned32option_set187 uint32_t option_set 188 188 ); 189 189 … … 198 198 199 199 rtems_status_code _Semaphore_Translate_core_mutex_return_code ( 200 u nsigned32the_mutex_status200 uint32_t the_mutex_status 201 201 ); 202 202 … … 211 211 212 212 rtems_status_code _Semaphore_Translate_core_semaphore_return_code ( 213 u nsigned32the_mutex_status213 uint32_t the_mutex_status 214 214 ); 215 215 -
cpukit/rtems/include/rtems/rtems/support.h
r850c88d r1d496f6 38 38 39 39 #define rtems_build_name( _C1, _C2, _C3, _C4 ) \ 40 ( (u nsigned32)(_C1) << 24 | (unsigned32)(_C2) << 16 | (unsigned32)(_C3) << 8 | (unsigned32)(_C4) )40 ( (uint32_t )(_C1) << 24 | (uint32_t )(_C2) << 16 | (uint32_t )(_C3) << 8 | (uint32_t )(_C4) ) 41 41 42 42 /* -
cpukit/rtems/include/rtems/rtems/taskmp.h
r850c88d r1d496f6 58 58 rtems_name name; 59 59 rtems_task_priority the_priority; 60 u nsigned32notepad;61 u nsigned32note;60 uint32_t notepad; 61 uint32_t note; 62 62 } RTEMS_tasks_MP_Packet; 63 63 … … 90 90 Objects_Id task_id, 91 91 rtems_task_priority the_priority, 92 u nsigned32notepad,93 u nsigned32note92 uint32_t notepad, 93 uint32_t note 94 94 ); 95 95 -
cpukit/rtems/include/rtems/rtems/tasks.h
r850c88d r1d496f6 119 119 */ 120 120 121 typedef u nsigned32rtems_task_argument;121 typedef uint32_t rtems_task_argument; 122 122 123 123 /* … … 138 138 typedef struct { 139 139 rtems_name name; /* task name */ 140 u nsigned32stack_size; /* task stack size */140 uint32_t stack_size; /* task stack size */ 141 141 rtems_task_priority initial_priority; /* task priority */ 142 142 rtems_attribute attribute_set; /* task attributes */ 143 143 rtems_task_entry entry_point; /* task entry point */ 144 144 rtems_mode mode_set; /* task initial mode */ 145 u nsigned32argument; /* task argument */145 uint32_t argument; /* task argument */ 146 146 } rtems_initialization_tasks_table; 147 147 … … 153 153 154 154 typedef struct { 155 u nsigned32Notepads[ RTEMS_NUMBER_NOTEPADS ];155 uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ]; 156 156 rtems_event_set pending_events; 157 157 rtems_event_set event_condition; … … 172 172 RTEMS_EXTERN rtems_initialization_tasks_table 173 173 *_RTEMS_tasks_User_initialization_tasks; 174 RTEMS_EXTERN u nsigned32_RTEMS_tasks_Number_of_initialization_tasks;174 RTEMS_EXTERN uint32_t _RTEMS_tasks_Number_of_initialization_tasks; 175 175 176 176 /* … … 183 183 184 184 void _RTEMS_tasks_Manager_initialization( 185 u nsigned32maximum_tasks,186 u nsigned32number_of_initialization_tasks,185 uint32_t maximum_tasks, 186 uint32_t number_of_initialization_tasks, 187 187 rtems_initialization_tasks_table *user_tasks 188 188 ); … … 204 204 rtems_name name, 205 205 rtems_task_priority initial_priority, 206 u nsigned32stack_size,206 uint32_t stack_size, 207 207 rtems_mode initial_modes, 208 208 rtems_attribute attribute_set, … … 226 226 rtems_status_code rtems_task_ident( 227 227 rtems_name name, 228 u nsigned32node,228 uint32_t node, 229 229 Objects_Id *id 230 230 ); … … 255 255 rtems_status_code rtems_task_get_note( 256 256 Objects_Id id, 257 u nsigned32notepad,258 u nsigned32*note257 uint32_t notepad, 258 uint32_t *note 259 259 ); 260 260 … … 271 271 rtems_status_code rtems_task_set_note( 272 272 Objects_Id id, 273 u nsigned32notepad,274 u nsigned32note273 uint32_t notepad, 274 uint32_t note 275 275 ); 276 276 … … 304 304 rtems_status_code rtems_task_restart( 305 305 Objects_Id id, 306 u nsigned32arg306 uint32_t arg 307 307 ); 308 308 … … 363 363 Objects_Id id, 364 364 rtems_task_entry entry_point, 365 u nsigned32argument365 uint32_t argument 366 366 ); 367 367 -
cpukit/rtems/include/rtems/rtems/timer.h
r850c88d r1d496f6 117 117 118 118 void _Timer_Manager_initialization( 119 u nsigned32maximum_timers119 uint32_t maximum_timers 120 120 ); 121 121 … … 132 132 133 133 Thread _Timer_Server_body( 134 u nsigned32ignored134 uint32_t ignored 135 135 ); 136 136 … … 296 296 297 297 rtems_status_code rtems_timer_initiate_server( 298 u nsigned32priority,299 u nsigned32stack_size,298 uint32_t priority, 299 uint32_t stack_size, 300 300 rtems_attribute attribute_set 301 301 ); -
cpukit/rtems/inline/rtems/rtems/part.inl
r850c88d r1d496f6 67 67 ) 68 68 { 69 u nsigned32offset;69 uint32_t offset; 70 70 71 offset = (u nsigned32) _Addresses_Subtract(71 offset = (uint32_t ) _Addresses_Subtract( 72 72 the_buffer, 73 73 the_partition->starting_address … … 116 116 117 117 RTEMS_INLINE_ROUTINE boolean _Partition_Is_buffer_size_aligned ( 118 u nsigned32buffer_size118 uint32_t buffer_size 119 119 ) 120 120 { -
cpukit/rtems/inline/rtems/rtems/region.inl
r850c88d r1d496f6 84 84 RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment ( 85 85 Region_Control *the_region, 86 u nsigned32size86 uint32_t size 87 87 ) 88 88 { -
cpukit/rtems/macros/rtems/rtems/part.inl
r850c88d r1d496f6 42 42 43 43 #define _Partition_Is_buffer_on_boundary( _the_buffer, _the_partition ) \ 44 ((((u nsigned32) _Addresses_Subtract( \44 ((((uint32_t ) _Addresses_Subtract( \ 45 45 (_the_buffer), \ 46 46 (_the_partition)->starting_address ) \ -
cpukit/rtems/src/attr.c
r850c88d r1d496f6 18 18 #include <rtems/rtems/modes.h> 19 19 20 rtems_unsigned32rtems_minimum_stack_size = STACK_MINIMUM_SIZE;21 rtems_unsigned32rtems_interrupt_mask = RTEMS_INTERRUPT_MASK;20 uint32_t rtems_minimum_stack_size = STACK_MINIMUM_SIZE; 21 uint32_t rtems_interrupt_mask = RTEMS_INTERRUPT_MASK; 22 22 23 23 rtems_attribute rtems_interrupt_level_attribute( 24 u nsigned32level24 uint32_t level 25 25 ) 26 26 { -
cpukit/rtems/src/dpmem.c
r850c88d r1d496f6 35 35 36 36 void _Dual_ported_memory_Manager_initialization( 37 u nsigned32maximum_ports37 uint32_t maximum_ports 38 38 ) 39 39 { -
cpukit/rtems/src/dpmemcreate.c
r850c88d r1d496f6 44 44 void *internal_start, 45 45 void *external_start, 46 u nsigned32length,46 uint32_t length, 47 47 Objects_Id *id 48 48 ) -
cpukit/rtems/src/dpmemexternal2internal.c
r850c88d r1d496f6 48 48 register Dual_ported_memory_Control *the_port; 49 49 Objects_Locations location; 50 u nsigned32ending;50 uint32_t ending; 51 51 52 52 the_port = _Dual_ported_memory_Get( id, &location ); -
cpukit/rtems/src/dpmeminternal2external.c
r850c88d r1d496f6 48 48 register Dual_ported_memory_Control *the_port; 49 49 Objects_Locations location; 50 u nsigned32ending;50 uint32_t ending; 51 51 52 52 the_port = _Dual_ported_memory_Get( id, &location ); -
cpukit/rtems/src/eventseize.c
r850c88d r1d496f6 85 85 _Event_Sync_state = EVENT_SYNC_NOTHING_HAPPENED; 86 86 87 executing->Wait.option = (u nsigned32) option_set;88 executing->Wait.count = (u nsigned32) event_in;87 executing->Wait.option = (uint32_t ) option_set; 88 executing->Wait.count = (uint32_t ) event_in; 89 89 executing->Wait.return_argument = event_out; 90 90 -
cpukit/rtems/src/msg.c
r850c88d r1d496f6 45 45 46 46 void _Message_queue_Manager_initialization( 47 u nsigned32maximum_message_queues47 uint32_t maximum_message_queues 48 48 ) 49 49 { -
cpukit/rtems/src/msgmp.c
r850c88d r1d496f6 38 38 { 39 39 Message_queue_MP_Packet *the_packet; 40 u nsigned32node;40 uint32_t node; 41 41 42 42 switch ( operation ) { … … 90 90 Objects_Id message_queue_id, 91 91 void *buffer, 92 u nsigned32*size_p,92 uint32_t *size_p, 93 93 rtems_option option_set, 94 94 rtems_interval timeout … … 165 165 the_packet->size = 0; /* just in case of an error */ 166 166 167 _Thread_Executing->Wait.return_argument = (u nsigned32*)buffer;167 _Thread_Executing->Wait.return_argument = (uint32_t *)buffer; 168 168 _Thread_Executing->Wait.return_argument_1 = size_p; 169 169 … … 319 319 320 320 if (the_packet->Prefix.return_code == RTEMS_SUCCESSFUL) { 321 *( rtems_unsigned32*)the_thread->Wait.return_argument_1 =321 *(uint32_t *)the_thread->Wait.return_argument_1 = 322 322 the_packet->size; 323 323 … … 392 392 the_thread = _MPCI_Process_response( the_packet_prefix ); 393 393 394 *(u nsigned32*)the_thread->Wait.return_argument = the_packet->count;394 *(uint32_t *)the_thread->Wait.return_argument = the_packet->count; 395 395 396 396 _MPCI_Return_packet( the_packet_prefix ); -
cpukit/rtems/src/msgqallocate.c
r850c88d r1d496f6 47 47 48 48 Message_queue_Control *_Message_queue_Allocate ( 49 u nsigned32count,50 u nsigned32max_message_size49 uint32_t count, 50 uint32_t max_message_size 51 51 ) 52 52 { -
cpukit/rtems/src/msgqbroadcast.c
r850c88d r1d496f6 53 53 Objects_Id id, 54 54 void *buffer, 55 u nsigned32size,56 u nsigned32*count55 uint32_t size, 56 uint32_t *count 57 57 ) 58 58 { -
cpukit/rtems/src/msgqcreate.c
r850c88d r1d496f6 53 53 rtems_status_code rtems_message_queue_create( 54 54 rtems_name name, 55 u nsigned32count,56 u nsigned32max_message_size,55 uint32_t count, 56 uint32_t max_message_size, 57 57 rtems_attribute attribute_set, 58 58 Objects_Id *id -
cpukit/rtems/src/msgqflush.c
r850c88d r1d496f6 51 51 rtems_status_code rtems_message_queue_flush( 52 52 Objects_Id id, 53 u nsigned32*count53 uint32_t *count 54 54 ) 55 55 { -
cpukit/rtems/src/msgqgetnumberpending.c
r850c88d r1d496f6 49 49 rtems_status_code rtems_message_queue_get_number_pending( 50 50 Objects_Id id, 51 u nsigned32*count51 uint32_t *count 52 52 ) 53 53 { -
cpukit/rtems/src/msgqident.c
r850c88d r1d496f6 51 51 rtems_status_code rtems_message_queue_ident( 52 52 rtems_name name, 53 u nsigned32node,53 uint32_t node, 54 54 Objects_Id *id 55 55 ) -
cpukit/rtems/src/msgqreceive.c
r850c88d r1d496f6 53 53 Objects_Id id, 54 54 void *buffer, 55 u nsigned32*size,56 u nsigned32option_set,55 uint32_t *size, 56 uint32_t option_set, 57 57 rtems_interval timeout 58 58 ) -
cpukit/rtems/src/msgqsend.c
r850c88d r1d496f6 51 51 Objects_Id id, 52 52 void *buffer, 53 u nsigned32size53 uint32_t size 54 54 ) 55 55 { -
cpukit/rtems/src/msgqsubmit.c
r850c88d r1d496f6 62 62 Objects_Id id, 63 63 void *buffer, 64 u nsigned32size,64 uint32_t size, 65 65 Message_queue_Submit_types submit_type 66 66 ) -
cpukit/rtems/src/msgqtranslatereturncode.c
r850c88d r1d496f6 54 54 55 55 rtems_status_code _Message_queue_Translate_core_message_queue_return_code ( 56 u nsigned32status56 uint32_t status 57 57 ) 58 58 { -
cpukit/rtems/src/msgqurgent.c
r850c88d r1d496f6 51 51 Objects_Id id, 52 52 void *buffer, 53 u nsigned32size53 uint32_t size 54 54 ) 55 55 { -
cpukit/rtems/src/part.c
r850c88d r1d496f6 36 36 37 37 void _Partition_Manager_initialization( 38 u nsigned32maximum_partitions38 uint32_t maximum_partitions 39 39 ) 40 40 { -
cpukit/rtems/src/partcreate.c
r850c88d r1d496f6 46 46 rtems_name name, 47 47 void *starting_address, 48 u nsigned32length,49 u nsigned32buffer_size,48 uint32_t length, 49 uint32_t buffer_size, 50 50 rtems_attribute attribute_set, 51 51 Objects_Id *id -
cpukit/rtems/src/partident.c
r850c88d r1d496f6 42 42 rtems_status_code rtems_partition_ident( 43 43 rtems_name name, 44 u nsigned32node,44 uint32_t node, 45 45 Objects_Id *id 46 46 ) -
cpukit/rtems/src/partmp.c
r850c88d r1d496f6 37 37 { 38 38 Partition_MP_Packet *the_packet; 39 u nsigned32node;39 uint32_t node; 40 40 41 41 switch ( operation ) { -
cpukit/rtems/src/ratemon.c
r850c88d r1d496f6 38 38 39 39 void _Rate_monotonic_Manager_initialization( 40 u nsigned32maximum_periods40 uint32_t maximum_periods 41 41 ) 42 42 { -
cpukit/rtems/src/region.c
r850c88d r1d496f6 36 36 37 37 void _Region_Manager_initialization( 38 u nsigned32maximum_regions38 uint32_t maximum_regions 39 39 ) 40 40 { -
cpukit/rtems/src/regioncreate.c
r850c88d r1d496f6 47 47 rtems_name name, 48 48 void *starting_address, 49 u nsigned32length,50 u nsigned32page_size,49 uint32_t length, 50 uint32_t page_size, 51 51 rtems_attribute attribute_set, 52 52 Objects_Id *id -
cpukit/rtems/src/regionextend.c
r850c88d r1d496f6 43 43 Objects_Id id, 44 44 void *starting_address, 45 u nsigned32length45 uint32_t length 46 46 ) 47 47 { 48 48 Region_Control *the_region; 49 49 Objects_Locations location; 50 u nsigned32amount_extended;50 uint32_t amount_extended; 51 51 Heap_Extend_status heap_status; 52 52 rtems_status_code status; -
cpukit/rtems/src/regiongetsegment.c
r850c88d r1d496f6 44 44 rtems_status_code rtems_region_get_segment( 45 45 Objects_Id id, 46 u nsigned32size,46 uint32_t size, 47 47 rtems_option option_set, 48 48 rtems_interval timeout, -
cpukit/rtems/src/regiongetsegmentsize.c
r850c88d r1d496f6 43 43 Objects_Id id, 44 44 void *segment, 45 u nsigned32*size45 uint32_t *size 46 46 ) 47 47 { -
cpukit/rtems/src/regionmp.c
r850c88d r1d496f6 37 37 { 38 38 Region_MP_Packet *the_packet; 39 u nsigned32node;39 uint32_t node; 40 40 41 41 switch ( operation ) { … … 80 80 Objects_Id region_id, 81 81 void *segment, 82 u nsigned32size,82 uint32_t size, 83 83 rtems_option option_set, 84 84 rtems_interval timeout -
cpukit/rtems/src/regionreturnsegment.c
r850c88d r1d496f6 56 56 void **the_segment; 57 57 #ifdef RTEMS_REGION_FREE_SHRED_PATTERN 58 u nsigned32size;58 uint32_t size; 59 59 #endif 60 60 int status; -
cpukit/rtems/src/rtemstimer.c
r850c88d r1d496f6 35 35 36 36 void _Timer_Manager_initialization( 37 u nsigned32maximum_timers37 uint32_t maximum_timers 38 38 ) 39 39 { -
cpukit/rtems/src/sem.c
r850c88d r1d496f6 59 59 60 60 void _Semaphore_Manager_initialization( 61 u nsigned32maximum_semaphores61 uint32_t maximum_semaphores 62 62 ) 63 63 { -
cpukit/rtems/src/semcreate.c
r850c88d r1d496f6 68 68 rtems_status_code rtems_semaphore_create( 69 69 rtems_name name, 70 u nsigned32count,70 uint32_t count, 71 71 rtems_attribute attribute_set, 72 72 rtems_task_priority priority_ceiling, … … 77 77 CORE_mutex_Attributes the_mutex_attributes; 78 78 CORE_semaphore_Attributes the_semaphore_attributes; 79 u nsigned32lock;79 uint32_t lock; 80 80 81 81 if ( !rtems_is_name_valid( name ) ) -
cpukit/rtems/src/semident.c
r850c88d r1d496f6 66 66 rtems_status_code rtems_semaphore_ident( 67 67 rtems_name name, 68 u nsigned32node,68 uint32_t node, 69 69 Objects_Id *id 70 70 ) -
cpukit/rtems/src/semmp.c
r850c88d r1d496f6 38 38 { 39 39 Semaphore_MP_Packet *the_packet; 40 u nsigned32node;40 uint32_t node; 41 41 42 42 switch ( operation ) { -
cpukit/rtems/src/semobtain.c
r850c88d r1d496f6 64 64 rtems_status_code rtems_semaphore_obtain( 65 65 Objects_Id id, 66 u nsigned32option_set,66 uint32_t option_set, 67 67 rtems_interval timeout 68 68 ) -
cpukit/rtems/src/semtranslatereturncode.c
r850c88d r1d496f6 70 70 71 71 rtems_status_code _Semaphore_Translate_core_mutex_return_code ( 72 u nsigned32the_mutex_status72 uint32_t the_mutex_status 73 73 ) 74 74 { … … 106 106 107 107 rtems_status_code _Semaphore_Translate_core_semaphore_return_code ( 108 u nsigned32the_semaphore_status108 uint32_t the_semaphore_status 109 109 ) 110 110 { -
cpukit/rtems/src/taskcreate.c
r850c88d r1d496f6 54 54 rtems_name name, 55 55 rtems_task_priority initial_priority, 56 u nsigned32stack_size,56 uint32_t stack_size, 57 57 rtems_mode initial_modes, 58 58 rtems_attribute attribute_set, -
cpukit/rtems/src/taskgetnote.c
r850c88d r1d496f6 49 49 rtems_status_code rtems_task_get_note( 50 50 Objects_Id id, 51 u nsigned32notepad,52 u nsigned32*note51 uint32_t notepad, 52 uint32_t *note 53 53 ) 54 54 { -
cpukit/rtems/src/taskident.c
r850c88d r1d496f6 49 49 rtems_status_code rtems_task_ident( 50 50 rtems_name name, 51 u nsigned32node,51 uint32_t node, 52 52 Objects_Id *id 53 53 ) -
cpukit/rtems/src/taskinitusers.c
r850c88d r1d496f6 43 43 void _RTEMS_tasks_Initialize_user_tasks( void ) 44 44 { 45 u nsigned32index;46 u nsigned32maximum;45 uint32_t index; 46 uint32_t maximum; 47 47 rtems_id id; 48 48 rtems_status_code return_value; -
cpukit/rtems/src/taskmp.c
r850c88d r1d496f6 78 78 Objects_Id task_id, 79 79 rtems_task_priority new_priority, 80 u nsigned32notepad,81 u nsigned32note80 uint32_t notepad, 81 uint32_t note 82 82 ) 83 83 { … … 287 287 the_thread = _MPCI_Process_response( the_packet_prefix ); 288 288 289 *(u nsigned32*)the_thread->Wait.return_argument = the_packet->note;289 *(uint32_t *)the_thread->Wait.return_argument = the_packet->note; 290 290 291 291 _MPCI_Return_packet( the_packet_prefix ); -
cpukit/rtems/src/taskrestart.c
r850c88d r1d496f6 49 49 rtems_status_code rtems_task_restart( 50 50 Objects_Id id, 51 u nsigned32argument51 uint32_t argument 52 52 ) 53 53 { -
cpukit/rtems/src/tasks.c
r850c88d r1d496f6 236 236 237 237 void _RTEMS_tasks_Manager_initialization( 238 u nsigned32maximum_tasks,239 u nsigned32number_of_initialization_tasks,238 uint32_t maximum_tasks, 239 uint32_t number_of_initialization_tasks, 240 240 rtems_initialization_tasks_table *user_tasks 241 241 ) -
cpukit/rtems/src/tasksetnote.c
r850c88d r1d496f6 48 48 rtems_status_code rtems_task_set_note( 49 49 Objects_Id id, 50 u nsigned32notepad,51 u nsigned32note50 uint32_t notepad, 51 uint32_t note 52 52 ) 53 53 { -
cpukit/rtems/src/taskstart.c
r850c88d r1d496f6 50 50 rtems_id id, 51 51 rtems_task_entry entry_point, 52 u nsigned32argument52 uint32_t argument 53 53 ) 54 54 { -
cpukit/rtems/src/timerserver.c
r850c88d r1d496f6 70 70 71 71 Thread _Timer_Server_body( 72 u nsigned32ignored72 uint32_t ignored 73 73 ) 74 74 { … … 136 136 137 137 rtems_status_code rtems_timer_initiate_server( 138 u nsigned32priority,139 u nsigned32stack_size,138 uint32_t priority, 139 uint32_t stack_size, 140 140 rtems_attribute attribute_set 141 141 )
Note: See TracChangeset
for help on using the changeset viewer.