2019-04-22 10:21:17 +10:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-07-26 20:52:03 +10:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2020-03-26 16:49:18 +11:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-07-26 20:52:03 +10:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2020-03-26 16:49:18 +11:00
< title > wut: /home/ash/Code/wut2/include/coreinit/memblockheap.h Source File< / title >
2018-07-26 20:52:03 +10:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > wut
2020-03-26 16:49:18 +11:00
  < span id = "projectnumber" > 1.0.0-beta9< / span >
2018-07-26 20:52:03 +10:00
< / div >
< div id = "projectbrief" > Wii U Toolchain< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2020-03-26 16:49:18 +11:00
<!-- Generated by Doxygen 1.8.17 -->
2018-07-26 20:52:03 +10:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d44c64559bbebec7f509842c48db8b23.html" > include< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_5050f3de292bd66075be80c4b119f1df.html" > coreinit< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > memblockheap.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2020-03-26 16:49:18 +11:00
< a href = "memblockheap_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #include < < a class = "code" href = "wut_8h.html" > wut.h< / a > > < / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "memheap_8h.html" > memheap.h< / a > " < / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#ga45858f039e5b8daf978d07f9a1391e00" > 15< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > ;< / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#gae0f581440e5db253705623676676c41e" > 16< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > ;< / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#gaafcc77af210f6c02bf83bc3eeffd48fa" > 17< / a > < / span >   < span class = "keyword" > typedef< / span > < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > ;< / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html" > 19< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   {< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   WUT_UNKNOWN_BYTES(0x8);< / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a4f75f3d0d6821b9881231c1d487fe063" > 24< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#a4f75f3d0d6821b9881231c1d487fe063" > blocks< / a > ;< / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a359235f8ff745acf36826f7859097c4f" > 27< / a > < / span >   uint32_t < a class = "code" href = "group__coreinit__memblockheap.html#a359235f8ff745acf36826f7859097c4f" > blockCount< / a > ;< / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   };< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > , 0x08, blocks);< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > , 0x0C, blockCount);< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   WUT_CHECK_SIZE(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > , 0x10);< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html" > 33< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > < / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   {< / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a53255b934b07b472175fbb8e847f9b5d" > 36< / a > < / span >   < span class = "keywordtype" > void< / span > *< a class = "code" href = "group__coreinit__memblockheap.html#a53255b934b07b472175fbb8e847f9b5d" > start< / a > ;< / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a57dfa4d169c6b9c0b4e7352bc0c34366" > 39< / a > < / span >   < span class = "keywordtype" > void< / span > *< a class = "code" href = "group__coreinit__memblockheap.html#a57dfa4d169c6b9c0b4e7352bc0c34366" > end< / a > ;< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a6be42b3eb9e8a90b22026f94742b5c28" > 42< / a > < / span >   < a class = "code" href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < a class = "code" href = "group__coreinit__memblockheap.html#a6be42b3eb9e8a90b22026f94742b5c28" > isFree< / a > ;< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a9a3455df6b2b78a203ed590ebcef3e15" > 45< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#a9a3455df6b2b78a203ed590ebcef3e15" > prev< / a > ;< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a2280d787d75d6e93f7c8b771a597d65a" > 48< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#a2280d787d75d6e93f7c8b771a597d65a" > next< / a > ;< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   };< / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x00, start);< / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x04, end);< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x08, isFree);< / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x0c, prev);< / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x10, next);< / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   WUT_CHECK_SIZE(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > , 0x14);< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html" > 57< / a > < / span >   < span class = "keyword" > struct < / span > WUT_PACKED < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   {< / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb" > 59< / a > < / span >   < a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < a class = "code" href = "group__coreinit__memblockheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb" > header< / a > ;< / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#aa95b31244ef58f22a5f337c625bd5da6" > 62< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > < a class = "code" href = "group__coreinit__memblockheap.html#aa95b31244ef58f22a5f337c625bd5da6" > defaultTrack< / a > ;< / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a90bce83e474fb5ecdead9d23129c1769" > 65< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > < a class = "code" href = "group__coreinit__memblockheap.html#a90bce83e474fb5ecdead9d23129c1769" > defaultBlock< / a > ;< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a3f489ef875557f592a5c0dd7bcbfbcc5" > 68< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#a3f489ef875557f592a5c0dd7bcbfbcc5" > firstBlock< / a > ;< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#abd9603779f3c7d87e0aff060d2033262" > 71< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#abd9603779f3c7d87e0aff060d2033262" > lastBlock< / a > ;< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   < / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a69e21124166fecc9aedafa4e05e03647" > 74< / a > < / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > *< a class = "code" href = "group__coreinit__memblockheap.html#a69e21124166fecc9aedafa4e05e03647" > firstFreeBlock< / a > ;< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > < a class = "line" href = "group__coreinit__memblockheap.html#a40cdb39a4cee4e97f19cac636ceaa02a" > 77< / a > < / span >   uint32_t < a class = "code" href = "group__coreinit__memblockheap.html#a40cdb39a4cee4e97f19cac636ceaa02a" > numFreeBlocks< / a > ;< / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   };< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x00, header);< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x40, defaultTrack);< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x50, defaultBlock);< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x64, firstBlock);< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x68, lastBlock);< / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x6C, firstFreeBlock);< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   WUT_CHECK_OFFSET(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x70, numFreeBlocks);< / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   WUT_CHECK_SIZE(< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > , 0x74);< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   < / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > < / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga52ca015c65c37752d49595d9c20feb4a" > MEMInitBlockHeap< / a > (< a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > *heap,< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   < span class = "keywordtype" > void< / span > *start,< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   < span class = "keywordtype" > void< / span > *end,< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > *blocks,< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   uint32_t size,< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   uint32_t flags);< / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   < / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   < span class = "keywordtype" > void< / span > *< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga8df189ceaad03ebb265f8e90dc76d3ab" > MEMDestroyBlockHeap< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap);< / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga30a71593e33c89701ab7348f9016b877" > MEMAddBlockHeapTracking< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap,< / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > *tracking,< / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > 102< / span >   uint32_t size);< / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / span >   < / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   < span class = "keywordtype" > void< / span > *< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga6cc8343702218c9b8bbc2d3f9fb015e0" > MEMAllocFromBlockHeapAt< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap,< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   < span class = "keywordtype" > void< / span > *addr,< / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   uint32_t size);< / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < span class = "keywordtype" > void< / span > *< / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga29b47fa5eabf58d9bcd28e3cc7af2e6b" > MEMAllocFromBlockHeapEx< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap,< / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   uint32_t size,< / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   int32_t align);< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   < / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#gaac5a2ac967312da58eeee78d3fabf1dd" > MEMFreeToBlockHeap< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap,< / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < span class = "keywordtype" > void< / span > *data);< / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#gafa99a5006b7a01dab5c7940855653e3d" > MEMGetAllocatableSizeForBlockHeapEx< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap,< / div >
< div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   int32_t align);< / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   < / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga46abe0977e0c389cb0c33c0ca9b4291f" > MEMGetTrackingLeftInBlockHeap< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap);< / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   < / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < a class = "code" href = "group__coreinit__memblockheap.html#ga8e0ed5528d811a7724fc5160c29e9606" > MEMGetTotalFreeSizeForBlockHeap< / a > (< a class = "code" href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHandle< / a > heap);< / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   }< / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < / div >
2018-07-26 20:52:03 +10:00
< / div > <!-- fragment --> < / div > <!-- contents -->
2020-03-26 16:49:18 +11:00
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_structMEMBlockHeapBlock" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#structMEMBlockHeapBlock" > MEMBlockHeapBlock< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00033" > memblockheap.h:33< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga30a71593e33c89701ab7348f9016b877" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga30a71593e33c89701ab7348f9016b877" > MEMAddBlockHeapTracking< / a > < / div > < div class = "ttdeci" > int MEMAddBlockHeapTracking(MEMHeapHandle heap, MEMBlockHeapTracking *tracking, uint32_t size)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga52ca015c65c37752d49595d9c20feb4a" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga52ca015c65c37752d49595d9c20feb4a" > MEMInitBlockHeap< / a > < / div > < div class = "ttdeci" > MEMHeapHandle MEMInitBlockHeap(MEMBlockHeap *heap, void *start, void *end, MEMBlockHeapTracking *blocks, uint32_t size, uint32_t flags)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a0edcfdc3d5cf965f0929bf203c4a1dbb" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb" > MEMBlockHeap::header< / a > < / div > < div class = "ttdeci" > MEMHeapHeader header< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00059" > memblockheap.h:59< / a > < / div > < / div >
< div class = "ttc" id = "amemheap_8h_html" > < div class = "ttname" > < a href = "memheap_8h.html" > memheap.h< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_structMEMBlockHeap" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#structMEMBlockHeap" > MEMBlockHeap< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00057" > memblockheap.h:57< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a9a3455df6b2b78a203ed590ebcef3e15" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a9a3455df6b2b78a203ed590ebcef3e15" > MEMBlockHeapBlock::prev< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * prev< / div > < div class = "ttdoc" > Link to previous block, note that this is only set for allocated blocks.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00045" > memblockheap.h:45< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a90bce83e474fb5ecdead9d23129c1769" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a90bce83e474fb5ecdead9d23129c1769" > MEMBlockHeap::defaultBlock< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock defaultBlock< / div > < div class = "ttdoc" > Default block, used so we don't have an empty block list.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00065" > memblockheap.h:65< / a > < / div > < / div >
< div class = "ttc" id = "awut_8h_html" > < div class = "ttname" > < a href = "wut_8h.html" > wut.h< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga6cc8343702218c9b8bbc2d3f9fb015e0" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga6cc8343702218c9b8bbc2d3f9fb015e0" > MEMAllocFromBlockHeapAt< / a > < / div > < div class = "ttdeci" > void * MEMAllocFromBlockHeapAt(MEMHeapHandle heap, void *addr, uint32_t size)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a359235f8ff745acf36826f7859097c4f" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a359235f8ff745acf36826f7859097c4f" > MEMBlockHeapTracking::blockCount< / a > < / div > < div class = "ttdeci" > uint32_t blockCount< / div > < div class = "ttdoc" > Number of blocks in this tracking heap.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00027" > memblockheap.h:27< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_abd9603779f3c7d87e0aff060d2033262" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#abd9603779f3c7d87e0aff060d2033262" > MEMBlockHeap::lastBlock< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * lastBlock< / div > < div class = "ttdoc" > Last block in this heap.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00071" > memblockheap.h:71< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_structMEMBlockHeapTracking" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#structMEMBlockHeapTracking" > MEMBlockHeapTracking< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00019" > memblockheap.h:19< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga8df189ceaad03ebb265f8e90dc76d3ab" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga8df189ceaad03ebb265f8e90dc76d3ab" > MEMDestroyBlockHeap< / a > < / div > < div class = "ttdeci" > void * MEMDestroyBlockHeap(MEMHeapHandle heap)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a57dfa4d169c6b9c0b4e7352bc0c34366" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a57dfa4d169c6b9c0b4e7352bc0c34366" > MEMBlockHeapBlock::end< / a > < / div > < div class = "ttdeci" > void * end< / div > < div class = "ttdoc" > End address of the data region this block has allocated.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00039" > memblockheap.h:39< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a2280d787d75d6e93f7c8b771a597d65a" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a2280d787d75d6e93f7c8b771a597d65a" > MEMBlockHeapBlock::next< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * next< / div > < div class = "ttdoc" > Link to next block, always set.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00048" > memblockheap.h:48< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga29b47fa5eabf58d9bcd28e3cc7af2e6b" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga29b47fa5eabf58d9bcd28e3cc7af2e6b" > MEMAllocFromBlockHeapEx< / a > < / div > < div class = "ttdeci" > void * MEMAllocFromBlockHeapEx(MEMHeapHandle heap, uint32_t size, int32_t align)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_aa95b31244ef58f22a5f337c625bd5da6" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#aa95b31244ef58f22a5f337c625bd5da6" > MEMBlockHeap::defaultTrack< / a > < / div > < div class = "ttdeci" > MEMBlockHeapTracking defaultTrack< / div > < div class = "ttdoc" > Default tracking heap, tracks only defaultBlock.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00062" > memblockheap.h:62< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga46abe0977e0c389cb0c33c0ca9b4291f" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga46abe0977e0c389cb0c33c0ca9b4291f" > MEMGetTrackingLeftInBlockHeap< / a > < / div > < div class = "ttdeci" > uint32_t MEMGetTrackingLeftInBlockHeap(MEMHeapHandle heap)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a53255b934b07b472175fbb8e847f9b5d" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a53255b934b07b472175fbb8e847f9b5d" > MEMBlockHeapBlock::start< / a > < / div > < div class = "ttdeci" > void * start< / div > < div class = "ttdoc" > First address of the data region this block has allocated.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00036" > memblockheap.h:36< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a6be42b3eb9e8a90b22026f94742b5c28" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a6be42b3eb9e8a90b22026f94742b5c28" > MEMBlockHeapBlock::isFree< / a > < / div > < div class = "ttdeci" > BOOL isFree< / div > < div class = "ttdoc" > TRUE if the block is free, FALSE if allocated.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00042" > memblockheap.h:42< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a40cdb39a4cee4e97f19cac636ceaa02a" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a40cdb39a4cee4e97f19cac636ceaa02a" > MEMBlockHeap::numFreeBlocks< / a > < / div > < div class = "ttdeci" > uint32_t numFreeBlocks< / div > < div class = "ttdoc" > Free block count.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00077" > memblockheap.h:77< / a > < / div > < / div >
< div class = "ttc" id = "awut__types_8h_html_a975dbe9e4396bf9e0064ce01827fa372" > < div class = "ttname" > < a href = "wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372" > BOOL< / a > < / div > < div class = "ttdeci" > int32_t BOOL< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "wut__types_8h_source.html#l00004" > wut_types.h:4< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_gaac5a2ac967312da58eeee78d3fabf1dd" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#gaac5a2ac967312da58eeee78d3fabf1dd" > MEMFreeToBlockHeap< / a > < / div > < div class = "ttdeci" > void MEMFreeToBlockHeap(MEMHeapHandle heap, void *data)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_ga8e0ed5528d811a7724fc5160c29e9606" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#ga8e0ed5528d811a7724fc5160c29e9606" > MEMGetTotalFreeSizeForBlockHeap< / a > < / div > < div class = "ttdeci" > uint32_t MEMGetTotalFreeSizeForBlockHeap(MEMHeapHandle heap)< / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memheap_html_structMEMHeapHeader" > < div class = "ttname" > < a href = "group__coreinit__memheap.html#structMEMHeapHeader" > MEMHeapHeader< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memheap_8h_source.html#l00051" > memheap.h:51< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a4f75f3d0d6821b9881231c1d487fe063" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a4f75f3d0d6821b9881231c1d487fe063" > MEMBlockHeapTracking::blocks< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * blocks< / div > < div class = "ttdoc" > Pointer to first memory block.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00024" > memblockheap.h:24< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a69e21124166fecc9aedafa4e05e03647" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a69e21124166fecc9aedafa4e05e03647" > MEMBlockHeap::firstFreeBlock< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * firstFreeBlock< / div > < div class = "ttdoc" > First free block.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00074" > memblockheap.h:74< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_a3f489ef875557f592a5c0dd7bcbfbcc5" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#a3f489ef875557f592a5c0dd7bcbfbcc5" > MEMBlockHeap::firstBlock< / a > < / div > < div class = "ttdeci" > MEMBlockHeapBlock * firstBlock< / div > < div class = "ttdoc" > First block in this heap.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "memblockheap_8h_source.html#l00068" > memblockheap.h:68< / a > < / div > < / div >
< div class = "ttc" id = "agroup__coreinit__memblockheap_html_gafa99a5006b7a01dab5c7940855653e3d" > < div class = "ttname" > < a href = "group__coreinit__memblockheap.html#gafa99a5006b7a01dab5c7940855653e3d" > MEMGetAllocatableSizeForBlockHeapEx< / a > < / div > < div class = "ttdeci" > uint32_t MEMGetAllocatableSizeForBlockHeapEx(MEMHeapHandle heap, int32_t align)< / div > < / div >
2018-07-26 20:52:03 +10:00
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2020-03-26 16:49:18 +11:00
< / a > 1.8.17
2018-07-26 20:52:03 +10:00
< / small > < / address >
< / body >
< / html >