wut/group__coreinit__expheap.html
2016-01-07 16:06:06 +00:00

663 lines
33 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: Expanded Heap</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><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><!-- top -->
<!-- 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 class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Expanded Heap<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga6f20306c6ffcce66aab53e2a1c93d04b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga6f20306c6ffcce66aab53e2a1c93d04b">MEMExpandedHeap</a></td></tr>
<tr class="separator:ga6f20306c6ffcce66aab53e2a1c93d04b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4472f9c41265a94031ee1f2417966f5f"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga4472f9c41265a94031ee1f2417966f5f">MEMExpHeapMode</a></td></tr>
<tr class="separator:ga4472f9c41265a94031ee1f2417966f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47cd74d7b6ec27370ee76e8311496618"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga47cd74d7b6ec27370ee76e8311496618">MEMExpHeapDirection</a></td></tr>
<tr class="separator:ga47cd74d7b6ec27370ee76e8311496618"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gafaff417de3d38ab7b2fbf257913fac51"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> { <a class="el" href="group__coreinit__expheap.html#ggafaff417de3d38ab7b2fbf257913fac51abc487e051ed0efea240c90f55c797e9d">MEM_EXP_HEAP_MODE_FIRST_FREE</a> = 0,
<a class="el" href="group__coreinit__expheap.html#ggafaff417de3d38ab7b2fbf257913fac51aa5dd220ca55194dbb5bafca2d7e3b65b">MEM_EXP_HEAP_MODE_NEAREST_SIZE</a> = 1
}<tr class="separator:gafaff417de3d38ab7b2fbf257913fac51"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
<tr class="memitem:gaf7d7b76eff6969688351b914dbd5ff84"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a> { <a class="el" href="group__coreinit__expheap.html#ggaf7d7b76eff6969688351b914dbd5ff84a170cacfe7715b7b4a9df7846411d1fda">MEM_EXP_HEAP_DIR_FROM_TOP</a> = 0,
<a class="el" href="group__coreinit__expheap.html#ggaf7d7b76eff6969688351b914dbd5ff84a9d96953d174ae7e00f507c5cbecdeda7">MEM_EXP_HEAP_DIR_FROM_BOTTOM</a> = 1
}<tr class="separator:gaf7d7b76eff6969688351b914dbd5ff84"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6b6e934fd418677867325939e4d3bf56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga6b6e934fd418677867325939e4d3bf56">MEMCreateExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint32_t size)</td></tr>
<tr class="separator:ga6b6e934fd418677867325939e4d3bf56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23c85a752f34c79cc2e6d0380a6945ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga23c85a752f34c79cc2e6d0380a6945ed">MEMCreateExpHeapEx</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint32_t size, uint16_t flags)</td></tr>
<tr class="separator:ga23c85a752f34c79cc2e6d0380a6945ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae74225ef326d0b012383f572ffdedad1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gae74225ef326d0b012383f572ffdedad1">MEMDestroyExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:gae74225ef326d0b012383f572ffdedad1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa959ffd6dc51567d7c17880906cb22e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gaa959ffd6dc51567d7c17880906cb22e4">MEMiDumpExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:gaa959ffd6dc51567d7c17880906cb22e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4290ca07078eed4d815222135c6ce013"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga4290ca07078eed4d815222135c6ce013">MEMAllocFromExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint32_t size)</td></tr>
<tr class="separator:ga4290ca07078eed4d815222135c6ce013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bd6e0933cff64935972d1406bc4f3aa"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga1bd6e0933cff64935972d1406bc4f3aa">MEMAllocFromExpHeapEx</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint32_t size, int alignment)</td></tr>
<tr class="separator:ga1bd6e0933cff64935972d1406bc4f3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c421edfe1421c2dc32886033d427821"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga7c421edfe1421c2dc32886033d427821">MEMFreeToExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint8_t *block)</td></tr>
<tr class="separator:ga7c421edfe1421c2dc32886033d427821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bad96bf373760922a81ce44c0c8d6bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga2bad96bf373760922a81ce44c0c8d6bb">MEMSetAllocModeForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, <a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> mode)</td></tr>
<tr class="separator:ga2bad96bf373760922a81ce44c0c8d6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga260ef5ed78a842b221617c42a7b50c29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga260ef5ed78a842b221617c42a7b50c29">MEMGetAllocModeForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:ga260ef5ed78a842b221617c42a7b50c29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc07af9c28db41f7bb931843312a22a3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gafc07af9c28db41f7bb931843312a22a3">MEMAdjustExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:gafc07af9c28db41f7bb931843312a22a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd06efb621347f80db55dba993fc223e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gacd06efb621347f80db55dba993fc223e">MEMResizeForMBlockExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint8_t *address, uint32_t size)</td></tr>
<tr class="separator:gacd06efb621347f80db55dba993fc223e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26183b624b5f7bdf1219544d43c58a66"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga26183b624b5f7bdf1219544d43c58a66">MEMGetTotalFreeSizeForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:ga26183b624b5f7bdf1219544d43c58a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae308b22521e3f82b54477e352cb54bd1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gae308b22521e3f82b54477e352cb54bd1">MEMGetAllocatableSizeForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:gae308b22521e3f82b54477e352cb54bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga454e65175e5a49959c85e00f7855f019"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga454e65175e5a49959c85e00f7855f019">MEMGetAllocatableSizeForExpHeapEx</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, int alignment)</td></tr>
<tr class="separator:ga454e65175e5a49959c85e00f7855f019"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d3b9ede931df2dd898b501827d26d87"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga1d3b9ede931df2dd898b501827d26d87">MEMSetGroupIDForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap, uint16_t id)</td></tr>
<tr class="separator:ga1d3b9ede931df2dd898b501827d26d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0298c33afc1b685eabda4ebd22ef4351"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga0298c33afc1b685eabda4ebd22ef4351">MEMGetGroupIDForExpHeap</a> (<a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *heap)</td></tr>
<tr class="separator:ga0298c33afc1b685eabda4ebd22ef4351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe642549ccefcd0576ee7f4f15185d42"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gafe642549ccefcd0576ee7f4f15185d42">MEMGetSizeForMBlockExpHeap</a> (uint8_t *addr)</td></tr>
<tr class="separator:gafe642549ccefcd0576ee7f4f15185d42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga938440268deb10b08c13965c16fbff89"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#ga938440268deb10b08c13965c16fbff89">MEMGetGroupIDForMBlockExpHeap</a> (uint8_t *addr)</td></tr>
<tr class="separator:ga938440268deb10b08c13965c16fbff89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba2d07a2fe15bb0412465f399708a928"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__expheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__expheap.html#gaba2d07a2fe15bb0412465f399708a928">MEMGetAllocDirForMBlockExpHeap</a> (uint8_t *addr)</td></tr>
<tr class="separator:gaba2d07a2fe15bb0412465f399708a928"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga6f20306c6ffcce66aab53e2a1c93d04b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> <a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="expandedheap_8h_source.html#l00014">14</a> of file <a class="el" href="expandedheap_8h_source.html">expandedheap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga47cd74d7b6ec27370ee76e8311496618"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t <a class="el" href="group__coreinit__expheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="expandedheap_8h_source.html#l00017">17</a> of file <a class="el" href="expandedheap_8h_source.html">expandedheap.h</a>.</p>
</div>
</div>
<a class="anchor" id="ga4472f9c41265a94031ee1f2417966f5f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t <a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="expandedheap_8h_source.html#l00016">16</a> of file <a class="el" href="expandedheap_8h_source.html">expandedheap.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="gaf7d7b76eff6969688351b914dbd5ff84"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__coreinit__expheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggaf7d7b76eff6969688351b914dbd5ff84a170cacfe7715b7b4a9df7846411d1fda"></a>MEM_EXP_HEAP_DIR_FROM_TOP&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggaf7d7b76eff6969688351b914dbd5ff84a9d96953d174ae7e00f507c5cbecdeda7"></a>MEM_EXP_HEAP_DIR_FROM_BOTTOM&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="expandedheap_8h_source.html#l00030">30</a> of file <a class="el" href="expandedheap_8h_source.html">expandedheap.h</a>.</p>
</div>
</div>
<a class="anchor" id="gafaff417de3d38ab7b2fbf257913fac51"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggafaff417de3d38ab7b2fbf257913fac51abc487e051ed0efea240c90f55c797e9d"></a>MEM_EXP_HEAP_MODE_FIRST_FREE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggafaff417de3d38ab7b2fbf257913fac51aa5dd220ca55194dbb5bafca2d7e3b65b"></a>MEM_EXP_HEAP_MODE_NEAREST_SIZE&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="expandedheap_8h_source.html#l00024">24</a> of file <a class="el" href="expandedheap_8h_source.html">expandedheap.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gafc07af9c28db41f7bb931843312a22a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMAdjustExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga4290ca07078eed4d815222135c6ce013"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga1bd6e0933cff64935972d1406bc4f3aa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromExpHeapEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>alignment</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga6b6e934fd418677867325939e4d3bf56"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a>* MEMCreateExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga23c85a752f34c79cc2e6d0380a6945ed"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a>* MEMCreateExpHeapEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gae74225ef326d0b012383f572ffdedad1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a>* MEMDestroyExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga7c421edfe1421c2dc32886033d427821"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MEMFreeToExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>block</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gae308b22521e3f82b54477e352cb54bd1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetAllocatableSizeForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga454e65175e5a49959c85e00f7855f019"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetAllocatableSizeForExpHeapEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>alignment</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaba2d07a2fe15bb0412465f399708a928"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__expheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a> MEMGetAllocDirForMBlockExpHeap </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga260ef5ed78a842b221617c42a7b50c29"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> MEMGetAllocModeForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga0298c33afc1b685eabda4ebd22ef4351"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t MEMGetGroupIDForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga938440268deb10b08c13965c16fbff89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t MEMGetGroupIDForMBlockExpHeap </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gafe642549ccefcd0576ee7f4f15185d42"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetSizeForMBlockExpHeap </td>
<td>(</td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga26183b624b5f7bdf1219544d43c58a66"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetTotalFreeSizeForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaa959ffd6dc51567d7c17880906cb22e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MEMiDumpExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gacd06efb621347f80db55dba993fc223e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMResizeForMBlockExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t *&#160;</td>
<td class="paramname"><em>address</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga2bad96bf373760922a81ce44c0c8d6bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> MEMSetAllocModeForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__expheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td>
<td class="paramname"><em>mode</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga1d3b9ede931df2dd898b501827d26d87"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t MEMSetGroupIDForExpHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_m_e_m_expanded_heap.html">MEMExpandedHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t&#160;</td>
<td class="paramname"><em>id</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</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>