forked from Imagelibrary/rtems
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
|
||||||
|
rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
|
||||||
|
|
||||||
2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* Makefile.am, configure.ac: Add test case for user providing their own
|
* Makefile.am, configure.ac: Add test case for user providing their own
|
||||||
|
|||||||
@@ -716,9 +716,9 @@ void Show_Time()
|
|||||||
rtems_time_of_day time;
|
rtems_time_of_day time;
|
||||||
rtems_status_code status;
|
rtems_status_code status;
|
||||||
|
|
||||||
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
|
status = rtems_clock_get_tod( &time );
|
||||||
printf("--->Current Time: ");
|
printf("--->Current Time: ");
|
||||||
print_time( " - rtems_clock_get - ", &time, "\n" );
|
print_time( " - rtems_clock_get_tod - ", &time, "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -65,9 +65,9 @@ void check_a_tod(
|
|||||||
assert( !status );
|
assert( !status );
|
||||||
|
|
||||||
do {
|
do {
|
||||||
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &new_tod );
|
status = rtems_clock_get_tod( &new_tod );
|
||||||
assert( !status );
|
assert( !status );
|
||||||
print_time( "rtems_clock_get ", &new_tod, "\n" );
|
print_time( "rtems_clock_get_tod ", &new_tod, "\n" );
|
||||||
|
|
||||||
/* now do the posix time gets */
|
/* now do the posix time gets */
|
||||||
result = gettimeofday( &tv, 0 );
|
result = gettimeofday( &tv, 0 );
|
||||||
|
|||||||
Reference in New Issue
Block a user