summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/test_support.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-14 16:03:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-14 16:03:57 +0000
commitbe8bdff62b84dbb9e06c3491007038ecb74ec6c5 (patch)
tree4c05ace52498b1ca4d2579e438cdb81d8fb10b89 /testsuites/support/include/test_support.h
parent2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-be8bdff62b84dbb9e06c3491007038ecb74ec6c5.tar.bz2
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/include/test_support.h, support/src/test_support.c: Add Allocate_majority_of_heap().
Diffstat (limited to 'testsuites/support/include/test_support.h')
-rw-r--r--testsuites/support/include/test_support.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/testsuites/support/include/test_support.h b/testsuites/support/include/test_support.h
index cbb2c4de55..412226c9fe 100644
--- a/testsuites/support/include/test_support.h
+++ b/testsuites/support/include/test_support.h
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2010.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -17,7 +17,7 @@ extern "C" {
#endif
/*
- * Allocate a number of small blocks from the heap
+ * Allocate a number of small blocks from the workspace
* until the largest free block of memory available is
* smaller than smallest.
*
@@ -26,6 +26,15 @@ extern "C" {
void Allocate_majority_of_workspace( int smallest );
/*
+ * Allocate a number of small blocks from the heap
+ * until the largest free block of memory available is
+ * smaller than smallest.
+ *
+ * NOTE: The memory CANNOT be freed.
+ */
+void Allocate_majority_of_heap( int smallest );
+
+/*
* Return a pointer to the POSIX name that is slightly
* beyond the legal limit.
*/