mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 18:19:24 +01:00
187 lines
19 KiB
HTML
187 lines
19 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/frameheap.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
|
|
 <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 Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data 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 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">frameheap.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="frameheap_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <<a class="code" href="wut_8h.html">wut.h</a>></span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="group__coreinit__frameheap.html#ga7f871d843b28e1d2fc7fdef5256775bd"> 14</a></span> <span class="keyword">typedef</span> uint32_t <a class="code" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</a>;</div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f"> 16</a></span> <span class="keyword">enum</span> MEMFrameHeapFreeMode</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d"> 18</a></span>  <a class="code" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d">MEM_FRAME_HEAP_FREE_FROM_BOTTOM</a> = 1 << 0,</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333"> 19</a></span>  <a class="code" href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333">MEM_FRAME_HEAP_FREE_FROM_TOP</a> = 1 << 1,</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> };</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> MEMFrameHeap *</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <a class="code" href="group__coreinit__frameheap.html#ga09a6141da678ad54f66c8801c7f33b80">MEMCreateFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  uint32_t size);</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> MEMFrameHeap *</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="group__coreinit__frameheap.html#ga5c750906ac5906a7cd7b339f41a19a38">MEMCreateFrmHeapEx</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  uint32_t size,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  uint16_t flags);</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">void</span> *</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <a class="code" href="group__coreinit__frameheap.html#gacd0bfc4dee94128802f1e313a8a840e8">MEMDestroyFrmHeap</a>(MEMFrameHeap *heap);</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">void</span> *</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <a class="code" href="group__coreinit__frameheap.html#gac6d44cefdd8676ac3bad9bbcddc87c61">MEMAllocFromFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  uint32_t size);</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keywordtype">void</span> *</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <a class="code" href="group__coreinit__frameheap.html#ga66b4f9c67cc56fb8f95a382950c0a90a">MEMAllocFromFrmHeapEx</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  uint32_t size,</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">int</span> alignment);</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <a class="code" href="group__coreinit__frameheap.html#gab4120e25b953255de5b5f00329e598bf">MEMFreeToFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  MEMFrameHeapFreeMode mode);</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <a class="code" href="group__coreinit__frameheap.html#ga124a709049f57ef26d1c8baa44132605">MEMRecordStateForFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  uint32_t tag);</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <a class="code" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <a class="code" href="group__coreinit__frameheap.html#gacf63bbbc9108fae2ba467af00316375f">MEMFreeByStateToFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  uint32_t tag);</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> uint32_t</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <a class="code" href="group__coreinit__frameheap.html#ga8b6598d6ee7122b59a273951cc16692f">MEMAdjustFrmHeap</a>(MEMFrameHeap *heap);</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> uint32_t</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <a class="code" href="group__coreinit__frameheap.html#ga2db992abadb6e8f6f2f4c13ad38a833f">MEMResizeForMBlockFrmHeap</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  uint32_t addr,</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  uint32_t size);</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> uint32_t</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <a class="code" href="group__coreinit__frameheap.html#ga27fd366d7eb783e4b4fdd090d1bcefcc">MEMGetAllocatableSizeForFrmHeap</a>(MEMFrameHeap *heap);</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> uint32_t</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <a class="code" href="group__coreinit__frameheap.html#gad02f5594ef431d1929938cfbda57cd39">MEMGetAllocatableSizeForFrmHeapEx</a>(MEMFrameHeap *heap,</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">int</span> alignment);</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> }</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d"><div class="ttname"><a href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fa0f815df3a2b3454a69ae60cf27333a9d">MEM_FRAME_HEAP_FREE_FROM_BOTTOM</a></div><div class="ttdef"><b>Definition:</b> <a href="frameheap_8h_source.html#l00018">frameheap.h:18</a></div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gad02f5594ef431d1929938cfbda57cd39"><div class="ttname"><a href="group__coreinit__frameheap.html#gad02f5594ef431d1929938cfbda57cd39">MEMGetAllocatableSizeForFrmHeapEx</a></div><div class="ttdeci">uint32_t MEMGetAllocatableSizeForFrmHeapEx(MEMFrameHeap *heap, int alignment)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gacf63bbbc9108fae2ba467af00316375f"><div class="ttname"><a href="group__coreinit__frameheap.html#gacf63bbbc9108fae2ba467af00316375f">MEMFreeByStateToFrmHeap</a></div><div class="ttdeci">BOOL MEMFreeByStateToFrmHeap(MEMFrameHeap *heap, uint32_t tag)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga2db992abadb6e8f6f2f4c13ad38a833f"><div class="ttname"><a href="group__coreinit__frameheap.html#ga2db992abadb6e8f6f2f4c13ad38a833f">MEMResizeForMBlockFrmHeap</a></div><div class="ttdeci">uint32_t MEMResizeForMBlockFrmHeap(MEMFrameHeap *heap, uint32_t addr, uint32_t size)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga09a6141da678ad54f66c8801c7f33b80"><div class="ttname"><a href="group__coreinit__frameheap.html#ga09a6141da678ad54f66c8801c7f33b80">MEMCreateFrmHeap</a></div><div class="ttdeci">MEMFrameHeap * MEMCreateFrmHeap(MEMFrameHeap *heap, uint32_t size)</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__frameheap_html_gac6d44cefdd8676ac3bad9bbcddc87c61"><div class="ttname"><a href="group__coreinit__frameheap.html#gac6d44cefdd8676ac3bad9bbcddc87c61">MEMAllocFromFrmHeap</a></div><div class="ttdeci">void * MEMAllocFromFrmHeap(MEMFrameHeap *heap, uint32_t size)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga66b4f9c67cc56fb8f95a382950c0a90a"><div class="ttname"><a href="group__coreinit__frameheap.html#ga66b4f9c67cc56fb8f95a382950c0a90a">MEMAllocFromFrmHeapEx</a></div><div class="ttdeci">void * MEMAllocFromFrmHeapEx(MEMFrameHeap *heap, uint32_t size, int alignment)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga124a709049f57ef26d1c8baa44132605"><div class="ttname"><a href="group__coreinit__frameheap.html#ga124a709049f57ef26d1c8baa44132605">MEMRecordStateForFrmHeap</a></div><div class="ttdeci">BOOL MEMRecordStateForFrmHeap(MEMFrameHeap *heap, uint32_t tag)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga519bff9f11e628bf00f032e527b3aa3f"><div class="ttname"><a href="group__coreinit__frameheap.html#ga519bff9f11e628bf00f032e527b3aa3f">MEMFrameHeapFreeMode</a></div><div class="ttdeci">MEMFrameHeapFreeMode</div><div class="ttdef"><b>Definition:</b> <a href="frameheap_8h_source.html#l00016">frameheap.h:16</a></div></div>
|
|
<div class="ttc" id="wut__types_8h_html_a050c65e107f0c828f856a231f4b4e788"><div class="ttname"><a href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a></div><div class="ttdeci">int BOOL</div><div class="ttdef"><b>Definition:</b> <a href="wut__types_8h_source.html#l00004">wut_types.h:4</a></div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga27fd366d7eb783e4b4fdd090d1bcefcc"><div class="ttname"><a href="group__coreinit__frameheap.html#ga27fd366d7eb783e4b4fdd090d1bcefcc">MEMGetAllocatableSizeForFrmHeap</a></div><div class="ttdeci">uint32_t MEMGetAllocatableSizeForFrmHeap(MEMFrameHeap *heap)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga5c750906ac5906a7cd7b339f41a19a38"><div class="ttname"><a href="group__coreinit__frameheap.html#ga5c750906ac5906a7cd7b339f41a19a38">MEMCreateFrmHeapEx</a></div><div class="ttdeci">MEMFrameHeap * MEMCreateFrmHeapEx(MEMFrameHeap *heap, uint32_t size, uint16_t flags)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333"><div class="ttname"><a href="group__coreinit__frameheap.html#gga519bff9f11e628bf00f032e527b3aa3fae6268970d5e12703cf73478febfc8333">MEM_FRAME_HEAP_FREE_FROM_TOP</a></div><div class="ttdef"><b>Definition:</b> <a href="frameheap_8h_source.html#l00019">frameheap.h:19</a></div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_ga8b6598d6ee7122b59a273951cc16692f"><div class="ttname"><a href="group__coreinit__frameheap.html#ga8b6598d6ee7122b59a273951cc16692f">MEMAdjustFrmHeap</a></div><div class="ttdeci">uint32_t MEMAdjustFrmHeap(MEMFrameHeap *heap)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gacd0bfc4dee94128802f1e313a8a840e8"><div class="ttname"><a href="group__coreinit__frameheap.html#gacd0bfc4dee94128802f1e313a8a840e8">MEMDestroyFrmHeap</a></div><div class="ttdeci">void * MEMDestroyFrmHeap(MEMFrameHeap *heap)</div></div>
|
|
<div class="ttc" id="group__coreinit__frameheap_html_gab4120e25b953255de5b5f00329e598bf"><div class="ttname"><a href="group__coreinit__frameheap.html#gab4120e25b953255de5b5f00329e598bf">MEMFreeToFrmHeap</a></div><div class="ttdeci">void MEMFreeToFrmHeap(MEMFrameHeap *heap, MEMFrameHeapFreeMode mode)</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|