From c83b5678c9b72f42bb34f7aa2af35ca19c34bd77 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 31 Mar 2004 08:29:14 +0000 Subject: 2004-03-31 Ralf Corsepius * optman/rtems/no-dpmem.c, optman/rtems/no-mp.c, optman/rtems/no-msg.c, optman/rtems/no-part.c, optman/rtems/no-region.c, optman/rtems/no-rtmon.c, optman/rtems/no-sem.c, optman/rtems/no-timer.c, optman/sapi/no-ext.c, optman/sapi/no-io.c: Convert to using c99 fixed size types. --- c/src/optman/rtems/no-dpmem.c | 4 ++-- c/src/optman/rtems/no-mp.c | 12 ++++++------ c/src/optman/rtems/no-msg.c | 28 ++++++++++++++-------------- c/src/optman/rtems/no-part.c | 8 ++++---- c/src/optman/rtems/no-region.c | 10 +++++----- c/src/optman/rtems/no-rtmon.c | 2 +- c/src/optman/rtems/no-sem.c | 8 ++++---- c/src/optman/rtems/no-timer.c | 2 +- c/src/optman/sapi/no-ext.c | 2 +- c/src/optman/sapi/no-io.c | 6 +++--- 10 files changed, 41 insertions(+), 41 deletions(-) (limited to 'c/src/optman') diff --git a/c/src/optman/rtems/no-dpmem.c b/c/src/optman/rtems/no-dpmem.c index 18d30e4590..f5558a5752 100644 --- a/c/src/optman/rtems/no-dpmem.c +++ b/c/src/optman/rtems/no-dpmem.c @@ -22,7 +22,7 @@ #include void _Dual_ported_memory_Manager_initialization( - unsigned32 maximum_ports + uint32_t maximum_ports ) { } @@ -31,7 +31,7 @@ rtems_status_code rtems_port_create( rtems_name name, void *internal_start, void *external_start, - unsigned32 length, + uint32_t length, Objects_Id *id ) { diff --git a/c/src/optman/rtems/no-mp.c b/c/src/optman/rtems/no-mp.c index c7eecc2d78..45ecb6c2f8 100644 --- a/c/src/optman/rtems/no-mp.c +++ b/c/src/optman/rtems/no-mp.c @@ -45,7 +45,7 @@ void rtems_multiprocessing_announce ( void ) void _MPCI_Handler_initialization( MPCI_Control *users_mpci_table, - unsigned32 timeout_status + uint32_t timeout_status ) { } @@ -88,7 +88,7 @@ void _MPCI_Return_packet ( } void _MPCI_Send_process_packet ( - unsigned32 destination, + uint32_t destination, MP_packet_Prefix *the_packet ) { @@ -99,8 +99,8 @@ void _MPCI_Send_process_packet ( ); } -unsigned32 _MPCI_Send_request_packet ( - unsigned32 destination, +uint32_t _MPCI_Send_request_packet ( + uint32_t destination, MP_packet_Prefix *the_packet, States_Control extra_state ) @@ -114,7 +114,7 @@ unsigned32 _MPCI_Send_request_packet ( } void _MPCI_Send_response_packet ( - unsigned32 destination, + uint32_t destination, MP_packet_Prefix *the_packet ) { @@ -148,7 +148,7 @@ Thread_Control *_MPCI_Process_response ( } Thread _MPCI_Receive_server( - unsigned32 ignore + uint32_t ignore ) { _Internal_error_Occurred( diff --git a/c/src/optman/rtems/no-msg.c b/c/src/optman/rtems/no-msg.c index c2a0e7c6ea..cfb2e6f2ee 100644 --- a/c/src/optman/rtems/no-msg.c +++ b/c/src/optman/rtems/no-msg.c @@ -26,15 +26,15 @@ #include void _Message_queue_Manager_initialization( - unsigned32 maximum_message_queues + uint32_t maximum_message_queues ) { } rtems_status_code rtems_message_queue_create( rtems_name name, - unsigned32 count, - unsigned32 max_message_size, + uint32_t count, + uint32_t max_message_size, rtems_attribute attribute_set, Objects_Id *id ) @@ -49,7 +49,7 @@ rtems_status_code rtems_message_queue_create( rtems_status_code rtems_message_queue_ident( rtems_name name, - unsigned32 node, + uint32_t node, Objects_Id *id ) { @@ -76,7 +76,7 @@ rtems_status_code rtems_message_queue_delete( rtems_status_code rtems_message_queue_send( Objects_Id id, void *buffer, - unsigned32 size + uint32_t size ) { _Internal_error_Occurred( @@ -90,7 +90,7 @@ rtems_status_code rtems_message_queue_send( rtems_status_code rtems_message_queue_urgent( Objects_Id id, void *buffer, - unsigned32 size + uint32_t size ) { _Internal_error_Occurred( @@ -104,8 +104,8 @@ rtems_status_code rtems_message_queue_urgent( rtems_status_code rtems_message_queue_broadcast( Objects_Id id, void *buffer, - unsigned32 size, - unsigned32 *count + uint32_t size, + uint32_t *count ) { _Internal_error_Occurred( @@ -119,8 +119,8 @@ rtems_status_code rtems_message_queue_broadcast( rtems_status_code rtems_message_queue_receive( Objects_Id id, void *buffer, - unsigned32 *size_p, - unsigned32 option_set, + uint32_t *size_p, + uint32_t option_set, rtems_interval timeout ) { @@ -134,7 +134,7 @@ rtems_status_code rtems_message_queue_receive( rtems_status_code rtems_message_queue_flush( Objects_Id id, - unsigned32 *count + uint32_t *count ) { _Internal_error_Occurred( @@ -145,7 +145,7 @@ rtems_status_code rtems_message_queue_flush( return RTEMS_NOT_CONFIGURED; } -unsigned32 _Message_queue_Flush_support( +uint32_t _Message_queue_Flush_support( Message_queue_Control *the_message_queue ) { @@ -162,7 +162,7 @@ boolean _Message_queue_Seize( Message_queue_Control *the_message_queue, rtems_option option_set, void *buffer, - unsigned32 *size_p + uint32_t *size_p ) { _Internal_error_Occurred( @@ -178,7 +178,7 @@ boolean _Message_queue_Seize( rtems_status_code _Message_queue_Submit( Objects_Id id, void *buffer, - unsigned32 size, + uint32_t size, Message_queue_Submit_types submit_type ) { diff --git a/c/src/optman/rtems/no-part.c b/c/src/optman/rtems/no-part.c index 6adb2c1639..de982707bc 100644 --- a/c/src/optman/rtems/no-part.c +++ b/c/src/optman/rtems/no-part.c @@ -21,7 +21,7 @@ #include void _Partition_Manager_initialization( - unsigned32 maximum_partitions + uint32_t maximum_partitions ) { } @@ -29,8 +29,8 @@ void _Partition_Manager_initialization( rtems_status_code rtems_partition_create( rtems_name name, void *starting_address, - unsigned32 length, - unsigned32 buffer_size, + uint32_t length, + uint32_t buffer_size, rtems_attribute attribute_set, Objects_Id *id ) @@ -45,7 +45,7 @@ rtems_status_code rtems_partition_create( rtems_status_code rtems_partition_ident( rtems_name name, - unsigned32 node, + uint32_t node, Objects_Id *id ) { diff --git a/c/src/optman/rtems/no-region.c b/c/src/optman/rtems/no-region.c index 73c9f6ab37..b67588895e 100644 --- a/c/src/optman/rtems/no-region.c +++ b/c/src/optman/rtems/no-region.c @@ -22,7 +22,7 @@ #include void _Region_Manager_initialization( - unsigned32 maximum_regions + uint32_t maximum_regions ) { } @@ -30,8 +30,8 @@ void _Region_Manager_initialization( rtems_status_code rtems_region_create( rtems_name name, void *starting_address, - unsigned32 length, - unsigned32 page_size, + uint32_t length, + uint32_t page_size, rtems_attribute attribute_set, Objects_Id *id ) @@ -71,7 +71,7 @@ rtems_status_code rtems_region_delete( rtems_status_code rtems_region_get_segment( Objects_Id id, - unsigned32 size, + uint32_t size, rtems_option option_set, rtems_interval timeout, void **segment @@ -88,7 +88,7 @@ rtems_status_code rtems_region_get_segment( rtems_status_code rtems_region_get_segment_size( Objects_Id id, void *segment, - unsigned32 *size + uint32_t *size ) { _Internal_error_Occurred( diff --git a/c/src/optman/rtems/no-rtmon.c b/c/src/optman/rtems/no-rtmon.c index e4411a33bc..9a4baa7302 100644 --- a/c/src/optman/rtems/no-rtmon.c +++ b/c/src/optman/rtems/no-rtmon.c @@ -23,7 +23,7 @@ #include void _Rate_monotonic_Manager_initialization( - unsigned32 maximum_periods + uint32_t maximum_periods ) { } diff --git a/c/src/optman/rtems/no-sem.c b/c/src/optman/rtems/no-sem.c index d90b116919..949391dc20 100644 --- a/c/src/optman/rtems/no-sem.c +++ b/c/src/optman/rtems/no-sem.c @@ -25,14 +25,14 @@ #include void _Semaphore_Manager_initialization( - unsigned32 maximum_semaphores + uint32_t maximum_semaphores ) { } rtems_status_code rtems_semaphore_create( rtems_name name, - unsigned32 count, + uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, Objects_Id *id @@ -48,7 +48,7 @@ rtems_status_code rtems_semaphore_create( rtems_status_code rtems_semaphore_ident( rtems_name name, - unsigned32 node, + uint32_t node, Objects_Id *id ) { @@ -74,7 +74,7 @@ rtems_status_code rtems_semaphore_delete( rtems_status_code rtems_semaphore_obtain( Objects_Id id, - unsigned32 option_set, + uint32_t option_set, rtems_interval timeout ) { diff --git a/c/src/optman/rtems/no-timer.c b/c/src/optman/rtems/no-timer.c index 757f934314..a7242c59df 100644 --- a/c/src/optman/rtems/no-timer.c +++ b/c/src/optman/rtems/no-timer.c @@ -24,7 +24,7 @@ #include void _Timer_Manager_initialization( - unsigned32 maximum_timers + uint32_t maximum_timers ) { } diff --git a/c/src/optman/sapi/no-ext.c b/c/src/optman/sapi/no-ext.c index 6e6b2edf45..9237a88e43 100644 --- a/c/src/optman/sapi/no-ext.c +++ b/c/src/optman/sapi/no-ext.c @@ -21,7 +21,7 @@ #include void _Extension_Manager_initialization( - unsigned32 maximum_extensions + uint32_t maximum_extensions ) { } diff --git a/c/src/optman/sapi/no-io.c b/c/src/optman/sapi/no-io.c index 814d4432dd..e22b99185c 100644 --- a/c/src/optman/sapi/no-io.c +++ b/c/src/optman/sapi/no-io.c @@ -21,9 +21,9 @@ void _IO_Manager_initialization( rtems_driver_address_table *driver_table, - unsigned32 drivers_in_table, - unsigned32 number_of_drivers, - unsigned32 number_of_devices + uint32_t drivers_in_table, + uint32_t number_of_drivers, + uint32_t number_of_devices ) { } -- cgit v1.2.3