diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-29 12:51:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-29 12:51:43 +0000 |
commit | 3127180e745334723b33045e712dd3ab90bcf9d5 (patch) | |
tree | fa0e0cf96764cf8cc6b104cb9c50585ebffdc814 /cpukit/score/src/objectextendinformation.c | |
parent | 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-3127180e745334723b33045e712dd3ab90bcf9d5.tar.bz2 |
2004-04-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/src/Unlimited.txt, score/src/chain.c, score/src/coremsg.c,
score/src/coremsgbroadcast.c, score/src/coremsgclose.c,
score/src/coremsgflush.c, score/src/coremsgflushsupp.c,
score/src/coremsgseize.c, score/src/coremsgsubmit.c,
score/src/coremutex.c, score/src/coremutexflush.c,
score/src/coresem.c, score/src/coresemflush.c, score/src/coretod.c,
score/src/coretodtickle.c, score/src/coretodtoseconds.c,
score/src/coretodvalidate.c, score/src/heap.c,
score/src/heapallocate.c, score/src/heapextend.c,
score/src/heapfree.c, score/src/heapsizeofuserarea.c,
score/src/interr.c, score/src/iterateoverthreads.c,
score/src/mpci.c, score/src/object.c, score/src/objectallocate.c,
score/src/objectallocatebyindex.c, score/src/objectclearname.c,
score/src/objectcomparenameraw.c,
score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
score/src/objectcopynamestring.c,
score/src/objectextendinformation.c, score/src/objectfree.c,
score/src/objectget.c, score/src/objectgetbyindex.c,
score/src/objectgetisr.c, score/src/objectgetnoprotection.c,
score/src/objectidtoname.c, score/src/objectinitializeinformation.c,
score/src/objectmp.c, score/src/objectnametoid.c,
score/src/objectshrinkinformation.c, score/src/thread.c,
score/src/threadcreateidle.c, score/src/threadget.c,
score/src/threadidlebody.c, score/src/threadinitialize.c,
score/src/threadmp.c, score/src/threadq.c,
score/src/threadqdequeuepriority.c,
score/src/threadqenqueuepriority.c,
score/src/threadqfirstpriority.c, score/src/threadqflush.c,
score/src/threadreset.c, score/src/threadrestart.c,
score/src/threadsettransient.c, score/src/threadstackallocate.c,
score/src/threadstart.c, score/src/userext.c,
score/src/watchdoginsert.c, score/src/wkspace.c: Convert to using
c99 fixed size types.
Diffstat (limited to 'cpukit/score/src/objectextendinformation.c')
-rw-r--r-- | cpukit/score/src/objectextendinformation.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c index e404d092ad..abd87e79db 100644 --- a/cpukit/score/src/objectextendinformation.c +++ b/cpukit/score/src/objectextendinformation.c @@ -45,11 +45,11 @@ void _Objects_Extend_information( Objects_Control *the_object; void *name_area; Chain_Control Inactive; - unsigned32 block_count; - unsigned32 block; - unsigned32 index_base; - unsigned32 minimum_index; - unsigned32 index; + uint32_t block_count; + uint32_t block; + uint32_t index_base; + uint32_t minimum_index; + uint32_t index; /* * Search for a free block of indexes. The block variable ends up set @@ -81,9 +81,9 @@ void _Objects_Extend_information( ISR_Level level; void **object_blocks; Objects_Name *name_table; - unsigned32 *inactive_per_block; + uint32_t *inactive_per_block; Objects_Control **local_table; - unsigned32 maximum; + uint32_t maximum; void *old_tables; /* @@ -96,7 +96,7 @@ void _Objects_Extend_information( * The allocation has : * * void *objects[block_count]; - * unsigned32 inactive_count[block_count]; + * uint32_t inactive_count[block_count]; * Objects_Name *name_table[block_count]; * Objects_Control *local_table[maximum]; * @@ -120,7 +120,7 @@ void _Objects_Extend_information( object_blocks = (void**) _Workspace_Allocate( block_count * - (sizeof(void *) + sizeof(unsigned32) + sizeof(Objects_Name *)) + + (sizeof(void *) + sizeof(uint32_t ) + sizeof(Objects_Name *)) + ((maximum + minimum_index) * sizeof(Objects_Control *)) ); @@ -131,7 +131,7 @@ void _Objects_Extend_information( object_blocks = (void**) _Workspace_Allocate_or_fatal_error( block_count * - (sizeof(void *) + sizeof(unsigned32) + sizeof(Objects_Name *)) + + (sizeof(void *) + sizeof(uint32_t ) + sizeof(Objects_Name *)) + ((maximum + minimum_index) * sizeof(Objects_Control *)) ); } @@ -141,10 +141,10 @@ void _Objects_Extend_information( * */ - inactive_per_block = (unsigned32 *) _Addresses_Add_offset( + inactive_per_block = (uint32_t *) _Addresses_Add_offset( object_blocks, block_count * sizeof(void*) ); name_table = (Objects_Name *) _Addresses_Add_offset( - inactive_per_block, block_count * sizeof(unsigned32) ); + inactive_per_block, block_count * sizeof(uint32_t ) ); local_table = (Objects_Control **) _Addresses_Add_offset( name_table, block_count * sizeof(Objects_Name *) ); @@ -167,7 +167,7 @@ void _Objects_Extend_information( block_count * sizeof(void*) ); memcpy( inactive_per_block, information->inactive_per_block, - block_count * sizeof(unsigned32) ); + block_count * sizeof(uint32_t ) ); memcpy( name_table, information->name_table, block_count * sizeof(Objects_Name *) ); |