summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-11-29 22:45:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-11-29 22:45:43 +0000
commit9b3f187a02049d81a63bb85497c5a4ebb9d37a97 (patch)
tree7796f90657fdd839f998a88f2cc4d0688ffb29c9 /cpukit/rtems/include
parentAdd another module ID code. (diff)
downloadrtems-9b3f187a02049d81a63bb85497c5a4ebb9d37a97.tar.bz2
2004-11-29 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/mallocfreespace.c, rtems/Makefile.am, rtems/include/rtems/rtems/region.h, score/Makefile.am, score/include/rtems/score/heap.h, score/src/heapgetinfo.c: Add capability to return information about just the free blocks in a region or heap. Also changed the semantics of free space available to be the largest block of memory that can be allocated. * rtems/src/regiongetfreeinfo.c, score/src/heapgetfreeinfo.c: New files. : score/include/rtems/score/object.h, score/src/objectinitializeinformation.c: Remove warning.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r--cpukit/rtems/include/rtems/rtems/region.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/region.h b/cpukit/rtems/include/rtems/rtems/region.h
index 259a0eb75c..acd333ec6d 100644
--- a/cpukit/rtems/include/rtems/rtems/region.h
+++ b/cpukit/rtems/include/rtems/rtems/region.h
@@ -134,7 +134,7 @@ rtems_status_code rtems_region_ident(
);
/*
- * rtems_region_ident
+ * rtems_region_get_information
*
* DESCRIPTION:
*
@@ -149,6 +149,21 @@ rtems_status_code rtems_region_get_information(
);
/*
+ * rtems_region_get_free_information
+ *
+ * DESCRIPTION:
+ *
+ * This routine implements the rtems_region_get_free_information directive.
+ * This directive returns information about the free blocks in the
+ * heap associated with this region.
+ */
+
+rtems_status_code rtems_region_get_free_information(
+ Objects_Id id,
+ Heap_Information_block *the_info
+);
+
+/*
* rtems_region_delete
*
* DESCRIPTION: