summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/object.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/object.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/object.inl')
-rw-r--r--cpukit/score/inline/rtems/score/object.inl28
1 files changed, 14 insertions, 14 deletions
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl
index 0d86f70117..fa2c0478e5 100644
--- a/cpukit/score/inline/rtems/score/object.inl
+++ b/cpukit/score/inline/rtems/score/object.inl
@@ -28,9 +28,9 @@
RTEMS_INLINE_ROUTINE Objects_Id _Objects_Build_id(
Objects_APIs the_api,
- unsigned32 the_class,
- unsigned32 node,
- unsigned32 index
+ uint32_t the_class,
+ uint32_t node,
+ uint32_t index
)
{
return (( (Objects_Id) the_api ) << OBJECTS_API_START_BIT) |
@@ -64,11 +64,11 @@ RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(
* This function returns the class portion of the ID.
*/
-RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_class(
+RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(
Objects_Id id
)
{
- return (unsigned32)
+ return (uint32_t )
((id >> OBJECTS_CLASS_START_BIT) & OBJECTS_CLASS_VALID_BITS);
}
@@ -81,7 +81,7 @@ RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_class(
* This function returns the node portion of the ID.
*/
-RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_node(
+RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_node(
Objects_Id id
)
{
@@ -97,7 +97,7 @@ RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_node(
* This function returns the index portion of the ID.
*/
-RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_index(
+RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_index(
Objects_Id id
)
{
@@ -114,7 +114,7 @@ RTEMS_INLINE_ROUTINE unsigned32 _Objects_Get_index(
*/
RTEMS_INLINE_ROUTINE boolean _Objects_Is_class_valid(
- unsigned32 the_class
+ uint32_t the_class
)
{
/* XXX how do we determine this now? */
@@ -132,7 +132,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_class_valid(
*/
RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node(
- unsigned32 node
+ uint32_t node
)
{
return ( node == _Objects_Local_node );
@@ -185,7 +185,7 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Are_ids_equal(
RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Get_local_object(
Objects_Information *information,
- unsigned32 index
+ uint32_t index
)
{
if ( index > information->maximum )
@@ -205,7 +205,7 @@ RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Get_local_object(
RTEMS_INLINE_ROUTINE void _Objects_Set_local_object(
Objects_Information *information,
- unsigned32 index,
+ uint32_t index,
Objects_Control *the_object
)
{
@@ -229,7 +229,7 @@ RTEMS_INLINE_ROUTINE Objects_Information *_Objects_Get_information(
)
{
Objects_APIs the_api;
- unsigned32 the_class;
+ uint32_t the_class;
the_class = _Objects_Get_class( id );
@@ -257,7 +257,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Open(
Objects_Name name
)
{
- unsigned32 index;
+ uint32_t index;
index = _Objects_Get_index( the_object->id );
_Objects_Set_local_object( information, index, the_object );
@@ -285,7 +285,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Close(
Objects_Control *the_object
)
{
- unsigned32 index;
+ uint32_t index;
index = _Objects_Get_index( the_object->id );
_Objects_Set_local_object( information, index, NULL );