Changeset 6965fc4 in rtems
- Timestamp:
- 03/30/04 11:16:17 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ac3a07ae
- Parents:
- c87608f
- Location:
- testsuites/psxtests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/psxtests/ChangeLog
rc87608f r6965fc4 1 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * psx06/init.c, psx06/system.h, psx06/task.c, psx06/task2.c: Convert 4 to using c99 fixed size types. 5 1 6 2004-03-26 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
testsuites/psxtests/psx06/init.c
rc87608f r6965fc4 35 35 int status; 36 36 unsigned int remaining; 37 rtems_unsigned32*key_data;37 uint32_t *key_data; 38 38 39 39 puts( "\n\n*** POSIX TEST 6 ***" ); … … 95 95 key_data = pthread_getspecific( Key_id ); 96 96 printf( "Init: Got the key value of %ld\n", 97 (unsigned long) (( rtems_unsigned32*)key_data - Data_array) );97 (unsigned long) ((uint32_t *)key_data - Data_array) ); 98 98 99 99 remaining = sleep( 3 ); -
testsuites/psxtests/psx06/system.h
rc87608f r6965fc4 54 54 TEST_EXTERN pthread_t Task2_id; 55 55 TEST_EXTERN pthread_key_t Key_id; 56 TEST_EXTERN rtems_unsigned32Data_array[ CONFIGURE_MAXIMUM_POSIX_THREADS ];57 TEST_EXTERN rtems_unsigned32Destructor_invoked;56 TEST_EXTERN uint32_t Data_array[ CONFIGURE_MAXIMUM_POSIX_THREADS ]; 57 TEST_EXTERN uint32_t Destructor_invoked; 58 58 59 59 /* end of include file */ -
testsuites/psxtests/psx06/task.c
rc87608f r6965fc4 27 27 { 28 28 int status; 29 rtems_unsigned32*key_data;29 uint32_t *key_data; 30 30 31 31 printf( "Task_1: Setting the key to %d\n", 1 ); … … 37 37 key_data = pthread_getspecific( Key_id ); 38 38 printf( "Task_1: Got the key value of %ld\n", 39 (unsigned long) (( rtems_unsigned32*)key_data - Data_array) );39 (unsigned long) ((uint32_t *)key_data - Data_array) ); 40 40 if ( status ) 41 41 printf( "status = %d\n", status ); -
testsuites/psxtests/psx06/task2.c
rc87608f r6965fc4 26 26 { 27 27 int status; 28 rtems_unsigned32*key_data;28 uint32_t *key_data; 29 29 30 30 printf( "Destructor invoked %d times\n", Destructor_invoked ); … … 38 38 key_data = pthread_getspecific( Key_id ); 39 39 printf( "Task_2: Got the key value of %ld\n", 40 (unsigned long) (( rtems_unsigned32*)key_data - Data_array) );40 (unsigned long) ((uint32_t *)key_data - Data_array) ); 41 41 if ( status ) 42 42 printf( "status = %d\n", status );
Note: See TracChangeset
for help on using the changeset viewer.