wut/group__coreinit__frameheap.html
2016-01-07 16:14:21 +00:00

475 lines
21 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: Frame 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="#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">Frame 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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga7f871d843b28e1d2fc7fdef5256775bd"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga7f871d843b28e1d2fc7fdef5256775bd">MEMFrameHeapFreeMode</a></td></tr>
<tr class="separator:ga7f871d843b28e1d2fc7fdef5256775bd"><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:ga519bff9f11e628bf00f032e527b3aa3f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</a> { <a class="el" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d">MEM_FRAME_HEAP_FREE_FROM_BOTTOM</a> = 1 &lt;&lt; 0,
<a class="el" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333">MEM_FRAME_HEAP_FREE_FROM_TOP</a> = 1 &lt;&lt; 1
}<tr class="separator:ga519bff9f11e628bf00f032e527b3aa3f"><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:ga09a6141da678ad54f66c8801c7f33b80"><td class="memItemLeft" align="right" valign="top">MEMFrameHeap *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga09a6141da678ad54f66c8801c7f33b80">MEMCreateFrmHeap</a> (MEMFrameHeap *heap, uint32_t size)</td></tr>
<tr class="separator:ga09a6141da678ad54f66c8801c7f33b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c750906ac5906a7cd7b339f41a19a38"><td class="memItemLeft" align="right" valign="top">MEMFrameHeap *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga5c750906ac5906a7cd7b339f41a19a38">MEMCreateFrmHeapEx</a> (MEMFrameHeap *heap, uint32_t size, uint16_t flags)</td></tr>
<tr class="separator:ga5c750906ac5906a7cd7b339f41a19a38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd0bfc4dee94128802f1e313a8a840e8"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#gacd0bfc4dee94128802f1e313a8a840e8">MEMDestroyFrmHeap</a> (MEMFrameHeap *heap)</td></tr>
<tr class="separator:gacd0bfc4dee94128802f1e313a8a840e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6d44cefdd8676ac3bad9bbcddc87c61"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#gac6d44cefdd8676ac3bad9bbcddc87c61">MEMAllocFromFrmHeap</a> (MEMFrameHeap *heap, uint32_t size)</td></tr>
<tr class="separator:gac6d44cefdd8676ac3bad9bbcddc87c61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66b4f9c67cc56fb8f95a382950c0a90a"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga66b4f9c67cc56fb8f95a382950c0a90a">MEMAllocFromFrmHeapEx</a> (MEMFrameHeap *heap, uint32_t size, int alignment)</td></tr>
<tr class="separator:ga66b4f9c67cc56fb8f95a382950c0a90a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4120e25b953255de5b5f00329e598bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#gab4120e25b953255de5b5f00329e598bf">MEMFreeToFrmHeap</a> (MEMFrameHeap *heap, <a class="el" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</a> mode)</td></tr>
<tr class="separator:gab4120e25b953255de5b5f00329e598bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga124a709049f57ef26d1c8baa44132605"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga124a709049f57ef26d1c8baa44132605">MEMRecordStateForFrmHeap</a> (MEMFrameHeap *heap, uint32_t tag)</td></tr>
<tr class="separator:ga124a709049f57ef26d1c8baa44132605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf63bbbc9108fae2ba467af00316375f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#gacf63bbbc9108fae2ba467af00316375f">MEMFreeByStateToFrmHeap</a> (MEMFrameHeap *heap, uint32_t tag)</td></tr>
<tr class="separator:gacf63bbbc9108fae2ba467af00316375f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b6598d6ee7122b59a273951cc16692f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga8b6598d6ee7122b59a273951cc16692f">MEMAdjustFrmHeap</a> (MEMFrameHeap *heap)</td></tr>
<tr class="separator:ga8b6598d6ee7122b59a273951cc16692f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2db992abadb6e8f6f2f4c13ad38a833f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga2db992abadb6e8f6f2f4c13ad38a833f">MEMResizeForMBlockFrmHeap</a> (MEMFrameHeap *heap, uint32_t addr, uint32_t size)</td></tr>
<tr class="separator:ga2db992abadb6e8f6f2f4c13ad38a833f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27fd366d7eb783e4b4fdd090d1bcefcc"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#ga27fd366d7eb783e4b4fdd090d1bcefcc">MEMGetAllocatableSizeForFrmHeap</a> (MEMFrameHeap *heap)</td></tr>
<tr class="separator:ga27fd366d7eb783e4b4fdd090d1bcefcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad02f5594ef431d1929938cfbda57cd39"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__frameheap.html#gad02f5594ef431d1929938cfbda57cd39">MEMGetAllocatableSizeForFrmHeapEx</a> (MEMFrameHeap *heap, int alignment)</td></tr>
<tr class="separator:gad02f5594ef431d1929938cfbda57cd39"><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="ga7f871d843b28e1d2fc7fdef5256775bd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t <a class="el" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="frameheap_8h_source.html#l00014">14</a> of file <a class="el" href="frameheap_8h_source.html">frameheap.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga519bff9f11e628bf00f032e527b3aa3f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</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="gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d"></a>MEM_FRAME_HEAP_FREE_FROM_BOTTOM&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333"></a>MEM_FRAME_HEAP_FREE_FROM_TOP&#160;</td><td class="fielddoc">
</td></tr>
</table>
<p>Definition at line <a class="el" href="frameheap_8h_source.html#l00016">16</a> of file <a class="el" href="frameheap_8h_source.html">frameheap.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga8b6598d6ee7122b59a273951cc16692f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMAdjustFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="gac6d44cefdd8676ac3bad9bbcddc87c61"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="ga66b4f9c67cc56fb8f95a382950c0a90a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromFrmHeapEx </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="ga09a6141da678ad54f66c8801c7f33b80"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MEMFrameHeap* MEMCreateFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="ga5c750906ac5906a7cd7b339f41a19a38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">MEMFrameHeap* MEMCreateFrmHeapEx </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="gacd0bfc4dee94128802f1e313a8a840e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMDestroyFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="gacf63bbbc9108fae2ba467af00316375f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MEMFreeByStateToFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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>tag</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="gab4120e25b953255de5b5f00329e598bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MEMFreeToFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</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="ga27fd366d7eb783e4b4fdd090d1bcefcc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetAllocatableSizeForFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="gad02f5594ef431d1929938cfbda57cd39"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetAllocatableSizeForFrmHeapEx </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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="ga124a709049f57ef26d1c8baa44132605"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a> MEMRecordStateForFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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>tag</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="ga2db992abadb6e8f6f2f4c13ad38a833f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMResizeForMBlockFrmHeap </td>
<td>(</td>
<td class="paramtype">MEMFrameHeap *&#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>addr</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>
</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>