diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2005-05-13 17:11:42 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2005-05-13 17:11:42 +0000 |
commit | 41ef1360594878b4cdb211b7d25c7d6da34f4409 (patch) | |
tree | 2701b4376ca41666c63017c759a81883a3022a4a /cpukit/rtems/include | |
parent | 2005-05-13 Jennifer Averett <jennifer.averett@oarcorp.com> (diff) | |
download | rtems-41ef1360594878b4cdb211b7d25c7d6da34f4409.tar.bz2 |
2005-05-13 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 786/rtems
Backport mallocfreespace optimization.
* Makefile.am, include/rtems/rtems/region.h:
* src/regiongetfreeinfo.c: New file.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/region.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/region.h b/cpukit/rtems/include/rtems/rtems/region.h index 1cba5f326e..6399982429 100644 --- a/cpukit/rtems/include/rtems/rtems/region.h +++ b/cpukit/rtems/include/rtems/rtems/region.h @@ -29,6 +29,8 @@ extern "C" { #endif +#include <stddef.h> + #include <rtems/score/object.h> #include <rtems/score/threadq.h> #include <rtems/score/heap.h> @@ -144,6 +146,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 *the_info +); + +/* * rtems_region_delete * * DESCRIPTION: |