From 3c68f96d7a5dd68ba515bf784b19618de4305421 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 2 Apr 2007 18:24:13 +0000 Subject: [PATCH] 2007-04-02 Joel Sherrill * spsize/size.c: Convert from Classic API style TOD_Control as fundamental time structure to POSIX struct timespec. Add clock_get_uptime(). --- testsuites/sptests/ChangeLog | 6 ++++++ testsuites/sptests/spsize/size.c | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index ad1fb92084..1e4b4dcb14 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,9 @@ +2007-04-02 Joel Sherrill + + * spsize/size.c: Convert from Classic API style TOD_Control as + fundamental time structure to POSIX struct timespec. Add + clock_get_uptime(). + 2007-03-29 Ralf Corsépius * sp06/task1.c, sp20/task1.c: Use rtems_task_argument. diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 8933dfe1f6..dedc6d38f6 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -368,11 +368,10 @@ uninitialized = /*timer.h*/ (sizeof _Timer_Information) + -/*tod.h*/ (sizeof _TOD_Current) + +/*tod.h*/ (sizeof _TOD_Now) + (sizeof _TOD_Seconds_since_epoch) + (sizeof _TOD_Microseconds_per_tick) + (sizeof _TOD_Ticks_per_second) + - (sizeof _TOD_Seconds_watchdog) + /*tqdata.h*/ 0 + @@ -446,12 +445,9 @@ initialized += /*copyrt.h*/ (strlen(_Copyright_Notice)+1) + /*sptables.h*/ (sizeof _Initialization_Default_multiprocessing_table) + - (strlen(_RTEMS_version)+1) + + (strlen(_RTEMS_version)+1); -/*tod.h*/ (sizeof _TOD_Days_per_month) + - (sizeof _TOD_Days_to_date) + - (sizeof _TOD_Days_since_last_leap_year); #ifndef unix /* make sure this is not native */ #ifdef __sparc__