Changeset bcf16c0 in rtems


Ignore:
Timestamp:
Aug 10, 2009, 2:49:51 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
ec5c898
Parents:
da8946a4
Message:

2009-08-10 Joel Sherrill <joel.sherrill@…>

  • sp01/sp01.scn, sp01/task1.c, sp03/task1.c, sp03/task2.c, sp04/task1.c, sp04/tswitch.c, sp09/screen02.c, sp09/screen13.c, sp09/screen14.c, sp09/sp09.scn, sp11/sp11.scn, sp11/task1.c, sp11/task2.c, sp19/fptask.c, sp19/sp19.scn, sp19/task1.c, sp22/prtime.c, sp22/sp22.scn, sp22/task1.c, sp24/sp24.scn, sp24/task1.c, sp30/task1.c, sp31/prtime.c, sp31/sp31.scn, sp31/task1.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn, spwatchdog/task1.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
Location:
testsuites/sptests
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rda8946a4 rbcf16c0  
     12009-08-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sp01/sp01.scn, sp01/task1.c, sp03/task1.c, sp03/task2.c,
     4        sp04/task1.c, sp04/tswitch.c, sp09/screen02.c, sp09/screen13.c,
     5        sp09/screen14.c, sp09/sp09.scn, sp11/sp11.scn, sp11/task1.c,
     6        sp11/task2.c, sp19/fptask.c, sp19/sp19.scn, sp19/task1.c,
     7        sp22/prtime.c, sp22/sp22.scn, sp22/task1.c, sp24/sp24.scn,
     8        sp24/task1.c, sp30/task1.c, sp31/prtime.c, sp31/sp31.scn,
     9        sp31/task1.c, spwatchdog/prtime.c, spwatchdog/spwatchdog.scn,
     10        spwatchdog/task1.c: Convert calls to legacy routine rtems_clock_get(
     11        RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
     12
    1132009-08-07      Joel Sherrill <joel.sherrill@OARcorp.com>
    214
  • testsuites/sptests/sp01/sp01.scn

    rda8946a4 rbcf16c0  
    11*** TEST 1 ***
    2 TA1  - rtems_clock_get - 09:00:00   12/31/1988
    3 TA2  - rtems_clock_get - 09:00:00   12/31/1988
    4 TA3  - rtems_clock_get - 09:00:00   12/31/1988
    5 TA1  - rtems_clock_get - 09:00:05   12/31/1988
    6 TA2  - rtems_clock_get - 09:00:10   12/31/1988
    7 TA1  - rtems_clock_get - 09:00:10   12/31/1988
    8 TA3  - rtems_clock_get - 09:00:15   12/31/1988
    9 TA1  - rtems_clock_get - 09:00:15   12/31/1988
    10 TA2  - rtems_clock_get - 09:00:20   12/31/1988
    11 TA1  - rtems_clock_get - 09:00:20   12/31/1988
    12 TA1  - rtems_clock_get - 09:00:25   12/31/1988
    13 TA3  - rtems_clock_get - 09:00:30   12/31/1988
    14 TA2  - rtems_clock_get - 09:00:30   12/31/1988
    15 TA1  - rtems_clock_get - 09:00:30   12/31/1988
     2TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
     3TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
     4TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988
     5TA1  - rtems_clock_get_tod - 09:00:05   12/31/1988
     6TA2  - rtems_clock_get_tod - 09:00:10   12/31/1988
     7TA1  - rtems_clock_get_tod - 09:00:10   12/31/1988
     8TA3  - rtems_clock_get_tod - 09:00:15   12/31/1988
     9TA1  - rtems_clock_get_tod - 09:00:15   12/31/1988
     10TA2  - rtems_clock_get_tod - 09:00:20   12/31/1988
     11TA1  - rtems_clock_get_tod - 09:00:20   12/31/1988
     12TA1  - rtems_clock_get_tod - 09:00:25   12/31/1988
     13TA3  - rtems_clock_get_tod - 09:00:30   12/31/1988
     14TA2  - rtems_clock_get_tod - 09:00:30   12/31/1988
     15TA1  - rtems_clock_get_tod - 09:00:30   12/31/1988
    1616*** END OF TEST 1 ***
    1717
  • testsuites/sptests/sp01/task1.c

    rda8946a4 rbcf16c0  
    4141
    4242  while( FOREVER ) {
    43     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    44     directive_failed( status, "rtems_clock_get" );
     43    status = rtems_clock_get_tod( &time );
     44    directive_failed( status, "rtems_clock_get_tod" );
    4545
    4646    if ( time.second >= 35 ) {
     
    5050
    5151    put_name( Task_name[ task_number( tid ) ], FALSE );
    52     print_time( " - rtems_clock_get - ", &time, "\n" );
     52    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5353
    5454    status = rtems_task_wake_after( ticks );
  • testsuites/sptests/sp03/task1.c

    rda8946a4 rbcf16c0  
    3737
    3838  while( FOREVER ) {
    39     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    40     directive_failed( status, "rtems_clock_get" );
     39    status = rtems_clock_get_tod( &time );
     40    directive_failed( status, "rtems_clock_get_tod" );
    4141
    4242    put_name( Task_name[ 1 ], FALSE );
  • testsuites/sptests/sp03/task2.c

    rda8946a4 rbcf16c0  
    3232    directive_failed( status, "rtems_task_wake_after" );
    3333
    34     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    35     directive_failed( status, "rtems_clock_get" );
     34    status = rtems_clock_get_tod( &time );
     35    directive_failed( status, "rtems_clock_get_tod" );
    3636
    3737    if ( time.second >= 17 ) {
  • testsuites/sptests/sp04/task1.c

    rda8946a4 rbcf16c0  
    5454
    5555  status = rtems_clock_get( RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH, &start_time );
    56   directive_failed( status, "rtems_clock_get" );
     56  directive_failed( status, "rtems_clock_get_tod" );
    5757
    5858  puts( "TA1 - killing time" );
     
    6060  for ( ; ; ) {
    6161    status = rtems_clock_get( RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH, &end_time );
    62     directive_failed( status, "rtems_clock_get" );
     62    directive_failed( status, "rtems_clock_get_tod" );
    6363
    6464    if ( end_time > (start_time + 2) )
     
    8585      directive_failed( status, "rtems_task_mode" );
    8686
    87       status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    88       directive_failed( status, "rtems_clock_get" );
     87      status = rtems_clock_get_tod( &time );
     88      directive_failed( status, "rtems_clock_get_tod" );
    8989
    9090      old_seconds = time.second;
    9191
    9292      for ( seconds = 0 ; seconds < 6 ; ) {
    93         status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    94         directive_failed( status, "rtems_clock_get" );
     93        status = rtems_clock_get_tod( &time );
     94        directive_failed( status, "rtems_clock_get_tod" );
    9595
    9696        if ( time.second != old_seconds ) {
  • testsuites/sptests/sp04/tswitch.c

    rda8946a4 rbcf16c0  
    4848      Run_count[ index ] += 1;
    4949
    50       status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    51       directive_failed_with_level( status, "rtems_clock_get", 1 );
     50      status = rtems_clock_get_tod( &time );
     51      directive_failed_with_level( status, "rtems_clock_get_tod", 1 );
    5252
    5353      if (taskSwitchLogIndex < (sizeof taskSwitchLog / sizeof taskSwitchLog[0])) {
  • testsuites/sptests/sp09/screen02.c

    rda8946a4 rbcf16c0  
    2828/* errors before clock is set */
    2929
    30   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    31   if ( status == RTEMS_SUCCESSFUL ) {
    32     puts(
    33      "TA1 - rtems_clock_get - RTEMS_NOT_DEFINED -- DID BSP SET THE TIME OF DAY?"
    34     );
    35   } else {
    36     fatal_directive_status(
    37       status,
    38       RTEMS_NOT_DEFINED,
    39       "rtems_clock_get before clock is set #1"
    40     );
    41     puts( "TA1 - rtems_clock_get - TOD - RTEMS_NOT_DEFINED" );
     30  status = rtems_clock_get_tod( &time );
     31  if ( status == RTEMS_SUCCESSFUL ) {
     32    puts(
     33     "TA1 - rtems_clock_get_tod - RTEMS_NOT_DEFINED -- "
     34         "DID BSP SET THE TIME OF DAY?"
     35    );
     36  } else {
     37    fatal_directive_status(
     38      status,
     39      RTEMS_NOT_DEFINED,
     40      "rtems_clock_get_tod before clock is set #1"
     41    );
     42    puts( "TA1 - rtems_clock_get_tod - TOD - RTEMS_NOT_DEFINED" );
    4243  }
    4344
     
    8283  if ( status == RTEMS_SUCCESSFUL ) {
    8384    puts(
    84 "TA1 - rtems_task_wake_when - RTEMS_NOT_DEFINED -- DID BSP SET THE TIME OF DAY?"
     85     "TA1 - rtems_clock_get - RTEMS_NOT_DEFINED -- "
     86         "DID BSP SET THE TIME OF DAY?"
    8587    );
    8688  } else {
     
    216218  puts( " - RTEMS_INVALID_CLOCK" );
    217219
    218   rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     220  rtems_clock_get_tod( &time );
    219221  print_time( "TA1 - current time - ", &time, "\n" );
    220222
  • testsuites/sptests/sp09/screen13.c

    rda8946a4 rbcf16c0  
    7272  print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_SUCCESSFUL\n" );
    7373  status = rtems_task_wake_after( 1 * TICKS_PER_SECOND );
    74   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     74  status = rtems_clock_get_tod( &time );
    7575  directive_failed( status, "rtems_clock_set" );
    76   print_time( "TA1 - rtems_clock_get - ", &time, " - RTEMS_SUCCESSFUL\n" );
     76  print_time( "TA1 - rtems_clock_get_tod - ", &time, " - RTEMS_SUCCESSFUL\n" );
    7777
    7878  build_time( &time, 12, 31, 1999, 23, 59, 59, 0 );
     
    8181  print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_SUCCESSFUL\n" );
    8282  status = rtems_task_wake_after( 1 * TICKS_PER_SECOND );
    83   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     83  status = rtems_clock_get_tod( &time );
    8484  directive_failed( status, "rtems_clock_set" );
    8585  print_time( "TA1 - rtems_clock_get - ", &time, " - RTEMS_SUCCESSFUL\n" );
     
    9090  print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_SUCCESSFUL\n" );
    9191  status = rtems_task_wake_after( 1 * TICKS_PER_SECOND );
    92   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     92  status = rtems_clock_get_tod( &time );
    9393  directive_failed( status, "rtems_clock_set" );
    94   print_time( "TA1 - rtems_clock_get - ", &time, " - RTEMS_SUCCESSFUL\n" );
     94  print_time( "TA1 - rtems_clock_get_tod - ", &time, " - RTEMS_SUCCESSFUL\n" );
    9595
    9696  build_time( &time, 12, 31, 2099, 23, 59, 59, 0 );
     
    9999  print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_SUCCESSFUL\n" );
    100100  status = rtems_task_wake_after( 1 * TICKS_PER_SECOND );
    101   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     101  status = rtems_clock_get_tod( &time );
    102102  directive_failed( status, "rtems_clock_set" );
    103   print_time( "TA1 - rtems_clock_get - ", &time, " - RTEMS_SUCCESSFUL\n" );
     103  print_time( "TA1 - rtems_clock_get_tod - ", &time, " - RTEMS_SUCCESSFUL\n" );
    104104
    105105  build_time( &time, 12, 31, 1991, 23, 59, 59, 0 );
     
    108108  print_time( "TA1 - rtems_clock_set - ", &time, " - RTEMS_SUCCESSFUL\n" );
    109109  status = rtems_task_wake_after( 1 * TICKS_PER_SECOND );
    110   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
     110  status = rtems_clock_get_tod( &time );
    111111  directive_failed( status, "rtems_clock_set" );
    112   print_time( "TA1 - rtems_clock_get - ", &time, " - RTEMS_SUCCESSFUL\n" );
     112  print_time( "TA1 - rtems_clock_get_tod - ", &time, " - RTEMS_SUCCESSFUL\n" );
    113113}
  • testsuites/sptests/sp09/screen14.c

    rda8946a4 rbcf16c0  
    142142  );
    143143
    144   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    145   directive_failed( status, "rtems_clock_get" );
    146   print_time( "TA1 - rtems_clock_get       - ", &time, "\n" );
     144  status = rtems_clock_get_tod( &time );
     145  directive_failed( status, "rtems_clock_get_tod" );
     146  print_time( "TA1 - rtems_clock_get_tod       - ", &time, "\n" );
    147147
    148148  build_time( &time, 2, 5, 1990, 8, 30, 45, 0 );
     
    267267  );
    268268
    269   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    270   directive_failed( status, "rtems_clock_get" );
    271   print_time( "TA1 - rtems_clock_get       - ", &time, "\n" );
     269  status = rtems_clock_get_tod( &time );
     270  directive_failed( status, "rtems_clock_get_tod" );
     271  print_time( "TA1 - rtems_clock_get_tod       - ", &time, "\n" );
    272272
    273273  build_time( &time, 2, 5, 1990, 8, 30, 45, 0 );
    274   status = rtems_timer_server_fire_when( Timer_id[ 1 ], &time, Delayed_routine, NULL );
     274  status = rtems_timer_server_fire_when(
     275    Timer_id[ 1 ], &time, Delayed_routine, NULL );
    275276  fatal_directive_status(
    276277    status,
  • testsuites/sptests/sp09/sp09.scn

    rda8946a4 rbcf16c0  
    2323TA1 - rtems_task_suspend - RTEMS_INVALID_ID
    2424<pause - screen 2>
    25 TA1 - rtems_clock_get - TOD - RTEMS_NOT_DEFINED
    26 TA1 - rtems_clock_get - SECONDS SINCE EPOCH - RTEMS_NOT_DEFINED
    27 TA1 - rtems_clock_get - TIME VALUE - RTEMS_NOT_DEFINED
    28 TA1 - rtems_clock_get - RTEMS_INVALID_NUMBER
     25TA1 - rtems_clock_get_tod - TOD - RTEMS_NOT_DEFINED
     26TA1 - rtems_clock_get_tod - SECONDS SINCE EPOCH - RTEMS_NOT_DEFINED
     27TA1 - rtems_clock_get_tod - TIME VALUE - RTEMS_NOT_DEFINED
     28TA1 - rtems_clock_get_tod - RTEMS_INVALID_NUMBER
    2929TA1 - rtems_task_wake_when - RTEMS_NOT_DEFINED
    3030TA1 - rtems_timer_fire_when - RTEMS_NOT_DEFINED
     
    257257TA1 - rtems_io_write - RTEMS_INVALID_NUMBER
    258258TA1 - rtems_clock_set - 23:59:59   12/31/2000 - RTEMS_SUCCESSFUL
    259 TA1 - rtems_clock_get - 00:00:00   01/01/2001 - RTEMS_SUCCESSFUL
     259TA1 - rtems_clock_get_tod - 00:00:00   01/01/2001 - RTEMS_SUCCESSFUL
    260260TA1 - rtems_clock_set - 23:59:59   12/31/1999 - RTEMS_SUCCESSFUL
    261 TA1 - rtems_clock_get - 00:00:00   01/01/2000 - RTEMS_SUCCESSFUL
     261TA1 - rtems_clock_get_tod - 00:00:00   01/01/2000 - RTEMS_SUCCESSFUL
    262262TA1 - rtems_clock_set - 23:59:59   12/31/2100 - RTEMS_SUCCESSFUL
    263 TA1 - rtems_clock_get - 17:31:44   11/25/1964 - RTEMS_SUCCESSFUL
     263TA1 - rtems_clock_get_tod - 17:31:44   11/25/1964 - RTEMS_SUCCESSFUL
    264264TA1 - rtems_clock_set - 23:59:59   12/31/2099 - RTEMS_SUCCESSFUL
    265 TA1 - rtems_clock_get - 17:31:44   11/25/1963 - RTEMS_SUCCESSFUL
     265TA1 - rtems_clock_get_tod - 17:31:44   11/25/1963 - RTEMS_SUCCESSFUL
    266266TA1 - rtems_clock_set - 23:59:59   12/31/1991 - RTEMS_SUCCESSFUL
    267 TA1 - rtems_clock_get - 00:00:00   01/01/1992 - RTEMS_SUCCESSFUL
     267TA1 - rtems_clock_get_tod - 00:00:00   01/01/1992 - RTEMS_SUCCESSFUL
    268268<pause - screen 14>
    269269TA1 - rtems_timer_create - RTEMS_INVALID_NAME
     
    280280TA1 - rtems_timer_fire_after - RTEMS_INVALID_NUMBER
    281281TA1 - rtems_timer_fire_when - 08:30:45   02/05/1987 - RTEMS_INVALID_CLOCK
    282 TA1 - rtems_clock_get       - 00:00:00   01/01/1992
     282TA1 - rtems_clock_get_tod       - 00:00:00   01/01/1992
    283283TA1 - rtems_timer_fire_when - 08:30:45   02/05/1990 - before RTEMS_INVALID_CLOCK
    284284TA1 - rtems_timer_get_information - RTEMS_INVALID_ID
     
    292292TA1 - rtems_timer_server_fire_after - RTEMS_INVALID_NUMBER
    293293TA1 - rtems_timer_server_fire_when - 08:30:45   02/05/1987 - RTEMS_INVALID_CLOCK
    294 TA1 - rtems_clock_get       - 00:00:00   01/01/1992
     294TA1 - rtems_clock_get_tod       - 00:00:00   01/01/1992
    295295TA1 - rtems_timer_server_fire_when - 08:30:45   02/05/1990 - before RTEMS_INVALID_CLOCK
    296296*** END OF TEST 9 ***
  • testsuites/sptests/sp11/sp11.scn

    rda8946a4 rbcf16c0  
    1616TA1 - RTEMS_EVENT_14 received - eventout => 00004000
    1717TA1 - rtems_event_send - send RTEMS_EVENT_19 to TA2
    18 TA1 - rtems_clock_get - 08:15:00   02/12/1988
     18TA1 - rtems_clock_get_tod - 08:15:00   02/12/1988
    1919<pause>
    2020TA1 - rtems_event_send - send RTEMS_EVENT_18 to self after 5 seconds
    2121TA1 - rtems_event_receive - waiting forever on RTEMS_EVENT_18
    2222TA2 - RTEMS_EVENT_10 received - eventout => 00000400
    23 TA2 - rtems_clock_get - 08:15:05   02/12/1988
     23TA2 - rtems_clock_get_tod - 08:15:05   02/12/1988
    2424TA2 - rtems_event_receive - RTEMS_PENDING_EVENTS
    2525TA2 - eventout => 00080000
     
    2828TA2 - rtems_task_delete - deletes self
    2929TA1 - RTEMS_EVENT_18 received - eventout => 00040000
    30 TA1 - rtems_clock_get - 08:15:05   02/12/1988
     30TA1 - rtems_clock_get_tod - 08:15:05   02/12/1988
    3131TA1 - rtems_event_send - send RTEMS_EVENT_3 to self
    3232TA1 - rtems_event_receive - RTEMS_EVENT_3 or RTEMS_EVENT_22 - NO_WAIT and ANY
  • testsuites/sptests/sp11/task1.c

    rda8946a4 rbcf16c0  
    6969  directive_failed( status, "rtems_event_send" );
    7070
    71   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    72   directive_failed( status, "rtems_clock_get" );
    73   print_time( "TA1 - rtems_clock_get - ", &time, "\n" );
     71  status = rtems_clock_get_tod( &time );
     72  directive_failed( status, "rtems_clock_get_tod" );
     73  print_time( "TA1 - rtems_clock_get_tod - ", &time, "\n" );
    7474
    7575rtems_test_pause();
     
    9494  printf( "TA1 - RTEMS_EVENT_18 received - eventout => %08x\n", eventout );
    9595
    96   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    97   directive_failed( status, "TA1 rtems_clock_get" );
    98   print_time( "TA1 - rtems_clock_get - ", &time, "\n" );
     96  status = rtems_clock_get_tod( &time );
     97  directive_failed( status, "TA1 rtems_clock_get_tod" );
     98  print_time( "TA1 - rtems_clock_get_tod - ", &time, "\n" );
    9999
    100100  puts( "TA1 - rtems_event_send - send RTEMS_EVENT_3 to self" );
     
    205205    directive_failed( status, "rtems_event_receive" );
    206206
    207     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    208     directive_failed( status, "rtems_clock_get" );
     207    status = rtems_clock_get_tod( &time );
     208    directive_failed( status, "rtems_clock_get_tod" );
    209209
    210210    printf( "TA1 - RTEMS_EVENT_1 received - eventout => %08x - ", eventout );
  • testsuites/sptests/sp11/task2.c

    rda8946a4 rbcf16c0  
    9494  directive_failed( status, "rtems_event_receive" );
    9595
    96   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    97   directive_failed( status, "rtems_clock_get" );
     96  status = rtems_clock_get_tod( &time );
     97  directive_failed( status, "rtems_clock_get_tod" );
    9898
    9999  printf( "TA2 - RTEMS_EVENT_10 received - eventout => %08x\n", eventout );
    100   print_time( "TA2 - rtems_clock_get - ", &time, "\n" );
     100  print_time( "TA2 - rtems_clock_get_tod - ", &time, "\n" );
    101101
    102102  puts( "TA2 - rtems_event_receive - RTEMS_PENDING_EVENTS" );
  • testsuites/sptests/sp19/fptask.c

    rda8946a4 rbcf16c0  
    5757  while( FOREVER ) {
    5858
    59     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    60     directive_failed( status, "rtems_clock_get" );
     59    status = rtems_clock_get_tod( &time );
     60    directive_failed( status, "rtems_clock_get_tod" );
    6161
    6262    if ( time.second >= 16 ) {
     
    7878    {
    7979      put_name( Task_name[ task_index ], FALSE );
    80       print_time( " - rtems_clock_get - ", &time, "\n" );
     80      print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    8181      previous_seconds = time.second;
    8282    }
  • testsuites/sptests/sp19/sp19.scn

    rda8946a4 rbcf16c0  
    55FP1  - float base = (6000.6)
    66TA1  - integer base = (0x1000)
    7 TA1  - rtems_clock_get - 09:00:00   12/31/1988
     7TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
    88TA2  - integer base = (0x2000)
    9 TA2  - rtems_clock_get - 09:00:00   12/31/1988
     9TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
    1010TA3  - integer base = (0x3000)
    11 TA3  - rtems_clock_get - 09:00:00   12/31/1988
     11TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988
    1212TA4  - integer base = (0x4000)
    1313TA4  - float base = (4000.4)
    14 TA4  - rtems_clock_get - 09:00:00   12/31/1988
    15 TA4  - rtems_clock_get - 09:00:01   12/31/1988
    16 TA4  - rtems_clock_get - 09:00:02   12/31/1988
    17 TA4  - rtems_clock_get - 09:00:03   12/31/1988
    18 TA4  - rtems_clock_get - 09:00:04   12/31/1988
     14TA4  - rtems_clock_get_tod - 09:00:00   12/31/1988
     15TA4  - rtems_clock_get_tod - 09:00:01   12/31/1988
     16TA4  - rtems_clock_get_tod - 09:00:02   12/31/1988
     17TA4  - rtems_clock_get_tod - 09:00:03   12/31/1988
     18TA4  - rtems_clock_get_tod - 09:00:04   12/31/1988
    1919TA5  - integer base = (0x5000)
    2020TA5  - float base = (5000.5)
    21 TA5  - rtems_clock_get - 09:00:04   12/31/1988
    22 TA1  - rtems_clock_get - 09:00:05   12/31/1988
    23 TA5  - rtems_clock_get - 09:00:05   12/31/1988
    24 TA4  - rtems_clock_get - 09:00:05   12/31/1988
    25 TA5  - rtems_clock_get - 09:00:06   12/31/1988
    26 TA4  - rtems_clock_get - 09:00:06   12/31/1988
    27 TA5  - rtems_clock_get - 09:00:07   12/31/1988
    28 TA4  - rtems_clock_get - 09:00:07   12/31/1988
    29 TA5  - rtems_clock_get - 09:00:08   12/31/1988
    30 TA4  - rtems_clock_get - 09:00:08   12/31/1988
    31 TA5  - rtems_clock_get - 09:00:09   12/31/1988
    32 TA4  - rtems_clock_get - 09:00:09   12/31/1988
    33 TA2  - rtems_clock_get - 09:00:10   12/31/1988
    34 TA1  - rtems_clock_get - 09:00:10   12/31/1988
    35 TA5  - rtems_clock_get - 09:00:10   12/31/1988
    36 TA4  - rtems_clock_get - 09:00:10   12/31/1988
    37 TA5  - rtems_clock_get - 09:00:11   12/31/1988
    38 TA4  - rtems_clock_get - 09:00:11   12/31/1988
    39 TA5  - rtems_clock_get - 09:00:12   12/31/1988
    40 TA4  - rtems_clock_get - 09:00:12   12/31/1988
    41 TA5  - rtems_clock_get - 09:00:13   12/31/1988
    42 TA4  - rtems_clock_get - 09:00:13   12/31/1988
    43 TA5  - rtems_clock_get - 09:00:14   12/31/1988
    44 TA4  - rtems_clock_get - 09:00:14   12/31/1988
    45 TA3  - rtems_clock_get - 09:00:15   12/31/1988
    46 TA1  - rtems_clock_get - 09:00:15   12/31/1988
    47 TA5  - rtems_clock_get - 09:00:15   12/31/1988
    48 TA4  - rtems_clock_get - 09:00:15   12/31/1988
     21TA5  - rtems_clock_get_tod - 09:00:04   12/31/1988
     22TA1  - rtems_clock_get_tod - 09:00:05   12/31/1988
     23TA5  - rtems_clock_get_tod - 09:00:05   12/31/1988
     24TA4  - rtems_clock_get_tod - 09:00:05   12/31/1988
     25TA5  - rtems_clock_get_tod - 09:00:06   12/31/1988
     26TA4  - rtems_clock_get_tod - 09:00:06   12/31/1988
     27TA5  - rtems_clock_get_tod - 09:00:07   12/31/1988
     28TA4  - rtems_clock_get_tod - 09:00:07   12/31/1988
     29TA5  - rtems_clock_get_tod - 09:00:08   12/31/1988
     30TA4  - rtems_clock_get_tod - 09:00:08   12/31/1988
     31TA5  - rtems_clock_get_tod - 09:00:09   12/31/1988
     32TA4  - rtems_clock_get_tod - 09:00:09   12/31/1988
     33TA2  - rtems_clock_get_tod - 09:00:10   12/31/1988
     34TA1  - rtems_clock_get_tod - 09:00:10   12/31/1988
     35TA5  - rtems_clock_get_tod - 09:00:10   12/31/1988
     36TA4  - rtems_clock_get_tod - 09:00:10   12/31/1988
     37TA5  - rtems_clock_get_tod - 09:00:11   12/31/1988
     38TA4  - rtems_clock_get_tod - 09:00:11   12/31/1988
     39TA5  - rtems_clock_get_tod - 09:00:12   12/31/1988
     40TA4  - rtems_clock_get_tod - 09:00:12   12/31/1988
     41TA5  - rtems_clock_get_tod - 09:00:13   12/31/1988
     42TA4  - rtems_clock_get_tod - 09:00:13   12/31/1988
     43TA5  - rtems_clock_get_tod - 09:00:14   12/31/1988
     44TA4  - rtems_clock_get_tod - 09:00:14   12/31/1988
     45TA3  - rtems_clock_get_tod - 09:00:15   12/31/1988
     46TA1  - rtems_clock_get_tod - 09:00:15   12/31/1988
     47TA5  - rtems_clock_get_tod - 09:00:15   12/31/1988
     48TA4  - rtems_clock_get_tod - 09:00:15   12/31/1988
    4949TA5 - rtems_task_delete - TA3
    5050*** END OF TEST 19 ***
  • testsuites/sptests/sp19/task1.c

    rda8946a4 rbcf16c0  
    4343
    4444  while( FOREVER ) {
    45     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    46     directive_failed( status, "rtems_clock_get" );
     45    status = rtems_clock_get_tod( &time );
     46    directive_failed( status, "rtems_clock_get_tod" );
    4747
    4848    put_name( Task_name[ task_number( tid ) ], FALSE );
    49     print_time( " - rtems_clock_get - ", &time, "\n" );
     49    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5050
    5151    INTEGER_CHECK( INTEGER_factors[ task_index ] );
  • testsuites/sptests/sp22/prtime.c

    rda8946a4 rbcf16c0  
    2424  rtems_status_code status;
    2525
    26   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    27   directive_failed( status, "rtems_clock_get" );
     26  status = rtems_clock_get_tod( &time );
     27  directive_failed( status, "rtems_clock_get_tod" );
    2828
    2929  put_name( Task_name[ 1 ], FALSE );
    30   print_time( "- rtems_clock_get - ", &time, "\n" );
     30  print_time( "- rtems_clock_get_tod - ", &time, "\n" );
    3131}
  • testsuites/sptests/sp22/sp22.scn

    rda8946a4 rbcf16c0  
    44TA1 - rtems_timer_ident - identing timer 1
    55TA1 - timer 1 has id (0x12010001)
    6 TA1 - rtems_clock_get - 09:00:00   12/31/1988
     6TA1 - rtems_clock_get_tod - 09:00:00   12/31/1988
    77TA1 - rtems_timer_fire_after - timer 1 in 3 seconds
    88TA1 - rtems_task_suspend( RTEMS_SELF )
    9 TA1 - rtems_clock_get - 09:00:03   12/31/1988
     9TA1 - rtems_clock_get_tod - 09:00:03   12/31/1988
    1010TA1 - rtems_timer_fire_after - timer 1 in 3 seconds
    1111TA1 - rtems_task_wake_after - 1 second
    12 TA1 - rtems_clock_get - 09:00:04   12/31/1988
     12TA1 - rtems_clock_get_tod - 09:00:04   12/31/1988
    1313TA1 - rtems_timer_reset - timer 1
    1414TA1 - rtems_task_suspend( RTEMS_SELF )
    15 TA1 - rtems_clock_get - 09:00:07   12/31/1988
     15TA1 - rtems_clock_get_tod - 09:00:07   12/31/1988
    1616<pause>
    1717TA1 - rtems_timer_fire_after - timer 1 in 3 seconds
    1818TA1 - rtems_timer_cancel - timer 1
    19 TA1 - rtems_clock_get - 09:00:07   12/31/1988
     19TA1 - rtems_clock_get_tod - 09:00:07   12/31/1988
    2020TA1 - rtems_timer_fire_when - timer 1 in 3 seconds
    2121TA1 - rtems_task_suspend( RTEMS_SELF )
    22 TA1 - rtems_clock_get - 09:00:10   12/31/1988
     22TA1 - rtems_clock_get_tod - 09:00:10   12/31/1988
    2323TA1 - rtems_timer_fire_when - timer 1 in 3 seconds
    2424TA1 - rtems_task_wake_after - 1 second
    25 TA1 - rtems_clock_get - 09:00:11   12/31/1988
     25TA1 - rtems_clock_get_tod - 09:00:11   12/31/1988
    2626TA1 - rtems_timer_cancel - timer 1
    2727TA1 - rtems_task_wake_after - YIELD (only task at priority)
  • testsuites/sptests/sp22/task1.c

    rda8946a4 rbcf16c0  
    114114  Print_time();
    115115
    116   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    117   directive_failed( status, "rtems_clock_get" );
     116  status = rtems_clock_get_tod( &time );
     117  directive_failed( status, "rtems_clock_get_tod" );
    118118
    119119  time.second += 3;
     
    131131/* when which is canceled */
    132132
    133   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    134   directive_failed( status, "rtems_clock_get" );
     133  status = rtems_clock_get_tod( &time );
     134  directive_failed( status, "rtems_clock_get_tod" );
    135135
    136136  time.second += 3;
  • testsuites/sptests/sp24/sp24.scn

    rda8946a4 rbcf16c0  
    11*** TEST 24 ***
    2 TA1  - rtems_clock_get - 09:00:00   12/31/1988
    3 TA2  - rtems_clock_get - 09:00:00   12/31/1988
    4 TA3  - rtems_clock_get - 09:00:00   12/31/1988
    5 TA1  - rtems_clock_get - 09:00:05   12/31/1988
    6 TA2  - rtems_clock_get - 09:00:10   12/31/1988
    7 TA1  - rtems_clock_get - 09:00:10   12/31/1988
    8 TA3  - rtems_clock_get - 09:00:15   12/31/1988
    9 TA1  - rtems_clock_get - 09:00:15   12/31/1988
    10 TA2  - rtems_clock_get - 09:00:20   12/31/1988
    11 TA1  - rtems_clock_get - 09:00:20   12/31/1988
    12 TA1  - rtems_clock_get - 09:00:25   12/31/1988
    13 TA3  - rtems_clock_get - 09:00:30   12/31/1988
    14 TA2  - rtems_clock_get - 09:00:30   12/31/1988
    15 TA1  - rtems_clock_get - 09:00:30   12/31/1988
     2TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
     3TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
     4TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988
     5TA1  - rtems_clock_get_tod - 09:00:05   12/31/1988
     6TA2  - rtems_clock_get_tod - 09:00:10   12/31/1988
     7TA1  - rtems_clock_get_tod - 09:00:10   12/31/1988
     8TA3  - rtems_clock_get_tod - 09:00:15   12/31/1988
     9TA1  - rtems_clock_get_tod - 09:00:15   12/31/1988
     10TA2  - rtems_clock_get_tod - 09:00:20   12/31/1988
     11TA1  - rtems_clock_get_tod - 09:00:20   12/31/1988
     12TA1  - rtems_clock_get_tod - 09:00:25   12/31/1988
     13TA3  - rtems_clock_get_tod - 09:00:30   12/31/1988
     14TA2  - rtems_clock_get_tod - 09:00:30   12/31/1988
     15TA1  - rtems_clock_get_tod - 09:00:30   12/31/1988
    1616*** END OF TEST 24 ***
  • testsuites/sptests/sp24/task1.c

    rda8946a4 rbcf16c0  
    4141    directive_failed( status, "tm_fire_after failed" );
    4242
    43     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    44     directive_failed( status, "rtems_clock_get failed" );
     43    status = rtems_clock_get_tod( &time );
     44    directive_failed( status, "rtems_clock_get_tod failed" );
    4545
    4646    if ( time.second >= 35 ) {
     
    5050
    5151    put_name( Task_name[ task_number( tid ) ], FALSE );
    52     print_time( " - rtems_clock_get - ", &time, "\n" );
     52    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5353
    5454    status = rtems_task_suspend( RTEMS_SELF );
  • testsuites/sptests/sp30/task1.c

    rda8946a4 rbcf16c0  
    4141    directive_failed( status, "rtems_timer_server_fire_after failed" );
    4242
    43     status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    44     directive_failed( status, "rtems_clock_get failed" );
     43    status = rtems_clock_get_tod( &time );
     44    directive_failed( status, "rtems_clock_get_tod failed" );
    4545
    4646    if ( time.second >= 35 ) {
     
    5050
    5151    put_name( Task_name[ task_number( tid ) - 1 ], FALSE );
    52     print_time( " - rtems_clock_get - ", &time, "\n" );
     52    print_time( " - rtems_clock_get_tod - ", &time, "\n" );
    5353
    5454    status = rtems_task_suspend( RTEMS_SELF );
  • testsuites/sptests/sp31/prtime.c

    rda8946a4 rbcf16c0  
    2424  rtems_status_code status;
    2525
    26   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    27   directive_failed( status, "rtems_clock_get" );
     26  status = rtems_clock_get_tod( &time );
     27  directive_failed( status, "rtems_clock_get_tod" );
    2828
    2929  put_name( Task_name[ 1 ], FALSE );
    30   print_time( "- rtems_clock_get - ", &time, "\n" );
     30  print_time( "- rtems_clock_get_tod - ", &time, "\n" );
    3131}
  • testsuites/sptests/sp31/sp31.scn

    rda8946a4 rbcf16c0  
    2727TA1 - rtems_timer_cancel - timer 1
    2828TA1 - rtems_timer_cancel - timer 2
    29 TA1 - rtems_clock_get - 09:00:02   12/31/1988
     29TA1 - rtems_clock_get_tod - 09:00:02   12/31/1988
    3030TA1 - rtems_timer_server_fire_after - timer 1 in 3 seconds
    3131TA1 - rtems_task_suspend( RTEMS_SELF )
    32 TA1 - rtems_clock_get - 09:00:05   12/31/1988
     32TA1 - rtems_clock_get_tod - 09:00:05   12/31/1988
    3333TA1 - rtems_timer_server_fire_after - timer 1 in 3 seconds
    3434TA1 - rtems_task_wake_after - 1 second
    35 TA1 - rtems_clock_get - 09:00:06   12/31/1988
     35TA1 - rtems_clock_get_tod - 09:00:06   12/31/1988
    3636TA1 - rtems_timer_reset - timer 1
    3737TA1 - rtems_task_suspend( RTEMS_SELF )
    38 TA1 - rtems_clock_get - 09:00:09   12/31/1988
     38TA1 - rtems_clock_get_tod - 09:00:09   12/31/1988
    3939<pause>
    4040TA1 - rtems_timer_server_fire_after - timer 1 in 3 seconds
    4141TA1 - rtems_timer_cancel - timer 1
    42 TA1 - rtems_clock_get - 09:00:07   12/31/1988
     42TA1 - rtems_clock_get_tod - 09:00:07   12/31/1988
    4343TA1 - rtems_timer_server_fire_when - timer 1 in 3 seconds
    4444TA1 - rtems_task_suspend( RTEMS_SELF )
    45 TA1 - rtems_clock_get - 09:00:10   12/31/1988
     45TA1 - rtems_clock_get_tod - 09:00:10   12/31/1988
    4646TA1 - rtems_timer_server_fire_when - timer 1 in 3 seconds
    4747TA1 - rtems_task_wake_after - 1 second
    48 TA1 - rtems_clock_get - 09:00:11   12/31/1988
     48TA1 - rtems_clock_get_tod - 09:00:11   12/31/1988
    4949TA1 - rtems_timer_cancel - timer 1
    5050TA1 - rtems_task_wake_after - YIELD (only task at priority)
  • testsuites/sptests/sp31/task1.c

    rda8946a4 rbcf16c0  
    230230  Print_time();
    231231
    232   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    233   directive_failed( status, "rtems_clock_get" );
     232  status = rtems_clock_get_tod( &time );
     233  directive_failed( status, "rtems_clock_get_tod" );
    234234
    235235  time.second += 3;
     
    247247/* when which is canceled */
    248248
    249   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    250   directive_failed( status, "rtems_clock_get" );
     249  status = rtems_clock_get_tod( &time );
     250  directive_failed( status, "rtems_clock_get_tod" );
    251251
    252252  time.second += 3;
  • testsuites/sptests/spwatchdog/prtime.c

    rda8946a4 rbcf16c0  
    2424  rtems_status_code status;
    2525
    26   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    27   directive_failed( status, "rtems_clock_get" );
     26  status = rtems_clock_get_tod( &time );
     27  directive_failed( status, "rtems_clock_get_tod" );
    2828
    2929  put_name( Task_name[ 1 ], FALSE );
    30   print_time( "- rtems_clock_get - ", &time, "\n" );
     30  print_time( "- rtems_clock_get_tod - ", &time, "\n" );
    3131}
  • testsuites/sptests/spwatchdog/spwatchdog.scn

    rda8946a4 rbcf16c0  
    77TA1 - rtems_timer_ident - identing timer 1
    88TA1 - timer 1 has id (0x12010001)
    9 TA1 - rtems_clock_get - 09:00:00   12/31/1988
     9TA1 - rtems_clock_get_tod - 09:00:00   12/31/1988
    1010TA1 - rtems_timer_fire_after - timer 1 in 3 seconds
    1111TA1 - rtems_task_suspend( RTEMS_SELF )
    12 TA1 - rtems_clock_get - 09:00:03   12/31/1988
     12TA1 - rtems_clock_get_tod - 09:00:03   12/31/1988
    1313TA1 - rtems_timer_fire_after - timer 1 in 3 seconds
    1414TA1 - rtems_task_wake_after - 1 second
    15 TA1 - rtems_clock_get - 09:00:04   12/31/1988
     15TA1 - rtems_clock_get_tod - 09:00:04   12/31/1988
    1616TA1 - rtems_timer_reset - timer 1
    1717Watchdog Chain: _Watchdog_Ticks_chain 202F530
  • testsuites/sptests/spwatchdog/task1.c

    rda8946a4 rbcf16c0  
    117117  Print_time();
    118118
    119   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    120   directive_failed( status, "rtems_clock_get" );
     119  status = rtems_clock_get_tod( &time );
     120  directive_failed( status, "rtems_clock_get_tod" );
    121121
    122122  time.second += 3;
     
    134134/* when which is canceled */
    135135
    136   status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    137   directive_failed( status, "rtems_clock_get" );
     136  status = rtems_clock_get_tod( &time );
     137  directive_failed( status, "rtems_clock_get_tod" );
    138138
    139139  time.second += 3;
Note: See TracChangeset for help on using the changeset viewer.