mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 15:30:17 +00:00
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c, rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c, rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c, rtems/src/regionreturnsegment.c: Do not initialize return status to RTEMS_INTERNAL_ERROR.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* rtems/src/regiondelete.c, rtems/src/regiongetfreeinfo.c,
|
||||
rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
|
||||
rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
|
||||
rtems/src/regionreturnsegment.c: Do not initialize return status to
|
||||
RTEMS_INTERNAL_ERROR.
|
||||
|
||||
2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* include/rtems/pci.h: Revert extern inline patch.
|
||||
|
||||
@@ -47,7 +47,7 @@ rtems_status_code rtems_region_delete(
|
||||
)
|
||||
{
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
register Region_Control *the_region;
|
||||
|
||||
_RTEMS_Lock_allocator();
|
||||
|
||||
@@ -50,7 +50,7 @@ rtems_status_code rtems_region_get_free_information(
|
||||
)
|
||||
{
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
register Region_Control *the_region;
|
||||
|
||||
if ( !the_info )
|
||||
|
||||
@@ -48,7 +48,7 @@ rtems_status_code rtems_region_get_information(
|
||||
)
|
||||
{
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
register Region_Control *the_region;
|
||||
|
||||
if ( !the_info )
|
||||
|
||||
@@ -55,7 +55,7 @@ rtems_status_code rtems_region_get_segment(
|
||||
{
|
||||
Thread_Control *executing;
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
register Region_Control *the_region;
|
||||
void *the_segment;
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ rtems_status_code rtems_region_get_segment_size(
|
||||
)
|
||||
{
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
register Region_Control *the_region;
|
||||
|
||||
if ( !segment )
|
||||
|
||||
@@ -53,7 +53,7 @@ rtems_status_code rtems_region_resize_segment(
|
||||
uintptr_t avail_size;
|
||||
Objects_Locations location;
|
||||
uintptr_t osize;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
Heap_Resize_status status;
|
||||
register Region_Control *the_region;
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ rtems_status_code rtems_region_return_segment(
|
||||
)
|
||||
{
|
||||
Objects_Locations location;
|
||||
rtems_status_code return_status = RTEMS_INTERNAL_ERROR;
|
||||
rtems_status_code return_status;
|
||||
#ifdef RTEMS_REGION_FREE_SHRED_PATTERN
|
||||
uint32_t size;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user