diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-25 10:38:16 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-25 10:38:16 +0000 |
commit | 5a800eee13656b3177183ce9f4ad2187f03ef969 (patch) | |
tree | d5d2c2f352dce14c52174ae7f0c6ccc164fa26ff /testsuites | |
parent | 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-5a800eee13656b3177183ce9f4ad2187f03ef969.tar.bz2 |
2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/tmacros.h: Convert to using c99 fixed size types.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/support/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/support/include/tmacros.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/support/ChangeLog b/testsuites/support/ChangeLog index fc2c35fcaa..ad84289003 100644 --- a/testsuites/support/ChangeLog +++ b/testsuites/support/ChangeLog @@ -1,5 +1,9 @@ 2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * include/tmacros.h: Convert to using c99 fixed size types. + +2004-03-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + * configure.ac: Add 2nd arg to RTEMS_TOP. 2004-03-03 Joel Sherrill <joel@OARcorp.com> diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index f5298710ad..cae7b5d9aa 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -46,7 +46,7 @@ extern "C" { #define check_dispatch_disable_level( _expect ) \ do { \ - extern volatile rtems_unsigned32 _Thread_Dispatch_disable_level; \ + extern volatile uint32_t _Thread_Dispatch_disable_level; \ if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \ printf( "\n_Thread_Dispatch_disable_level is (%d) not %d\n", \ _Thread_Dispatch_disable_level, (_expect) ); \ @@ -199,7 +199,7 @@ extern "C" { #endif #define put_name( name, crlf ) \ -{ rtems_unsigned32 c0, c1, c2, c3; \ +{ uint32_t c0, c1, c2, c3; \ c0 = (name >> 24) & 0xff; \ c1 = (name >> 16) & 0xff; \ c2 = (name >> 8) & 0xff; \ @@ -227,7 +227,7 @@ extern "C" { ( rtems_get_index( tid ) - \ rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks ) -static inline rtems_unsigned32 get_ticks_per_second( void ) +static inline uint32_t get_ticks_per_second( void ) { rtems_interval ticks_per_second; (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); |