wut/memunitheap_8h_source.html

99 lines
18 KiB
HTML
Raw Normal View History

2019-04-22 10:21:17 +10:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-07-26 20:52:03 +10:00
<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"/>
2019-04-22 10:21:17 +10:00
<meta name="generator" content="Doxygen 1.8.15"/>
2018-07-26 20:52:03 +10:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2019-04-22 10:21:17 +10:00
<title>wut: /home/ash/src/wut/include/coreinit/memunitheap.h Source File</title>
2018-07-26 20:52:03 +10:00
<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>
<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
2019-04-22 10:21:17 +10:00
&#160;<span id="projectnumber">1.0.0-beta8</span>
2018-07-26 20:52:03 +10:00
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2019-04-22 10:21:17 +10:00
<!-- Generated by Doxygen 1.8.15 -->
2018-07-26 20:52:03 +10:00
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></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">memunitheap.h</div> </div>
</div><!--header-->
<div class="contents">
2019-04-22 10:21:17 +10:00
<a href="memunitheap_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="memheap_8h.html">memheap.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="group__coreinit__unitheap.html#ga28feade8162e7408de7ca9631ebbb3f4"> 15</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeap">MEMUnitHeap</a> <a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeap">MEMUnitHeap</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__coreinit__unitheap.html#ga52ed0421535987a95e08a323635c209a"> 16</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a> <a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a>;</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__unitheap.html"> 18</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</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__unitheap.html#ab4abd8ef6b7eebef7dfa93a7f76ef496"> 20</a></span>&#160; <a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a> *<a class="code" href="group__coreinit__unitheap.html#ab4abd8ef6b7eebef7dfa93a7f76ef496">next</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"> 22</span>&#160;WUT_CHECK_OFFSET(<a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a>, 0x00, next);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;WUT_CHECK_SIZE(<a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a>, 0x04);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="group__coreinit__unitheap.html"> 25</a></span>&#160;<span class="keyword">struct </span>WUT_PACKED <a class="code" href="group__coreinit__unitheap.html#structMEMUnitHeap">MEMUnitHeap</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__unitheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb"> 27</a></span>&#160; <a class="code" href="group__coreinit__memhea
2018-07-26 20:52:03 +10:00
<div class="ttc" id="group__coreinit__unitheap_html_structMEMUnitHeap"><div class="ttname"><a href="group__coreinit__unitheap.html#structMEMUnitHeap">MEMUnitHeap</a></div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00025">memunitheap.h:25</a></div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ga62e51c978682612ecc50b9495dae8973"><div class="ttname"><a href="group__coreinit__unitheap.html#ga62e51c978682612ecc50b9495dae8973">MEMAllocFromUnitHeap</a></div><div class="ttdeci">void * MEMAllocFromUnitHeap(MEMHeapHandle heap)</div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ga25ded441e9bedd2ba8bfe87900e354aa"><div class="ttname"><a href="group__coreinit__unitheap.html#ga25ded441e9bedd2ba8bfe87900e354aa">MEMFreeToUnitHeap</a></div><div class="ttdeci">void MEMFreeToUnitHeap(MEMHeapHandle heap, void *block)</div></div>
<div class="ttc" id="group__coreinit__unitheap_html_structMEMUnitHeapFreeBlock"><div class="ttname"><a href="group__coreinit__unitheap.html#structMEMUnitHeapFreeBlock">MEMUnitHeapFreeBlock</a></div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00018">memunitheap.h:18</a></div></div>
<div class="ttc" id="memheap_8h_html"><div class="ttname"><a href="memheap_8h.html">memheap.h</a></div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ga7b6db55c97999037d980d6dec4d8f869"><div class="ttname"><a href="group__coreinit__unitheap.html#ga7b6db55c97999037d980d6dec4d8f869">MEMDestroyUnitHeap</a></div><div class="ttdeci">void * MEMDestroyUnitHeap(MEMHeapHandle heap)</div></div>
<div class="ttc" id="group__coreinit__unitheap_html_a0edcfdc3d5cf965f0929bf203c4a1dbb"><div class="ttname"><a href="group__coreinit__unitheap.html#a0edcfdc3d5cf965f0929bf203c4a1dbb">MEMUnitHeap::header</a></div><div class="ttdeci">MEMHeapHeader header</div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00027">memunitheap.h:27</a></div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ga0f2285ecc8ed9ac4fe0b6f0384dee35e"><div class="ttname"><a href="group__coreinit__unitheap.html#ga0f2285ecc8ed9ac4fe0b6f0384dee35e">MEMCountFreeBlockForUnitHeap</a></div><div class="ttdeci">uint32_t MEMCountFreeBlockForUnitHeap(MEMHeapHandle heap)</div></div>
<div class="ttc" id="group__coreinit__unitheap_html_a65a9d090eb303fb57c33d24bd4b4b6e2"><div class="ttname"><a href="group__coreinit__unitheap.html#a65a9d090eb303fb57c33d24bd4b4b6e2">MEMUnitHeap::freeBlocks</a></div><div class="ttdeci">MEMUnitHeapFreeBlock * freeBlocks</div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00028">memunitheap.h:28</a></div></div>
<div class="ttc" id="group__coreinit__unitheap_html_gab878919563f5beb15d2bfdf681d53a4f"><div class="ttname"><a href="group__coreinit__unitheap.html#gab878919563f5beb15d2bfdf681d53a4f">MEMCalcHeapSizeForUnitHeap</a></div><div class="ttdeci">uint32_t MEMCalcHeapSizeForUnitHeap(uint32_t blockSize, uint32_t count, int32_t alignment)</div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ab6558f40a619c2502fbc24c880fd4fb0"><div class="ttname"><a href="group__coreinit__unitheap.html#ab6558f40a619c2502fbc24c880fd4fb0">MEMUnitHeap::blockSize</a></div><div class="ttdeci">uint32_t blockSize</div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00029">memunitheap.h:29</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__unitheap_html_ab4abd8ef6b7eebef7dfa93a7f76ef496"><div class="ttname"><a href="group__coreinit__unitheap.html#ab4abd8ef6b7eebef7dfa93a7f76ef496">MEMUnitHeapFreeBlock::next</a></div><div class="ttdeci">MEMUnitHeapFreeBlock * next</div><div class="ttdef"><b>Definition:</b> <a href="memunitheap_8h_source.html#l00020">memunitheap.h:20</a></div></div>
<div class="ttc" id="group__coreinit__unitheap_html_ga611aab238b8af463d215c8c07478d36f"><div class="ttname"><a href="group__coreinit__unitheap.html#ga611aab238b8af463d215c8c07478d36f">MEMiDumpUnitHeap</a></div><div class="ttdeci">void MEMiDumpUnitHeap(MEMHeapHandle heap)</div></div>
<div class="ttc" id="group__coreinit__memheap_html_structMEMHeapHeader"><div class="ttname"><a href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHeader</a></div><div class="ttdef"><b>Definition:</b> <a href="memheap_8h_source.html#l00051">memheap.h:51</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"/>
2019-04-22 10:21:17 +10:00
</a> 1.8.15
2018-07-26 20:52:03 +10:00
</small></address>
</body>
</html>