Xenomai API  2.6.5

Dynamic memory allocation services. More...

Include dependency graph for heap.c:

Functions

int xnheap_init (xnheap_t *heap, void *heapaddr, u_long heapsize, u_long pagesize)
 Initialize a memory heap. More...
 
void xnheap_set_label (xnheap_t *heap, const char *label,...)
 Set the heap's label string. More...
 
void * xnheap_alloc (xnheap_t *heap, u_long size)
 Allocate a memory block from a memory heap. More...
 
int xnheap_test_and_free (xnheap_t *heap, void *block, int(*ckfn)(void *block))
 Test and release a memory block to a memory heap. More...
 
int xnheap_free (xnheap_t *heap, void *block)
 Release a memory block to a memory heap. More...
 
int xnheap_extend (xnheap_t *heap, void *extaddr, u_long extsize)
 Extend a memory heap. More...
 
void xnheap_schedule_free (xnheap_t *heap, void *block, xnholder_t *link)
 Schedule a memory block for release. More...
 

Detailed Description

Dynamic memory allocation services.

Author
Philippe Gerum

Copyright (C) 2001,2002,2003 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g.

Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.