ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

chheap.c File Reference

Heaps code. More...

#include "ch.h"

Go to the source code of this file.

Functions

void heap_init (void)
 Initializes the default heap.
void chHeapInit (MemoryHeap *heapp, void *buf, size_t size)
 Initializes a memory heap from a static memory area.
void * chHeapAlloc (MemoryHeap *heapp, size_t size)
 Allocates a block of memory from the heap by using the first-fit algorithm.
void chHeapFree (void *p)
 Frees a previously allocated memory block.
size_t chHeapStatus (MemoryHeap *heapp, size_t *sizep)
 Reports the heap status.

Detailed Description

Heaps code.

Definition in file chheap.c.


Generated on Sun Jul 11 13:13:02 2010 for ChibiOS/RT by doxygen 1.6.3