2010-08-10 03:11:02 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=UTF-8" >
< title > ChibiOS/RT: chheap.c File Reference< / title >
< link href = "custom.css" rel = "stylesheet" type = "text/css" >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
< table style = "text-align: center; width: 100%;" border = "0"
cellpadding="2" cellspacing="2">
< tbody >
< tr >
< td style = "width: 80px;" > < img alt = "ChibiOS/RT Logo" src = "logo_small.png" > < / td >
< td > < big > < big > ChibiOS/RT< / big > < / big > < br > < br > Architecture - Reference Manual - Guides< / td >
< td style = "width: 80px;" > < / td >
< / tr >
< / tbody >
< / table >
< hr size = "1" >
2010-11-22 05:53:37 +00:00
<!-- Generated by Doxygen 1.7.1 -->
2010-08-10 03:11:02 +00:00
< div class = "navigation" id = "top" >
< div class = "tabs" >
2010-11-22 05:53:37 +00:00
< ul class = "tablist" >
2010-08-10 03:11:02 +00:00
< li > < a href = "main.html" > < span > Main Page< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Data Structures< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
2010-11-22 05:53:37 +00:00
< div class = "tabs2" >
< ul class = "tablist" >
2010-08-10 03:11:02 +00:00
< li > < a href = "files.html" > < span > File List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > Globals< / span > < / a > < / li >
< / ul >
< / div >
< / div >
2010-11-22 05:53:37 +00:00
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< h1 > chheap.c File Reference< / h1 > < / div >
< / div >
2010-08-10 03:11:02 +00:00
< div class = "contents" >
2010-11-22 05:53:37 +00:00
2010-08-10 03:11:02 +00:00
< p > Heaps code.
< a href = "#_details" > More...< / a > < / p >
< code > #include " < a class = "el" href = "ch_8h_source.html" > ch.h< / a > " < / code > < br / >
< p > < a href = "chheap_8c_source.html" > Go to the source code of this file.< / a > < / p >
2010-11-22 05:53:37 +00:00
< table class = "memberdecls" >
< tr > < td colspan = "2" > < h2 > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2010-08-10 03:11:02 +00:00
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__heaps.html#ga7e7a6625a49b6a560a47ae7575575264" > heap_init< / a > (void)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Initializes the default heap. < a href = "group__heaps.html#ga7e7a6625a49b6a560a47ae7575575264" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__heaps.html#ga7135c9ddbd1402a4a36ce44df948f4e4" > chHeapInit< / a > (< a class = "el" href = "structmemory__heap.html" > MemoryHeap< / a > *heapp, void *buf, size_t size)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Initializes a memory heap from a static memory area. < a href = "group__heaps.html#ga7135c9ddbd1402a4a36ce44df948f4e4" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void * < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__heaps.html#ga3d364eec0bef8b1986f63b3288ebbd5f" > chHeapAlloc< / a > (< a class = "el" href = "structmemory__heap.html" > MemoryHeap< / a > *heapp, size_t size)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Allocates a block of memory from the heap by using the first-fit algorithm. < a href = "group__heaps.html#ga3d364eec0bef8b1986f63b3288ebbd5f" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__heaps.html#ga0fc553df0138f02e0b233be91e413c79" > chHeapFree< / a > (void *p)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Frees a previously allocated memory block. < a href = "group__heaps.html#ga0fc553df0138f02e0b233be91e413c79" > < / a > < br / > < / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > size_t < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "group__heaps.html#ga944ffb8c5b83c26b984e6a072d871a8b" > chHeapStatus< / a > (< a class = "el" href = "structmemory__heap.html" > MemoryHeap< / a > *heapp, size_t *sizep)< / td > < / tr >
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Reports the heap status. < a href = "group__heaps.html#ga944ffb8c5b83c26b984e6a072d871a8b" > < / a > < br / > < / td > < / tr >
< / table >
< hr / > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
< p > Heaps code. < / p >
< p > Definition in file < a class = "el" href = "chheap_8c_source.html" > chheap.c< / a > .< / p >
< / div >
< hr size = "1" > < address style = "text-align: right;" > < small >
2010-11-30 04:54:43 +00:00
Generated on Sun Nov 28 2010 14:09:49 for ChibiOS/RT by < a href = "http://www.doxygen.org/index.html" > < img src = "doxygen.png" alt = "doxygen" align = "middle" border = "0" > < / a > 1.7.1< / small > < / address >
2010-08-10 03:11:02 +00:00
< / body >
< / html >