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/wkspace.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/wkspace.c')
-rw-r--r-- | cpukit/score/src/wkspace.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index 1b13008b1c..b7a2f9a2fd 100644 --- a/cpukit/score/src/wkspace.c +++ b/cpukit/score/src/wkspace.c @@ -26,12 +26,12 @@ void _Workspace_Handler_initialization( void *starting_address, - unsigned32 size + uint32_t size ) { - unsigned32 *zero_out_array; - unsigned32 index; - unsigned32 memory_available; + uint32_t *zero_out_array; + uint32_t index; + uint32_t memory_available; if ( !starting_address || !_Addresses_Is_aligned( starting_address ) ) _Internal_error_Occurred( @@ -41,8 +41,8 @@ void _Workspace_Handler_initialization( ); if ( _CPU_Table.do_zero_of_workspace ) { - for( zero_out_array = (unsigned32 *) starting_address, index = 0 ; - index < size / sizeof( unsigned32 ) ; + for( zero_out_array = (uint32_t *) starting_address, index = 0 ; + index < size / sizeof( uint32_t ) ; index++ ) zero_out_array[ index ] = 0; } @@ -69,7 +69,7 @@ void _Workspace_Handler_initialization( */ void *_Workspace_Allocate_or_fatal_error( - unsigned32 size + uint32_t size ) { void *memory; |