summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/include/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-18 14:59:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-18 14:59:18 +0000
commitb541e1f8601c95c7952812ea8045cf2244848fd5 (patch)
tree62c70794d3fc2133c18f26b5b5860bb6efe4bdba /c/src/exec/rtems/include/rtems
parent2000-10-18 Nick Simon <Nick.SIMON@syntegra.bt.co.uk> (diff)
downloadrtems-b541e1f8601c95c7952812ea8045cf2244848fd5.tar.bz2
2000-10-18 Joel Sherrill <joel@OARcorp.com>
* src/regiongetinfo.c, include/rtems/rtems/region.h, include/rtems/rtems/types.h, src/Makefile.am: Added region_get_information() and information control block. * src/regiongetinfo.c: New file.
Diffstat (limited to 'c/src/exec/rtems/include/rtems')
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/region.h15
-rw-r--r--c/src/exec/rtems/include/rtems/rtems/types.h7
2 files changed, 22 insertions, 0 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/region.h b/c/src/exec/rtems/include/rtems/rtems/region.h
index f8e4bd6512..aa8dae884a 100644
--- a/c/src/exec/rtems/include/rtems/rtems/region.h
+++ b/c/src/exec/rtems/include/rtems/rtems/region.h
@@ -129,6 +129,21 @@ rtems_status_code rtems_region_ident(
);
/*
+ * rtems_region_ident
+ *
+ * DESCRIPTION:
+ *
+ * This routine implements the rtems_region_get_information directive.
+ * This directive returns information about the heap associated with
+ * this region.
+ */
+
+rtems_status_code rtems_region_get_information(
+ Objects_Id id,
+ Heap_Information_block *the_info
+);
+
+/*
* rtems_region_delete
*
* DESCRIPTION:
diff --git a/c/src/exec/rtems/include/rtems/rtems/types.h b/c/src/exec/rtems/include/rtems/rtems/types.h
index dbaabe5f1d..dbaad4f880 100644
--- a/c/src/exec/rtems/include/rtems/rtems/types.h
+++ b/c/src/exec/rtems/include/rtems/rtems/types.h
@@ -19,6 +19,7 @@
extern "C" {
#endif
+#include <rtems/score/heap.h>
#include <rtems/score/object.h>
#include <rtems/score/priority.h>
#include <rtems/score/tod.h>
@@ -62,6 +63,12 @@ typedef Context_Control_fp rtems_context_fp;
typedef CPU_Interrupt_frame rtems_interrupt_frame;
/*
+ * Region information block
+ */
+
+typedef Heap_Information_block region_information_block;
+
+/*
* Time related
*/