Changeset 20f78a3 in rtems
- Timestamp:
- 03/23/04 13:13:17 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e1908de
- Parents:
- 39cefdd
- Location:
- cpukit
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r39cefdd r20f78a3 1 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * itron/include/itronsys/mbox.h, itron/include/itronsys/types.h, 4 itron/include/rtems/itron/eventflags.h, 5 itron/include/rtems/itron/fmempool.h, 6 itron/include/rtems/itron/mbox.h, 7 itron/include/rtems/itron/msgbuffer.h, 8 itron/include/rtems/itron/port.h, 9 itron/include/rtems/itron/semaphore.h, 10 itron/include/rtems/itron/task.h, 11 itron/include/rtems/itron/vmempool.h, 12 itron/inline/rtems/itron/semaphore.inl, 13 itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c, 14 itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c, 15 itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c, 16 itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c: 17 Convert to using c99 fixed size types. 18 1 19 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2 20 -
cpukit/itron/include/itronsys/mbox.h
r39cefdd r20f78a3 48 48 INT msgpri; /* priority of each message */ 49 49 /* VB msgcont[]; XXX */ 50 u nsigned8msgcont[1];50 uint8_t msgcont[1]; 51 51 } T_MSG; 52 52 -
cpukit/itron/include/itronsys/types.h
r39cefdd r20f78a3 23 23 */ 24 24 25 typedef signed8B; /* signed 8-bit integer */26 typedef signed16H; /* signed 16-bit integer */27 typedef signed32W; /* signed 32-bit integer */28 typedef u nsigned8UB; /* unsigned 8-bit integer */29 typedef u nsigned16UH; /* unsigned 16-bit integer */30 typedef u nsigned32UW; /* unsigned 32-bit integer */25 typedef int8_t B; /* signed 8-bit integer */ 26 typedef int16_t H; /* signed 16-bit integer */ 27 typedef int32_t W; /* signed 32-bit integer */ 28 typedef uint8_t UB; /* unsigned 8-bit integer */ 29 typedef uint16_t UH; /* unsigned 16-bit integer */ 30 typedef uint32_t UW; /* unsigned 32-bit integer */ 31 31 32 typedef u nsigned32VW; /* unpredictable data type (32-bit size) */33 typedef u nsigned16VH; /* unpredictable data type (16-bit size) */34 typedef u nsigned8VB; /* unpredictable data type (8-bit size) */32 typedef uint32_t VW; /* unpredictable data type (32-bit size) */ 33 typedef uint16_t VH; /* unpredictable data type (16-bit size) */ 34 typedef uint8_t VB; /* unpredictable data type (8-bit size) */ 35 35 36 36 typedef void *VP; /* pointer to an unpredictable data type */ … … 54 54 */ 55 55 56 typedef signed32INT; /* Signed integer (bit width of processor) */57 typedef u nsigned32UINT; /* Unsigned integer (bit width of processor) */56 typedef int32_t INT; /* Signed integer (bit width of processor) */ 57 typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */ 58 58 typedef boolean BOOL; /* Boolean value. TRUE (1) or FALSE (0). */ 59 typedef signed16FN; /* Function code. Signed integer. Maximum 2 bytes. */59 typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */ 60 60 typedef int ID; /* Object ID number (???id) */ 61 61 /* Value range depends on the system. Usually */ … … 64 64 /* connection function is supported. */ 65 65 66 typedef u nsigned32BOOL_ID;/* Boolean value or ID number */66 typedef uint32_t BOOL_ID;/* Boolean value or ID number */ 67 67 68 typedef signed32HNO; /* Handler number */69 typedef signed32RNO; /* Rendezvous number */70 typedef signed32NODE; /* Node Number. Usually a signed integer. */71 typedef signed32ATR; /* Object or handler attribute. */68 typedef int32_t HNO; /* Handler number */ 69 typedef int32_t RNO; /* Rendezvous number */ 70 typedef int32_t NODE; /* Node Number. Usually a signed integer. */ 71 typedef int32_t ATR; /* Object or handler attribute. */ 72 72 /* An unsigned integer. */ 73 typedef signed32ER; /* Error code. A signed integer. */74 typedef u nsigned32PRI; /* Task priority. A signed integer. */75 typedef signed32TMO; /* Timeout value. A signed integer. */73 typedef int32_t ER; /* Error code. A signed integer. */ 74 typedef uint32_t PRI; /* Task priority. A signed integer. */ 75 typedef int32_t TMO; /* Timeout value. A signed integer. */ 76 76 /* TMO_POL = 0 indicates polling, */ 77 77 /* while TMO_FEVR = -1 indicates wait forever. */ -
cpukit/itron/include/rtems/itron/eventflags.h
r39cefdd r20f78a3 25 25 typedef struct { 26 26 ITRON_Objects_Control Object; 27 u nsigned32XXX_more_stuff_goes_here;27 uint32_t XXX_more_stuff_goes_here; 28 28 } ITRON_Eventflags_Control; 29 29 … … 44 44 45 45 void _ITRON_Eventflags_Manager_initialization( 46 u nsigned32maximum_eventflags46 uint32_t maximum_eventflags 47 47 ); 48 48 -
cpukit/itron/include/rtems/itron/fmempool.h
r39cefdd r20f78a3 26 26 typedef struct { 27 27 ITRON_Objects_Control Object; 28 u nsigned32XXX_more_stuff_goes_here;28 uint32_t XXX_more_stuff_goes_here; 29 29 } ITRON_Fixed_memory_pool_Control; 30 30 … … 45 45 46 46 void _ITRON_Fixed_memory_pool_Manager_initialization( 47 u nsigned32maximum_fixed_memory_pools47 uint32_t maximum_fixed_memory_pools 48 48 ); 49 49 -
cpukit/itron/include/rtems/itron/mbox.h
r39cefdd r20f78a3 26 26 typedef struct { 27 27 ITRON_Objects_Control Object; 28 u nsigned32count;28 uint32_t count; 29 29 boolean do_message_priority; 30 30 CORE_message_queue_Control message_queue; … … 47 47 48 48 void _ITRON_Mailbox_Manager_initialization( 49 u nsigned32maximum_mailboxes49 uint32_t maximum_mailboxes 50 50 ); 51 51 -
cpukit/itron/include/rtems/itron/msgbuffer.h
r39cefdd r20f78a3 47 47 48 48 void _ITRON_Message_buffer_Manager_initialization( 49 u nsigned32maximum_message_buffers49 uint32_t maximum_message_buffers 50 50 ); 51 51 -
cpukit/itron/include/rtems/itron/port.h
r39cefdd r20f78a3 25 25 typedef struct { 26 26 ITRON_Objects_Control Object; 27 u nsigned32XXX_more_stuff_goes_here;27 uint32_t XXX_more_stuff_goes_here; 28 28 } ITRON_Port_Control; 29 29 … … 44 44 45 45 void _ITRON_Port_Manager_initialization( 46 u nsigned32maximum_ports46 uint32_t maximum_ports 47 47 ); 48 48 -
cpukit/itron/include/rtems/itron/semaphore.h
r39cefdd r20f78a3 46 46 47 47 void _ITRON_Semaphore_Manager_initialization( 48 u nsigned32maximum_semaphores48 uint32_t maximum_semaphores 49 49 ); 50 50 -
cpukit/itron/include/rtems/itron/task.h
r39cefdd r20f78a3 40 40 41 41 typedef struct { 42 u nsigned32unused; /* no use for the API extension */42 uint32_t unused; /* no use for the API extension */ 43 43 /* structure for ITRON identified yet */ 44 44 } ITRON_API_Control; … … 57 57 ITRON_EXTERN itron_initialization_tasks_table 58 58 *_ITRON_Task_User_initialization_tasks; 59 ITRON_EXTERN u nsigned32_ITRON_Task_Number_of_initialization_tasks;59 ITRON_EXTERN uint32_t _ITRON_Task_Number_of_initialization_tasks; 60 60 61 61 … … 67 67 68 68 void _ITRON_Task_Manager_initialization( 69 u nsigned32maximum_tasks,70 u nsigned32number_of_initialization_tasks,69 uint32_t maximum_tasks, 70 uint32_t number_of_initialization_tasks, 71 71 itron_initialization_tasks_table *user_tasks 72 72 ); -
cpukit/itron/include/rtems/itron/vmempool.h
r39cefdd r20f78a3 26 26 typedef struct { 27 27 ITRON_Objects_Control Object; 28 u nsigned32XXX_more_stuff_goes_here;28 uint32_t XXX_more_stuff_goes_here; 29 29 } ITRON_Variable_memory_pool_Control; 30 30 … … 45 45 46 46 void _ITRON_Variable_memory_pool_Manager_initialization( 47 u nsigned32maximum_variable_memory_pools47 uint32_t maximum_variable_memory_pools 48 48 ); 49 49 -
cpukit/itron/inline/rtems/itron/semaphore.inl
r39cefdd r20f78a3 154 154 155 155 RTEMS_INLINE_ROUTINE ER _ITRON_Semaphore_Translate_core_semaphore_return_code ( 156 u nsigned32the_semaphore_status156 uint32_t the_semaphore_status 157 157 ) 158 158 { -
cpukit/itron/macros/rtems/itron/semaphore.inl
r39cefdd r20f78a3 73 73 /* XXX fix me */ 74 74 static ER _ITRON_Semaphore_Translate_core_semaphore_return_code ( 75 u nsigned32the_semaphore_status75 uint32_t the_semaphore_status 76 76 ) 77 77 { -
cpukit/itron/src/eventflags.c
r39cefdd r20f78a3 30 30 31 31 void _ITRON_Eventflags_Manager_initialization( 32 u nsigned32maximum_eventflags32 uint32_t maximum_eventflags 33 33 ) 34 34 { -
cpukit/itron/src/fmempool.c
r39cefdd r20f78a3 31 31 32 32 void _ITRON_Fixed_memory_pool_Manager_initialization( 33 u nsigned32maximum_fixed_memory_pools33 uint32_t maximum_fixed_memory_pools 34 34 ) 35 35 { -
cpukit/itron/src/itronsem.c
r39cefdd r20f78a3 34 34 35 35 void _ITRON_Semaphore_Manager_initialization( 36 u nsigned32maximum_semaphores36 uint32_t maximum_semaphores 37 37 ) 38 38 { -
cpukit/itron/src/mbox.c
r39cefdd r20f78a3 33 33 34 34 void _ITRON_Mailbox_Manager_initialization( 35 u nsigned32maximum_mailboxes35 uint32_t maximum_mailboxes 36 36 ) 37 37 { -
cpukit/itron/src/msgbuffer.c
r39cefdd r20f78a3 34 34 35 35 void _ITRON_Message_buffer_Manager_initialization( 36 u nsigned32maximum_message_buffers36 uint32_t maximum_message_buffers 37 37 ) 38 38 { -
cpukit/itron/src/port.c
r39cefdd r20f78a3 30 30 31 31 void _ITRON_Port_Manager_initialization( 32 u nsigned32maximum_ports32 uint32_t maximum_ports 33 33 ) 34 34 { -
cpukit/itron/src/snd_mbx.c
r39cefdd r20f78a3 32 32 register ITRON_Mailbox_Control *the_mailbox; 33 33 Objects_Locations location; 34 u nsigned32message_priority;34 uint32_t message_priority; 35 35 void *message_contents; 36 36 CORE_message_queue_Status msg_status; -
cpukit/itron/src/task.c
r39cefdd r20f78a3 80 80 void _ITRON_Task_Initialize_user_tasks( void ) 81 81 { 82 u nsigned32index;83 u nsigned32maximum;82 uint32_t index; 83 uint32_t maximum; 84 84 ER return_value; 85 85 itron_initialization_tasks_table *user_tasks; … … 179 179 180 180 void _ITRON_Task_Manager_initialization( 181 u nsigned32maximum_tasks,182 u nsigned32number_of_initialization_tasks,181 uint32_t maximum_tasks, 182 uint32_t number_of_initialization_tasks, 183 183 itron_initialization_tasks_table *user_tasks 184 184 ) -
cpukit/itron/src/trcv_mbx.c
r39cefdd r20f78a3 35 35 boolean wait; 36 36 Objects_Locations location; 37 u nsigned32size;37 uint32_t size; 38 38 39 39 if (!ppk_msg) -
cpukit/itron/src/vmempool.c
r39cefdd r20f78a3 31 31 32 32 void _ITRON_Variable_memory_pool_Manager_initialization( 33 u nsigned32maximum_variable_memory_pools33 uint32_t maximum_variable_memory_pools 34 34 ) 35 35 {
Note: See TracChangeset
for help on using the changeset viewer.