wut/memheap_8h_source.html
2016-07-25 02:05:50 +01:00

213 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>WUT: D:/Programming/Projects/wut/include/coreinit/memheap.h Source File</title>
<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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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
&#160;<span id="projectnumber">0.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</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">memheap.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="memheap_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>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spinlock_8h.html">spinlock.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="memlist_8h.html">memlist.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ga727913a40d765f66ebec5e9b0d762691"> 18</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a> <a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442"> 20</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442">MEMHeapFillType</a></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e"> 22</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e">MEM_HEAP_FILL_TYPE_UNUSED</a> = 0,</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3"> 23</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3">MEM_HEAP_FILL_TYPE_ALLOCATED</a> = 1,</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea"> 24</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea">MEM_HEAP_FILL_TYPE_FREED</a> = 2,</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;} <a class="code" href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442">MEMHeapFillType</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb"> 27</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb">MEMHeapTag</a></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f"> 29</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f">MEM_BLOCK_HEAP_TAG</a> = 0x424C4B48u,</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353"> 30</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353">MEM_EXPANDED_HEAP_TAG</a> = 0x45585048u,</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55"> 31</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55">MEM_FRAME_HEAP_TAG</a> = 0x46524D48u,</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934"> 32</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934">MEM_UNIT_HEAP_TAG</a> = 0x554E5448u,</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9"> 33</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9">MEM_USER_HEAP_TAG</a> = 0x55535248u,</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;} <a class="code" href="group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb">MEMHeapTag</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497"> 36</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497">MEMHeapFlags</a></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2"> 38</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2">MEM_HEAP_FLAG_ZERO_ALLOCATED</a> = 1 &lt;&lt; 0,</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb"> 39</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb">MEM_HEAP_FLAG_DEBUG_MODE</a> = 1 &lt;&lt; 1,</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b"> 40</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b">MEM_HEAP_FLAG_USE_LOCK</a> = 1 &lt;&lt; 2,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;} <a class="code" href="group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497">MEMHeapFlags</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html"> 43</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#aa5b371c77f26fd72d65074da3f814c8d"> 46</a></span>&#160; <a class="code" href="group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb">MEMHeapTag</a> <a class="code" href="struct_m_e_m_heap_header.html#aa5b371c77f26fd72d65074da3f814c8d">tag</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#aad9bd11b4f59e92b6551361b5693960c"> 49</a></span>&#160; <a class="code" href="struct_m_e_m_memory_link.html">MEMMemoryLink</a> <a class="code" href="struct_m_e_m_heap_header.html#aad9bd11b4f59e92b6551361b5693960c">link</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#a9e168165b27e6d8c6a947314706ebdff"> 52</a></span>&#160; <a class="code" href="struct_m_e_m_memory_list.html">MEMMemoryList</a> <a class="code" href="struct_m_e_m_heap_header.html#a9e168165b27e6d8c6a947314706ebdff">list</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#ab68a6425f2ca0d9e6af3c18ad6ab5524"> 55</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_m_e_m_heap_header.html#ab68a6425f2ca0d9e6af3c18ad6ab5524">dataStart</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#afd8d116d27671766707fa89f63e77535"> 58</a></span>&#160; <span class="keywordtype">void</span> *<a class="code" href="struct_m_e_m_heap_header.html#afd8d116d27671766707fa89f63e77535">dataEnd</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#acda02b2450f7b21940084ed1114d5bb2"> 61</a></span>&#160; <a class="code" href="struct_o_s_spin_lock.html">OSSpinLock</a> <a class="code" href="struct_m_e_m_heap_header.html#acda02b2450f7b21940084ed1114d5bb2">lock</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="struct_m_e_m_heap_header.html#a773b39d480759f67926cb18ae2219281"> 64</a></span>&#160; uint32_t <a class="code" href="struct_m_e_m_heap_header.html#a773b39d480759f67926cb18ae2219281">flags</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; UNKNOWN(0x0C);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;};</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x00, tag);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x04, link);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x0C, list);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x18, dataStart);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x1C, dataEnd);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x20, lock);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;CHECK_OFFSET(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x30, flags);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;CHECK_SIZE(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a>, 0x40);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<a class="code" href="group__coreinit__memheap.html#ga268eb26100b03a38ba90efa2e47fa870">MEMDumpHeap</a>(<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a> *heap);</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<a class="code" href="struct_m_e_m_heap_header.html">MEMHeapHeader</a> *</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<a class="code" href="group__coreinit__memheap.html#ga24a8efd33838634b25ed09465612b463">MEMFindContainHeap</a>(<span class="keywordtype">void</span> *block);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;uint32_t</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<a class="code" href="group__coreinit__memheap.html#gad9735e0622600c541ba26bb80dc4614a">MEMGetFillValForHeap</a>(<a class="code" href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442">MEMHeapFillType</a> type);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<a class="code" href="group__coreinit__memheap.html#ga392788207fa9c65e8bf2ab5b67c252d9">MEMSetFillValForHeap</a>(<a class="code" href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442">MEMHeapFillType</a> type,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; uint32_t value);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;}</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
<div class="ttc" id="group__coreinit__memheap_html_gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb"><div class="ttname"><a href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a3cefa3627ca24ef278fe861c969a76cb">MEM_HEAP_FLAG_DEBUG_MODE</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00039">memheap.h:39</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_a9e168165b27e6d8c6a947314706ebdff"><div class="ttname"><a href="struct_m_e_m_heap_header.html#a9e168165b27e6d8c6a947314706ebdff">MEMHeapHeader::list</a></div><div class="ttdeci">MEMMemoryList list</div><div class="ttdoc">List of all child heaps in this heap. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00052">memheap.h:52</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gad9735e0622600c541ba26bb80dc4614a"><div class="ttname"><a href="group__coreinit__memheap.html#gad9735e0622600c541ba26bb80dc4614a">MEMGetFillValForHeap</a></div><div class="ttdeci">uint32_t MEMGetFillValForHeap(MEMHeapFillType type)</div></div>
<div class="ttc" id="group__coreinit__memheap_html_ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55"><div class="ttname"><a href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba9f996937542e05cf39a5905a70289f55">MEM_FRAME_HEAP_TAG</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00031">memheap.h:31</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e"><div class="ttname"><a href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442aab58d29ca838e67871a9c39230a66a1e">MEM_HEAP_FILL_TYPE_UNUSED</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00022">memheap.h:22</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ga392788207fa9c65e8bf2ab5b67c252d9"><div class="ttname"><a href="group__coreinit__memheap.html#ga392788207fa9c65e8bf2ab5b67c252d9">MEMSetFillValForHeap</a></div><div class="ttdeci">void MEMSetFillValForHeap(MEMHeapFillType type, uint32_t value)</div></div>
<div class="ttc" id="group__coreinit__memheap_html_ga24a8efd33838634b25ed09465612b463"><div class="ttname"><a href="group__coreinit__memheap.html#ga24a8efd33838634b25ed09465612b463">MEMFindContainHeap</a></div><div class="ttdeci">MEMHeapHeader * MEMFindContainHeap(void *block)</div></div>
<div class="ttc" id="group__coreinit__memheap_html_gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b"><div class="ttname"><a href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497af49a821423e44a9e85218ce44f85d48b">MEM_HEAP_FLAG_USE_LOCK</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00040">memheap.h:40</a></div></div>
<div class="ttc" id="spinlock_8h_html"><div class="ttname"><a href="spinlock_8h.html">spinlock.h</a></div></div>
<div class="ttc" id="struct_m_e_m_memory_list_html"><div class="ttname"><a href="struct_m_e_m_memory_list.html">MEMMemoryList</a></div><div class="ttdef"><b>Definition:</b> <a href="memlist_8h_source.html#l00026">memlist.h:26</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_afd8d116d27671766707fa89f63e77535"><div class="ttname"><a href="struct_m_e_m_heap_header.html#afd8d116d27671766707fa89f63e77535">MEMHeapHeader::dataEnd</a></div><div class="ttdeci">void * dataEnd</div><div class="ttdoc">Pointer to end of allocatable memory. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00058">memheap.h:58</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html"><div class="ttname"><a href="struct_m_e_m_heap_header.html">MEMHeapHeader</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00043">memheap.h:43</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_aa5b371c77f26fd72d65074da3f814c8d"><div class="ttname"><a href="struct_m_e_m_heap_header.html#aa5b371c77f26fd72d65074da3f814c8d">MEMHeapHeader::tag</a></div><div class="ttdeci">MEMHeapTag tag</div><div class="ttdoc">Tag indicating which type of heap this is. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00046">memheap.h:46</a></div></div>
<div class="ttc" id="struct_o_s_spin_lock_html"><div class="ttname"><a href="struct_o_s_spin_lock.html">OSSpinLock</a></div><div class="ttdef"><b>Definition:</b> <a href="spinlock_8h_source.html#l00017">spinlock.h:17</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9"><div class="ttname"><a href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba5548a1522f91faebd0bd08201d8428c9">MEM_USER_HEAP_TAG</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00033">memheap.h:33</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2"><div class="ttname"><a href="group__coreinit__memheap.html#gga5c832777be0c2cffa9c0f2eaf3c9a497a6b36ac6cf03f489e90b525517e1e33e2">MEM_HEAP_FLAG_ZERO_ALLOCATED</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00038">memheap.h:38</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3"><div class="ttname"><a href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442af5678cb9a17bf1855df30c50e552fee3">MEM_HEAP_FILL_TYPE_ALLOCATED</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00023">memheap.h:23</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_aad9bd11b4f59e92b6551361b5693960c"><div class="ttname"><a href="struct_m_e_m_heap_header.html#aad9bd11b4f59e92b6551361b5693960c">MEMHeapHeader::link</a></div><div class="ttdeci">MEMMemoryLink link</div><div class="ttdoc">Link for list this heap is in. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00049">memheap.h:49</a></div></div>
<div class="ttc" id="wut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f"><div class="ttname"><a href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cbaee676570c092ee1e6e421409a87d975f">MEM_BLOCK_HEAP_TAG</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00029">memheap.h:29</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ga5a2254c26326745a098c8d8ec1d56442"><div class="ttname"><a href="group__coreinit__memheap.html#ga5a2254c26326745a098c8d8ec1d56442">MEMHeapFillType</a></div><div class="ttdeci">MEMHeapFillType</div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00020">memheap.h:20</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_ab68a6425f2ca0d9e6af3c18ad6ab5524"><div class="ttname"><a href="struct_m_e_m_heap_header.html#ab68a6425f2ca0d9e6af3c18ad6ab5524">MEMHeapHeader::dataStart</a></div><div class="ttdeci">void * dataStart</div><div class="ttdoc">Pointer to start of allocatable memory. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00055">memheap.h:55</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ga5c832777be0c2cffa9c0f2eaf3c9a497"><div class="ttname"><a href="group__coreinit__memheap.html#ga5c832777be0c2cffa9c0f2eaf3c9a497">MEMHeapFlags</a></div><div class="ttdeci">MEMHeapFlags</div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00036">memheap.h:36</a></div></div>
<div class="ttc" id="struct_m_e_m_memory_link_html"><div class="ttname"><a href="struct_m_e_m_memory_link.html">MEMMemoryLink</a></div><div class="ttdef"><b>Definition:</b> <a href="memlist_8h_source.html#l00017">memlist.h:17</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_a773b39d480759f67926cb18ae2219281"><div class="ttname"><a href="struct_m_e_m_heap_header.html#a773b39d480759f67926cb18ae2219281">MEMHeapHeader::flags</a></div><div class="ttdeci">uint32_t flags</div><div class="ttdoc">Flags set during heap creation. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00064">memheap.h:64</a></div></div>
<div class="ttc" id="struct_m_e_m_heap_header_html_acda02b2450f7b21940084ed1114d5bb2"><div class="ttname"><a href="struct_m_e_m_heap_header.html#acda02b2450f7b21940084ed1114d5bb2">MEMHeapHeader::lock</a></div><div class="ttdeci">OSSpinLock lock</div><div class="ttdoc">Lock used when MEM_HEAP_FLAG_USE_LOCK is set. </div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00061">memheap.h:61</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea"><div class="ttname"><a href="group__coreinit__memheap.html#gga5a2254c26326745a098c8d8ec1d56442a303a7c6d5c68983625bd949e8a8a38ea">MEM_HEAP_FILL_TYPE_FREED</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00024">memheap.h:24</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353"><div class="ttname"><a href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba73cc6859292a3153a6dc5a8526f28353">MEM_EXPANDED_HEAP_TAG</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00030">memheap.h:30</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ga268eb26100b03a38ba90efa2e47fa870"><div class="ttname"><a href="group__coreinit__memheap.html#ga268eb26100b03a38ba90efa2e47fa870">MEMDumpHeap</a></div><div class="ttdeci">void MEMDumpHeap(MEMHeapHeader *heap)</div></div>
<div class="ttc" id="memlist_8h_html"><div class="ttname"><a href="memlist_8h.html">memlist.h</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934"><div class="ttname"><a href="group__coreinit__memheap.html#ggaf4257a1288a2365e8c3600df369a83cba4fbb605cdb05db8640ae6dc7187e8934">MEM_UNIT_HEAP_TAG</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00032">memheap.h:32</a></div></div>
<div class="ttc" id="group__coreinit__memheap_html_gaf4257a1288a2365e8c3600df369a83cb"><div class="ttname"><a href="group__coreinit__memheap.html#gaf4257a1288a2365e8c3600df369a83cb">MEMHeapTag</a></div><div class="ttdeci">MEMHeapTag</div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00027">memheap.h:27</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>