summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libcsupport.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-10 13:15:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-08-10 13:15:30 +0000
commitbad55939df3c8a3c7ea58549c95e4a215b4bc0c3 (patch)
treec4779981eecbc5ecbe835e10d83f68053d4a47a3 /cpukit/libcsupport/include/rtems/libcsupport.h
parentRegenerate. (diff)
downloadrtems-bad55939df3c8a3c7ea58549c95e4a215b4bc0c3.tar.bz2
2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1661/testing * libcsupport/Makefile.am, libcsupport/include/rtems/libcsupport.h: Add public methods to get/set malloc heap pointer so the tests do not have to peer behind the API. * libcsupport/src/mallocgetheapptr.c, libcsupport/src/mallocsetheapptr.c: New files.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libcsupport.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h
index 63ddd4fa91..b231446b08 100644
--- a/cpukit/libcsupport/include/rtems/libcsupport.h
+++ b/cpukit/libcsupport/include/rtems/libcsupport.h
@@ -35,6 +35,8 @@ void RTEMS_Malloc_Initialize(
extern void malloc_dump(void);
extern void malloc_walk(size_t source, size_t printf_enabled);
+void malloc_set_heap_pointer(Heap_Control *new_heap);
+Heap_Control *malloc_get_heap_pointer( void );
extern void libc_init(void);
extern int host_errno(void);
extern void fix_syscall_errno(void);