Changeset 39cefdd in rtems
- Timestamp:
- 03/23/04 13:07:29 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 20f78a3
- Parents:
- a4365e4
- Location:
- cpukit
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
ra4365e4 r39cefdd 1 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * posix/include/rtems/posix/cond.h, 4 posix/include/rtems/posix/intr.h, posix/include/rtems/posix/key.h, 5 posix/include/rtems/posix/mqueue.h, 6 posix/include/rtems/posix/mutex.h, 7 posix/include/rtems/posix/pthread.h, 8 posix/include/rtems/posix/semaphore.h, 9 posix/include/rtems/posix/threadsup.h, 10 posix/include/rtems/posix/timer.h, posix/src/cond.c, 11 posix/src/intr.c, posix/src/key.c, posix/src/keycreate.c, 12 posix/src/keydelete.c, posix/src/keygetspecific.c, 13 posix/src/keyrundestructors.c, posix/src/keysetspecific.c, 14 posix/src/killinfo.c, posix/src/mqueue.c, 15 posix/src/mqueuerecvsupp.c, posix/src/mqueuesendsupp.c, 16 posix/src/mqueuetranslatereturncode.c, posix/src/mutex.c, 17 posix/src/posixintervaltotimespec.c, 18 posix/src/posixtimespecsubtract.c, posix/src/psignal.c, 19 posix/src/pthread.c, posix/src/ptimer1.c, posix/src/semaphore.c, 20 posix/src/sysconf.c: Convert to using c99 fixed size types. 21 1 22 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> 2 23 -
cpukit/posix/include/rtems/posix/cond.h
ra4365e4 r39cefdd 64 64 65 65 void _POSIX_Condition_variables_Manager_initialization( 66 u nsigned32maximum_condition_variables66 uint32_t maximum_condition_variables 67 67 ); 68 68 -
cpukit/posix/include/rtems/posix/intr.h
ra4365e4 r39cefdd 72 72 73 73 void _POSIX_Interrupt_Manager_initialization( 74 u nsigned32maximum_interrupt_handlers74 uint32_t maximum_interrupt_handlers 75 75 ); 76 76 -
cpukit/posix/include/rtems/posix/key.h
ra4365e4 r39cefdd 51 51 52 52 void _POSIX_Key_Manager_initialization( 53 u nsigned32maximum_keys53 uint32_t maximum_keys 54 54 ); 55 55 -
cpukit/posix/include/rtems/posix/mqueue.h
ra4365e4 r39cefdd 35 35 boolean named; 36 36 boolean linked; 37 u nsigned32open_count;37 uint32_t open_count; 38 38 CORE_message_queue_Control Message_queue; 39 39 struct sigevent notification; … … 64 64 65 65 void _POSIX_Message_queue_Manager_initialization( 66 u nsigned32maximum_message_queues66 uint32_t maximum_message_queues 67 67 ); 68 68 … … 124 124 mqd_t mqdes, 125 125 const char *msg_ptr, 126 u nsigned32msg_len,127 u nsigned32msg_prio,126 uint32_t msg_len, 127 uint32_t msg_prio, 128 128 Watchdog_Interval timeout 129 129 ); … … 232 232 233 233 int _POSIX_Message_queue_Translate_core_message_queue_return_code( 234 u nsigned32the_message_queue_status234 uint32_t the_message_queue_status 235 235 ); 236 236 -
cpukit/posix/include/rtems/posix/mutex.h
ra4365e4 r39cefdd 56 56 57 57 void _POSIX_Mutex_Manager_initialization( 58 u nsigned32maximum_mutexes58 uint32_t maximum_mutexes 59 59 ); 60 60 -
cpukit/posix/include/rtems/posix/pthread.h
ra4365e4 r39cefdd 39 39 POSIX_EXTERN posix_initialization_threads_table 40 40 *_POSIX_Threads_User_initialization_threads; 41 POSIX_EXTERN u nsigned32_POSIX_Threads_Number_of_initialization_threads;41 POSIX_EXTERN uint32_t _POSIX_Threads_Number_of_initialization_threads; 42 42 43 43 extern const pthread_attr_t _POSIX_Threads_Default_attributes; … … 52 52 53 53 void _POSIX_Threads_Manager_initialization( 54 u nsigned32maximum_pthreads,55 u nsigned32number_of_initialization_threads,54 uint32_t maximum_pthreads, 55 uint32_t number_of_initialization_threads, 56 56 posix_initialization_threads_table *user_threads 57 57 ); -
cpukit/posix/include/rtems/posix/semaphore.h
ra4365e4 r39cefdd 35 35 boolean named; 36 36 boolean linked; 37 u nsigned32open_count;37 uint32_t open_count; 38 38 CORE_semaphore_Control Semaphore; 39 39 } POSIX_Semaphore_Control; … … 55 55 56 56 void _POSIX_Semaphore_Manager_initialization( 57 u nsigned32maximum_semaphorees57 uint32_t maximum_semaphorees 58 58 ); 59 59 -
cpukit/posix/include/rtems/posix/threadsup.h
ra4365e4 r39cefdd 27 27 * POSIX Interrupts 28 28 */ 29 u nsigned32interrupts_installed;29 uint32_t interrupts_installed; 30 30 CORE_semaphore_Control Interrupt_Semaphore; 31 31 #endif -
cpukit/posix/include/rtems/posix/timer.h
ra4365e4 r39cefdd 15 15 #define STATE_CREATE_STOP_C 0x04 /* Created, ran and stopped timer */ 16 16 /* Maximum number of nsec allowed */ 17 #define MAX_NSEC_C (u nsigned32)100000000017 #define MAX_NSEC_C (uint32_t )1000000000 18 18 #define MIN_NSEC_C 0 /* Minimum number of nsec allowew */ 19 19 #define TIMER_RELATIVE_C 0 /* Indicates that the fire time is … … 21 21 #define SEC_TO_TICKS_C _TOD_Ticks_per_second /* Number of ticks in a second*/ 22 22 /* Nanoseconds in a second */ 23 #define NSEC_PER_SEC_C (u nsigned32)100000000023 #define NSEC_PER_SEC_C (uint32_t )1000000000 24 24 25 25 #define NO_MORE_TIMERS_C 11 /* There is not available timers */ 26 26 #define BAD_TIMER_C 11 /* The timer does not exist in the table */ 27 27 28 #define SECONDS_PER_YEAR_C (u nsigned32)(360 * 24) * (unsigned32)(60 * 60)29 #define SECONDS_PER_MONTH_C (u nsigned32)( 30 * 24) * (unsigned32)(60 * 60)30 #define SECONDS_PER_DAY_C (u nsigned32)( 24 * 60) * (unsigned32)(60)31 #define SECONDS_PER_HOUR_C (u nsigned32)( 60 * 60 )32 #define SECONDS_PER_MINUTE_C (u nsigned32)( 60 )28 #define SECONDS_PER_YEAR_C (uint32_t )(360 * 24) * (uint32_t )(60 * 60) 29 #define SECONDS_PER_MONTH_C (uint32_t )( 30 * 24) * (uint32_t )(60 * 60) 30 #define SECONDS_PER_DAY_C (uint32_t )( 24 * 60) * (uint32_t )(60) 31 #define SECONDS_PER_HOUR_C (uint32_t )( 60 * 60 ) 32 #define SECONDS_PER_MINUTE_C (uint32_t )( 60 ) 33 33 34 34 … … 46 46 timer_t timer_id; /* Created timer identifier */ 47 47 struct itimerspec timer_data; /* Timing data of the timer */ 48 u nsigned32ticks; /* Number of ticks of the initialization */49 u nsigned32overrun; /* Number of expirations of the timer */48 uint32_t ticks; /* Number of ticks of the initialization */ 49 uint32_t overrun; /* Number of expirations of the timer */ 50 50 rtems_time_of_day time; /* Time in which the timer was started */ 51 51 } POSIX_Timer_Control; -
cpukit/posix/src/cond.c
ra4365e4 r39cefdd 32 32 33 33 void _POSIX_Condition_variables_Manager_initialization( 34 u nsigned32maximum_condition_variables34 uint32_t maximum_condition_variables 35 35 ) 36 36 { -
cpukit/posix/src/intr.c
ra4365e4 r39cefdd 35 35 36 36 void _POSIX_Interrupt_Manager_initialization( 37 u nsigned32maximum_interrupt_handlers38 ) 39 { 40 u nsigned32index;37 uint32_t maximum_interrupt_handlers 38 ) 39 { 40 uint32_t index; 41 41 POSIX_Interrupt_Control *the_vector; 42 42 -
cpukit/posix/src/key.c
ra4365e4 r39cefdd 26 26 27 27 void _POSIX_Key_Manager_initialization( 28 u nsigned32maximum_keys28 uint32_t maximum_keys 29 29 ) 30 30 { -
cpukit/posix/src/keycreate.c
ra4365e4 r39cefdd 29 29 POSIX_Keys_Control *the_key; 30 30 void *table; 31 u nsigned32the_api;32 u nsigned32bytes_to_allocate;31 uint32_t the_api; 32 uint32_t bytes_to_allocate; 33 33 34 34 -
cpukit/posix/src/keydelete.c
ra4365e4 r39cefdd 28 28 register POSIX_Keys_Control *the_key; 29 29 Objects_Locations location; 30 u nsigned32the_api;30 uint32_t the_api; 31 31 32 32 the_key = _POSIX_Keys_Get( key, &location ); -
cpukit/posix/src/keygetspecific.c
ra4365e4 r39cefdd 27 27 { 28 28 register POSIX_Keys_Control *the_key; 29 u nsigned32index;30 u nsigned32class;29 uint32_t index; 30 uint32_t class; 31 31 Objects_Locations location; 32 32 void *key_data; -
cpukit/posix/src/keyrundestructors.c
ra4365e4 r39cefdd 31 31 ) 32 32 { 33 u nsigned32index;34 u nsigned32pthread_index;35 u nsigned32pthread_class;36 u nsigned32iterations;33 uint32_t index; 34 uint32_t pthread_index; 35 uint32_t pthread_class; 36 uint32_t iterations; 37 37 boolean are_all_null; 38 38 POSIX_Keys_Control *the_key; -
cpukit/posix/src/keysetspecific.c
ra4365e4 r39cefdd 28 28 { 29 29 register POSIX_Keys_Control *the_key; 30 u nsigned32index;31 u nsigned32class;30 uint32_t index; 31 uint32_t class; 32 32 Objects_Locations location; 33 33 -
cpukit/posix/src/killinfo.c
ra4365e4 r39cefdd 45 45 sigset_t mask; 46 46 POSIX_API_Control *api; 47 u nsigned32the_api;48 u nsigned32index;49 u nsigned32maximum;47 uint32_t the_api; 48 uint32_t index; 49 uint32_t maximum; 50 50 Objects_Information *the_info; 51 51 Objects_Control **object_table; -
cpukit/posix/src/mqueue.c
ra4365e4 r39cefdd 47 47 48 48 void _POSIX_Message_queue_Manager_initialization( 49 u nsigned32maximum_message_queues49 uint32_t maximum_message_queues 50 50 ) 51 51 { -
cpukit/posix/src/mqueuerecvsupp.c
ra4365e4 r39cefdd 52 52 POSIX_Message_queue_Control_fd *the_mq_fd; 53 53 Objects_Locations location; 54 u nsigned32length_out;54 uint32_t length_out; 55 55 56 56 the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location ); -
cpukit/posix/src/mqueuesendsupp.c
ra4365e4 r39cefdd 42 42 mqd_t mqdes, 43 43 const char *msg_ptr, 44 u nsigned32msg_len,45 u nsigned32msg_prio,44 uint32_t msg_len, 45 uint32_t msg_prio, 46 46 Watchdog_Interval timeout 47 47 ) -
cpukit/posix/src/mqueuetranslatereturncode.c
ra4365e4 r39cefdd 44 44 45 45 int _POSIX_Message_queue_Translate_core_message_queue_return_code( 46 u nsigned32the_message_queue_status46 uint32_t the_message_queue_status 47 47 ) 48 48 { -
cpukit/posix/src/mutex.c
ra4365e4 r39cefdd 34 34 35 35 void _POSIX_Mutex_Manager_initialization( 36 u nsigned32maximum_mutexes36 uint32_t maximum_mutexes 37 37 ) 38 38 { -
cpukit/posix/src/posixintervaltotimespec.c
ra4365e4 r39cefdd 29 29 ) 30 30 { 31 u nsigned32usecs;31 uint32_t usecs; 32 32 33 33 usecs = ticks * _TOD_Microseconds_per_tick; -
cpukit/posix/src/posixtimespecsubtract.c
ra4365e4 r39cefdd 32 32 struct timespec start_struct = *the_start; 33 33 struct timespec *start = &start_struct; 34 u nsigned32nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND;34 uint32_t nsecs_per_sec = TOD_NANOSECONDS_PER_SECOND; 35 35 36 36 if (end->tv_nsec < start->tv_nsec) { -
cpukit/posix/src/psignal.c
ra4365e4 r39cefdd 154 154 ) 155 155 { 156 u nsigned32signo;156 uint32_t signo; 157 157 158 158 /* -
cpukit/posix/src/pthread.c
ra4365e4 r39cefdd 62 62 ) 63 63 { 64 u nsigned32ticks;65 u nsigned32new_priority;64 uint32_t ticks; 65 uint32_t new_priority; 66 66 Thread_Control *the_thread; 67 67 POSIX_API_Control *api; … … 103 103 { 104 104 POSIX_API_Control *api; 105 u nsigned32new_priority;105 uint32_t new_priority; 106 106 107 107 api = the_thread->API_Extensions[ THREAD_API_POSIX ]; … … 258 258 { 259 259 int status; 260 u nsigned32index;261 u nsigned32maximum;260 uint32_t index; 261 uint32_t maximum; 262 262 posix_initialization_threads_table *user_threads; 263 263 pthread_t thread_id; … … 336 336 337 337 void _POSIX_Threads_Manager_initialization( 338 u nsigned32maximum_pthreads,339 u nsigned32number_of_initialization_threads,338 uint32_t maximum_pthreads, 339 uint32_t number_of_initialization_threads, 340 340 posix_initialization_threads_table *user_threads 341 341 -
cpukit/posix/src/ptimer1.c
ra4365e4 r39cefdd 673 673 rtems_time_of_day current_time; 674 674 int timer_pos; 675 u nsigned32hours;676 u nsigned32minutes;677 u nsigned32seconds;678 u nsigned32ticks;679 u nsigned32nanosec;675 uint32_t hours; 676 uint32_t minutes; 677 uint32_t seconds; 678 uint32_t ticks; 679 uint32_t nanosec; 680 680 681 681 -
cpukit/posix/src/semaphore.c
ra4365e4 r39cefdd 34 34 35 35 void _POSIX_Semaphore_Manager_initialization( 36 u nsigned32maximum_semaphores36 uint32_t maximum_semaphores 37 37 ) 38 38 { -
cpukit/posix/src/sysconf.c
ra4365e4 r39cefdd 29 29 30 30 case _SC_OPEN_MAX: { 31 extern u nsigned32rtems_libio_number_iops;31 extern uint32_t rtems_libio_number_iops; 32 32 return rtems_libio_number_iops; 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.