summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/malloc_p.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-19 16:03:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-19 16:03:54 +0000
commit8e30a269a21cd61ca1387e666e458e52c0b153ab (patch)
tree4d1cc760d319a170b335b9e90ea9d26162ffc687 /cpukit/libcsupport/src/malloc_p.h
parent2007-12-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8e30a269a21cd61ca1387e666e458e52c0b153ab.tar.bz2
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_p.h, libcsupport/src/malloc_report_statistics_plugin.c, libmisc/shell/shell.c, libmisc/shell/shell.h, score/src/objectinitializeinformation.c: Add posix_memalign. Split out management of deferred frees to subroutines. * libcsupport/src/malloc_deferred.c, libcsupport/src/posix_memalign.c: New files.
Diffstat (limited to 'cpukit/libcsupport/src/malloc_p.h')
-rw-r--r--cpukit/libcsupport/src/malloc_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc_p.h b/cpukit/libcsupport/src/malloc_p.h
index 95f73d72b1..3c2cdddf87 100644
--- a/cpukit/libcsupport/src/malloc_p.h
+++ b/cpukit/libcsupport/src/malloc_p.h
@@ -53,3 +53,9 @@ extern rtems_malloc_statistics_t rtems_malloc_statistics;
*/
#define MALLOC_DIRTY
+/*
+ * Process deferred free operations
+ */
+boolean malloc_is_system_state_OK(void);
+void malloc_process_deferred_frees(void);
+void malloc_defer_free(void *);