E:/Projects/AvrLib/kernel/HeapFreeSpace.c File Reference

#include "HeapManager.h"

Include dependency graph for HeapFreeSpace.c:

Go to the source code of this file.

Functions

size_t HeapFreeSpace (HEAP_BLOCK *pHeap)
 This function tells us how much free memory is available for allocation.


Detailed Description

Definition in file HeapFreeSpace.c.


Function Documentation

size_t HeapFreeSpace ( HEAP_BLOCK pHeap  ) 

This function tells us how much free memory is available for allocation.

Parameters:
pHeap pointer to HEAP_BLOCK to check for free memory
Returns:
number of bytes availiable for allocation

Definition at line 18 of file HeapFreeSpace.c.

References HEAP_BLOCK::__flp, HEAP_BLOCK::BrkVal, HEAP_BLOCK::End, __freelist::nx, HEAP_BLOCK::Start, and __freelist::sz.

Referenced by StackHeapAvailiable().


Generated on Sun Aug 31 13:30:57 2008 for FrankenRTOS by  doxygen 1.5.6