summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/address.inl
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-29 16:41:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-29 16:41:13 +0000
commitd6154c70dc048e21aae907fd053a1e7a1d155408 (patch)
tree9ecb1475f4432a19f423da0ff73fbec9a87536af /cpukit/score/inline/rtems/score/address.inl
parent2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-d6154c70dc048e21aae907fd053a1e7a1d155408.tar.bz2
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* 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.
Diffstat (limited to 'cpukit/score/inline/rtems/score/address.inl')
-rw-r--r--cpukit/score/inline/rtems/score/address.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/inline/rtems/score/address.inl b/cpukit/score/inline/rtems/score/address.inl
index 40bc706ef3..28fa7f5c77 100644
--- a/cpukit/score/inline/rtems/score/address.inl
+++ b/cpukit/score/inline/rtems/score/address.inl
@@ -29,7 +29,7 @@
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (
void *base,
- unsigned32 offset
+ uint32_t offset
)
{
return (void *)((char *)base + offset);
@@ -48,7 +48,7 @@ RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (
RTEMS_INLINE_ROUTINE void *_Addresses_Subtract_offset (
void *base,
- unsigned32 offset
+ uint32_t offset
)
{
return (void *)((char *)base - offset);
@@ -63,11 +63,11 @@ RTEMS_INLINE_ROUTINE void *_Addresses_Subtract_offset (
* This function is used to subtract two addresses. It returns the
* resulting offset.
*
- * 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.
*/
-RTEMS_INLINE_ROUTINE unsigned32 _Addresses_Subtract (
+RTEMS_INLINE_ROUTINE uint32_t _Addresses_Subtract (
void *left,
void *right
)
@@ -95,7 +95,7 @@ RTEMS_INLINE_ROUTINE boolean _Addresses_Is_aligned (
#elif defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES)
return ( ( (unsigned short)address % CPU_ALIGNMENT ) == 0 );
#else
- return ( ( (unsigned32)address % CPU_ALIGNMENT ) == 0 );
+ return ( ( (uint32_t )address % CPU_ALIGNMENT ) == 0 );
#endif
}