From 8f5b2746119d25d00c3399b97e43d4d7b5f27dff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 29 Jan 2008 21:53:16 +0000 Subject: 2008-01-29 Joel Sherrill * fileio/system.h, ticker/system.h: Add new Object Services collection. This changed the name of a few previously public but undocumented services and added a some new services. --- testsuites/samples/ChangeLog | 6 ++++++ testsuites/samples/fileio/system.h | 7 ++++--- testsuites/samples/ticker/system.h | 7 ++++--- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'testsuites') diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 694d084f11..eaa3033daa 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,9 @@ +2008-01-29 Joel Sherrill + + * fileio/system.h, ticker/system.h: Add new Object Services collection. + This changed the name of a few previously public but undocumented + services and added a some new services. + 2008-01-11 Joel Sherrill * hello/init.c: Remove accidental commit. diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h index 8e9562a1f2..bd9d36a6ff 100644 --- a/testsuites/samples/fileio/system.h +++ b/testsuites/samples/fileio/system.h @@ -3,7 +3,7 @@ * This include file contains information that is included in every * function in the test set. * - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -115,7 +115,8 @@ static inline uint32_t get_ticks_per_second( void ) */ #define task_number( tid ) \ - ( rtems_get_index( tid ) - \ - rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks ) + ( rtems_object_id_get_index( tid ) - \ + rtems_configuration_get_rtems_api_configuration()-> \ + number_of_initialization_tasks ) /* end of include file */ diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h index 217ac4de83..4f72faa49d 100644 --- a/testsuites/samples/ticker/system.h +++ b/testsuites/samples/ticker/system.h @@ -3,7 +3,7 @@ * This include file contains information that is included in every * function in the test set. * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -110,7 +110,8 @@ static inline uint32_t get_ticks_per_second( void ) */ #define task_number( tid ) \ - ( rtems_get_index( tid ) - \ - rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks ) + ( rtems_object_id_get_index( tid ) - \ + rtems_configuration_get_rtems_api_configuration()-> \ + number_of_initialization_tasks ) /* end of include file */ -- cgit v1.2.3