From d6154c70dc048e21aae907fd053a1e7a1d155408 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 29 Mar 2004 16:41:13 +0000 Subject: 2004-03-29 Ralf Corsepius * score/include/rtems/debug.h, score/include/rtems/score/bitfield.h, score/include/rtems/score/chain.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/include/rtems/score/heap.h, score/include/rtems/score/interr.h, score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h, score/include/rtems/score/object.h, score/include/rtems/score/objectmp.h, score/include/rtems/score/priority.h, score/include/rtems/score/stack.h, score/include/rtems/score/states.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadmp.h, score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h, score/include/rtems/score/userext.h, score/include/rtems/score/watchdog.h, score/include/rtems/score/wkspace.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/coremsg.inl, score/inline/rtems/score/coresem.inl, score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl, score/inline/rtems/score/object.inl, score/inline/rtems/score/priority.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/thread.inl, score/inline/rtems/score/tqdata.inl, score/inline/rtems/score/userext.inl, score/inline/rtems/score/wkspace.inl, score/macros/rtems/score/address.inl, score/macros/rtems/score/heap.inl, score/macros/rtems/score/object.inl, score/macros/rtems/score/priority.inl, score/macros/rtems/score/userext.inl: Convert to using c99 fixed size types. --- cpukit/score/macros/rtems/score/address.inl | 4 ++-- cpukit/score/macros/rtems/score/heap.inl | 2 +- cpukit/score/macros/rtems/score/object.inl | 6 +++--- cpukit/score/macros/rtems/score/priority.inl | 2 +- cpukit/score/macros/rtems/score/userext.inl | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'cpukit/score/macros/rtems') diff --git a/cpukit/score/macros/rtems/score/address.inl b/cpukit/score/macros/rtems/score/address.inl index f8a787b05d..77d2d576c2 100644 --- a/cpukit/score/macros/rtems/score/address.inl +++ b/cpukit/score/macros/rtems/score/address.inl @@ -38,7 +38,7 @@ * * _Addresses_Subtract * - * NOTE: The cast of an address to an unsigned32 makes this code + * NOTE: The cast of an address to an uint32_t makes this code * dependent on an addresses being thirty two bits. */ @@ -59,7 +59,7 @@ ( ( (unsigned short)(_address) % CPU_ALIGNMENT ) == 0 ) #else #define _Addresses_Is_aligned( _address ) \ - ( ( (unsigned32)(_address) % CPU_ALIGNMENT ) == 0 ) + ( ( (uint32_t )(_address) % CPU_ALIGNMENT ) == 0 ) #endif /*PAGE diff --git a/cpukit/score/macros/rtems/score/heap.inl b/cpukit/score/macros/rtems/score/heap.inl index 6355bf8583..9c0b3cc77c 100644 --- a/cpukit/score/macros/rtems/score/heap.inl +++ b/cpukit/score/macros/rtems/score/heap.inl @@ -76,7 +76,7 @@ #define _Heap_User_block_at( _base ) \ _Heap_Block_at( \ (_base), \ - -*(((unsigned32 *) (_base)) - 1) + -HEAP_BLOCK_USED_OVERHEAD \ + -*(((uint32_t *) (_base)) - 1) + -HEAP_BLOCK_USED_OVERHEAD \ ) /*PAGE diff --git a/cpukit/score/macros/rtems/score/object.inl b/cpukit/score/macros/rtems/score/object.inl index 37ee26c4de..79702927f9 100644 --- a/cpukit/score/macros/rtems/score/object.inl +++ b/cpukit/score/macros/rtems/score/object.inl @@ -43,7 +43,7 @@ */ #define _Objects_Get_class( _id ) \ - (unsigned32) \ + (uint32_t ) \ (((_id) >> OBJECTS_CLASS_START_BIT) & OBJECTS_CLASS_VALID_BITS) /*PAGE @@ -145,7 +145,7 @@ #define _Objects_Open( _information, _the_object, _name ) \ do { \ - unsigned32 _index; \ + uint32_t _index; \ \ _index = _Objects_Get_index( (_the_object)->id ); \ (_information)->local_table[ _index ] = (_the_object); \ @@ -167,7 +167,7 @@ #define _Objects_Close( _information, _the_object ) \ do { \ - unsigned32 _index; \ + uint32_t _index; \ \ _index = _Objects_Get_index( (_the_object)->id ); \ (_information)->local_table[ _index ] = (Objects_Control *) NULL; \ diff --git a/cpukit/score/macros/rtems/score/priority.inl b/cpukit/score/macros/rtems/score/priority.inl index ee703931aa..057f36ea65 100644 --- a/cpukit/score/macros/rtems/score/priority.inl +++ b/cpukit/score/macros/rtems/score/priority.inl @@ -26,7 +26,7 @@ #define _Priority_Handler_initialization() \ { \ - unsigned32 index; \ + uint32_t index; \ \ _Priority_Major_bit_map = 0; \ for ( index=0 ; index <16 ; index++ ) \ diff --git a/cpukit/score/macros/rtems/score/userext.inl b/cpukit/score/macros/rtems/score/userext.inl index 4da8280748..cbb72b24f9 100644 --- a/cpukit/score/macros/rtems/score/userext.inl +++ b/cpukit/score/macros/rtems/score/userext.inl @@ -54,7 +54,7 @@ ) \ { \ User_extensions_Control *extension; \ - unsigned32 i; \ + uint32_t i; \ \ _Chain_Initialize_empty( &_User_extensions_List ); \ _Chain_Initialize_empty( &_User_extensions_Switches_list ); \ -- cgit v1.2.3