forked from Imagelibrary/rtems
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:
@@ -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>
|
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
|
* psxstat/test.c, psxtime/test.c: Convert calls to legacy routine
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ void *POSIX_Init(
|
|||||||
/* now schedule another one to fire but do not sleep */
|
/* now schedule another one to fire but do not sleep */
|
||||||
|
|
||||||
puts( "Init: send SIGUSR1 to process from a TSR (spin)" );
|
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_count = 0;
|
||||||
Signal_occurred = 0;
|
Signal_occurred = 0;
|
||||||
status = rtems_timer_fire_after(
|
status = rtems_timer_fire_after(
|
||||||
@@ -208,7 +208,7 @@ void *POSIX_Init(
|
|||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
do {
|
do {
|
||||||
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &end );
|
end = rtems_clock_get_ticks_since_boot();
|
||||||
} while ( !Signal_occurred && ((end - start) <= 800));
|
} while ( !Signal_occurred && ((end - start) <= 800));
|
||||||
|
|
||||||
if ( !Signal_occurred ) {
|
if ( !Signal_occurred ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user