Changeset 6965fc4 in rtems


Ignore:
Timestamp:
Mar 30, 2004, 11:16:17 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ac3a07ae
Parents:
c87608f
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • psx06/init.c, psx06/system.h, psx06/task.c, psx06/task2.c: Convert to using c99 fixed size types.
Location:
testsuites/psxtests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    rc87608f r6965fc4  
     12004-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
    162004-03-26      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • testsuites/psxtests/psx06/init.c

    rc87608f r6965fc4  
    3535  int               status;
    3636  unsigned int      remaining;
    37   rtems_unsigned32 *key_data;
     37  uint32_t  *key_data;
    3838
    3939  puts( "\n\n*** POSIX TEST 6 ***" );
     
    9595  key_data = pthread_getspecific( Key_id );
    9696  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) );
    9898
    9999  remaining = sleep( 3 );
  • testsuites/psxtests/psx06/system.h

    rc87608f r6965fc4  
    5454TEST_EXTERN pthread_t        Task2_id;
    5555TEST_EXTERN pthread_key_t    Key_id;
    56 TEST_EXTERN rtems_unsigned32 Data_array[ CONFIGURE_MAXIMUM_POSIX_THREADS ];
    57 TEST_EXTERN rtems_unsigned32 Destructor_invoked;
     56TEST_EXTERN uint32_t  Data_array[ CONFIGURE_MAXIMUM_POSIX_THREADS ];
     57TEST_EXTERN uint32_t  Destructor_invoked;
    5858
    5959/* end of include file */
  • testsuites/psxtests/psx06/task.c

    rc87608f r6965fc4  
    2727{
    2828  int               status;
    29   rtems_unsigned32 *key_data;
     29  uint32_t  *key_data;
    3030
    3131  printf( "Task_1: Setting the key to %d\n", 1 );
     
    3737  key_data = pthread_getspecific( Key_id );
    3838  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) );
    4040  if ( status )
    4141    printf( "status = %d\n", status );
  • testsuites/psxtests/psx06/task2.c

    rc87608f r6965fc4  
    2626{
    2727  int               status;
    28   rtems_unsigned32 *key_data;
     28  uint32_t  *key_data;
    2929 
    3030  printf( "Destructor invoked %d times\n", Destructor_invoked );
     
    3838  key_data = pthread_getspecific( Key_id );
    3939  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) );
    4141  if ( status )
    4242    printf( "status = %d\n", status );
Note: See TracChangeset for help on using the changeset viewer.