2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>

* rtems/include/rtems/rtems/part.h,
	rtems/inline/rtems/rtems/region.inl: Fix warnings.
This commit is contained in:
Joel Sherrill
2009-05-05 21:17:28 +00:00
parent e8de5c718d
commit 43776b57f6
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/part.h,
rtems/inline/rtems/rtems/region.inl: Fix warnings.
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> 2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/heap.h, * score/include/rtems/score/heap.h,

View File

@@ -66,7 +66,7 @@ typedef struct {
/** This field is the physical starting address of the Partition. */ /** This field is the physical starting address of the Partition. */
void *starting_address; void *starting_address;
/** This field is the size of the Partition in bytes. */ /** This field is the size of the Partition in bytes. */
uint32_t length; intptr_t length;
/** This field is the size of each buffer in bytes */ /** This field is the size of each buffer in bytes */
uint32_t buffer_size; uint32_t buffer_size;
/** This field is the attribute set provided at create time. */ /** This field is the attribute set provided at create time. */

View File

@@ -78,7 +78,7 @@ RTEMS_INLINE_ROUTINE Region_Control *_Region_Get (
*/ */
RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment ( RTEMS_INLINE_ROUTINE void *_Region_Allocate_segment (
Region_Control *the_region, Region_Control *the_region,
uint32_t size intptr_t size
) )
{ {
return _Heap_Allocate( &the_region->Memory, size ); return _Heap_Allocate( &the_region->Memory, size );