wut/memexpheap_8h.html
2020-03-26 16:49:18 +11:00

169 lines
18 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/Code/wut2/include/coreinit/memexpheap.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>
<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">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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="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">memexpheap.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 />
<code>#include &quot;<a class="el" href="memheap_8h_source.html">memheap.h</a>&quot;</code><br />
</div>
<p><a href="memexpheap_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:structMEMExpHeapBlock"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeapBlock">MEMExpHeapBlock</a></td></tr>
<tr class="separator:structMEMExpHeapBlock"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structMEMExpHeapBlockList"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeapBlockList">MEMExpHeapBlockList</a></td></tr>
<tr class="separator:structMEMExpHeapBlockList"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structMEMExpHeap"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeap">MEMExpHeap</a></td></tr>
<tr class="separator:structMEMExpHeap"><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:gaf9b04572d078730695736c3e6f860c2b"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeap">MEMExpHeap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#gaf9b04572d078730695736c3e6f860c2b">MEMExpHeap</a></td></tr>
<tr class="separator:gaf9b04572d078730695736c3e6f860c2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02a3924c6f31e4bd870f3ed60c283544"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeapBlock">MEMExpHeapBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga02a3924c6f31e4bd870f3ed60c283544">MEMExpHeapBlock</a></td></tr>
<tr class="separator:ga02a3924c6f31e4bd870f3ed60c283544"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga580e3fd980101e601d24106796ceddd4"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memexpheap.html#structMEMExpHeapBlockList">MEMExpHeapBlockList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga580e3fd980101e601d24106796ceddd4">MEMExpHeapBlockList</a></td></tr>
<tr class="separator:ga580e3fd980101e601d24106796ceddd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae849e9cb18ec1d7ee29f7d9d8142c04e"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#gae849e9cb18ec1d7ee29f7d9d8142c04e">MEMExpHeapBlockVisitor</a>) (void *block, <a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, void *context)</td></tr>
<tr class="separator:gae849e9cb18ec1d7ee29f7d9d8142c04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga52777a50ea7221ad7a11dd2c27bfb994"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__memexpheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga52777a50ea7221ad7a11dd2c27bfb994">MEMExpHeapMode</a></td></tr>
<tr class="separator:ga52777a50ea7221ad7a11dd2c27bfb994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga484000c3f7faacc519caaf7919e959f5"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__memexpheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga484000c3f7faacc519caaf7919e959f5">MEMExpHeapDirection</a></td></tr>
<tr class="separator:ga484000c3f7faacc519caaf7919e959f5"><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__memexpheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__memexpheap.html#ggafaff417de3d38ab7b2fbf257913fac51abc487e051ed0efea240c90f55c797e9d">MEM_EXP_HEAP_MODE_FIRST_FREE</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__memexpheap.html#ggafaff417de3d38ab7b2fbf257913fac51aa5dd220ca55194dbb5bafca2d7e3b65b">MEM_EXP_HEAP_MODE_NEAREST_SIZE</a> = 1
<br />
}</td></tr>
<tr class="separator:gafaff417de3d38ab7b2fbf257913fac51"><td class="memSeparator" colspan="2">&#160;</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__memexpheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__memexpheap.html#ggaf7d7b76eff6969688351b914dbd5ff84a170cacfe7715b7b4a9df7846411d1fda">MEM_EXP_HEAP_DIR_FROM_TOP</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__memexpheap.html#ggaf7d7b76eff6969688351b914dbd5ff84a9d96953d174ae7e00f507c5cbecdeda7">MEM_EXP_HEAP_DIR_FROM_BOTTOM</a> = 1
<br />
}</td></tr>
<tr class="separator:gaf7d7b76eff6969688351b914dbd5ff84"><td class="memSeparator" colspan="2">&#160;</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:ga059f706733ca2985f716c6a2b89e5fdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga059f706733ca2985f716c6a2b89e5fdc">MEMCreateExpHeapEx</a> (void *heap, uint32_t size, uint16_t flags)</td></tr>
<tr class="separator:ga059f706733ca2985f716c6a2b89e5fdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecfda2b4ea04ff0b7d287f709e3fbe68"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#gaecfda2b4ea04ff0b7d287f709e3fbe68">MEMDestroyExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:gaecfda2b4ea04ff0b7d287f709e3fbe68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2581f302bbbcdbe23c5bb0be43911f72"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga2581f302bbbcdbe23c5bb0be43911f72">MEMAllocFromExpHeapEx</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, uint32_t size, int alignment)</td></tr>
<tr class="separator:ga2581f302bbbcdbe23c5bb0be43911f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51db0f9caf8e00ddc1706de8594a3359"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga51db0f9caf8e00ddc1706de8594a3359">MEMFreeToExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, void *block)</td></tr>
<tr class="separator:ga51db0f9caf8e00ddc1706de8594a3359"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20643db5a765c35715d27c62ebffaf83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memexpheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga20643db5a765c35715d27c62ebffaf83">MEMSetAllocModeForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, <a class="el" href="group__coreinit__memexpheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a> mode)</td></tr>
<tr class="separator:ga20643db5a765c35715d27c62ebffaf83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ba2d40d948e4da2f17725d271c37644"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memexpheap.html#gafaff417de3d38ab7b2fbf257913fac51">MEMExpHeapMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga3ba2d40d948e4da2f17725d271c37644">MEMGetAllocModeForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga3ba2d40d948e4da2f17725d271c37644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e84e77eeb3356080ce3c77ac1016002"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga4e84e77eeb3356080ce3c77ac1016002">MEMAdjustExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga4e84e77eeb3356080ce3c77ac1016002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b6af5ccdb1db301157dc4d25f2b0030"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga1b6af5ccdb1db301157dc4d25f2b0030">MEMResizeForMBlockExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, void *block, uint32_t size)</td></tr>
<tr class="separator:ga1b6af5ccdb1db301157dc4d25f2b0030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ec3bec1af359063e9dd89ba2099d458"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga2ec3bec1af359063e9dd89ba2099d458">MEMGetTotalFreeSizeForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga2ec3bec1af359063e9dd89ba2099d458"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e2d52cae46c66a9f178565e62c4a98b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga3e2d52cae46c66a9f178565e62c4a98b">MEMGetAllocatableSizeForExpHeapEx</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, int alignment)</td></tr>
<tr class="separator:ga3e2d52cae46c66a9f178565e62c4a98b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac11526048f157c280aafcea382e55bdc"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#gac11526048f157c280aafcea382e55bdc">MEMSetGroupIDForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, uint16_t id)</td></tr>
<tr class="separator:gac11526048f157c280aafcea382e55bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9cfab8c9cd391986cfcb22ab4331631"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#gaa9cfab8c9cd391986cfcb22ab4331631">MEMGetGroupIDForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:gaa9cfab8c9cd391986cfcb22ab4331631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga731c29fa01f0dada57e596f02a0b0e27"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga731c29fa01f0dada57e596f02a0b0e27">MEMGetSizeForMBlockExpHeap</a> (void *block)</td></tr>
<tr class="separator:ga731c29fa01f0dada57e596f02a0b0e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga742556d1cb4259ee60c0f13a2a830753"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga742556d1cb4259ee60c0f13a2a830753">MEMGetGroupIDForMBlockExpHeap</a> (void *block)</td></tr>
<tr class="separator:ga742556d1cb4259ee60c0f13a2a830753"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ff472439a5ed5d35c1b6cd4d8da51cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memexpheap.html#gaf7d7b76eff6969688351b914dbd5ff84">MEMExpHeapDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga1ff472439a5ed5d35c1b6cd4d8da51cb">MEMGetAllocDirForMBlockExpHeap</a> (void *block)</td></tr>
<tr class="separator:ga1ff472439a5ed5d35c1b6cd4d8da51cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f90e49c5a476b10a2f4e806a8d34498"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memexpheap.html#ga8f90e49c5a476b10a2f4e806a8d34498">MEMVisitAllocatedForExpHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, <a class="el" href="group__coreinit__memexpheap.html#gae849e9cb18ec1d7ee29f7d9d8142c04e">MEMExpHeapBlockVisitor</a> callback, void *context)</td></tr>
<tr class="separator:ga8f90e49c5a476b10a2f4e806a8d34498"><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.17
</small></address>
</body>
</html>