diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-29 21:53:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-29 21:53:16 +0000 |
commit | 8f5b2746119d25d00c3399b97e43d4d7b5f27dff (patch) | |
tree | 062e5c8148f6dbdb8274b9619b232b3ce127690a /testsuites | |
parent | 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8f5b2746119d25d00c3399b97e43d4d7b5f27dff.tar.bz2 |
2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/samples/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/samples/fileio/system.h | 7 | ||||
-rw-r--r-- | testsuites/samples/ticker/system.h | 7 |
3 files changed, 14 insertions, 6 deletions
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 <joel.sherrill@oarcorp.com> + + * 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 <joel.sherrill@OARcorp.com> * 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 */ |