wut/expandedheap_8h.html
2016-01-08 17:00:17 +00:00

178 lines
18 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/expandedheap.h File Reference</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="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">expandedheap.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="wut_8h_source.html">wut.h</a>&gt;</code><br />
</div>
<p><a href="expandedheap_8h_source.html">Go to the source code of this file.</a></p>
<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:ga3bba13654e36f740de5bdb4981a23248"><td class="memItemLeft" align="right" valign="top">typedef enum <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#ga3bba13654e36f740de5bdb4981a23248">MEMExpHeapMode</a></td></tr>
<tr class="separator:ga3bba13654e36f740de5bdb4981a23248"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3b6feb26269cc7a7202e5fb87a89e12"><td class="memItemLeft" align="right" valign="top">typedef enum <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#gad3b6feb26269cc7a7202e5fb87a89e12">MEMExpHeapDirection</a></td></tr>
<tr class="separator:gad3b6feb26269cc7a7202e5fb87a89e12"><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>
</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>