base/malloc/malloc.c File Reference

Include dependency graph for malloc.c:

Go to the source code of this file.

Defines

#define CONFIG_RTAI_USE_TLSF   0

Functions

 RTAI_MODULE_PARM (rtai_global_heap_size, int)
static void * alloc_extent (u_long size, int suprt)
static void free_extent (void *p, u_long size, int suprt)
static void init_extent (rtheap_t *heap, rtextent_t *extent)
int rtheap_init (rtheap_t *heap, void *heapaddr, u_long heapsize, u_long pagesize, int suprt)
 Initialize a memory heap.
void rtheap_destroy (rtheap_t *heap, int suprt)
static caddr_t get_free_range (rtheap_t *heap, u_long bsize, int log2size, int mode)
void * rtheap_alloc (rtheap_t *heap, u_long size, int mode)
 Allocate a memory block from a memory heap.
int rtheap_free (rtheap_t *heap, void *block)
 Release a memory block to a memory heap.
int __rtai_heap_init (void)
void __rtai_heap_exit (void)
 EXPORT_SYMBOL (rtheap_init)
 EXPORT_SYMBOL (rtheap_destroy)
 EXPORT_SYMBOL (rtheap_alloc)
 EXPORT_SYMBOL (rtheap_free)
 EXPORT_SYMBOL (rtai_global_heap)
 EXPORT_SYMBOL (rtai_global_heap_adr)
 EXPORT_SYMBOL (rtai_global_heap_size)

Variables

int rtai_global_heap_size = RTHEAP_GLOBALSZ
void * rtai_global_heap_adr = NULL
rtheap_t rtai_global_heap


Generated on Tue Feb 2 17:47:44 2010 for RTAI API by  doxygen 1.4.7