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

* psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get(
	RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
This commit is contained in:
Joel Sherrill
2009-08-10 16:05:02 +00:00
parent 1875546d63
commit de90869d97
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get(
RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine

View File

@@ -198,7 +198,7 @@ void *POSIX_Init(
/* now schedule another one to fire but do not sleep */
puts( "Init: send SIGUSR1 to process from a TSR (spin)" );
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &start );
start = rtems_clock_get_ticks_since_boot();
Signal_count = 0;
Signal_occurred = 0;
status = rtems_timer_fire_after(
@@ -208,7 +208,7 @@ void *POSIX_Init(
NULL
);
do {
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &end );
end = rtems_clock_get_ticks_since_boot();
} while ( !Signal_occurred && ((end - start) <= 800));
if ( !Signal_occurred ) {