mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
124 lines
12 KiB
HTML
124 lines
12 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/memdefaultheap.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>
|
|
<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">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&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&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">memdefaultheap.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="memdefaultheap_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> <span class="preprocessor">#include "<a class="code" href="memheap_8h.html">memheap.h</a>"</span></div>
|
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386"> 15</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*MEMAllocFromDefaultHeapFn)(uint32_t size);</div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411"> 16</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*MEMAllocFromDefaultHeapExFn)(uint32_t size, int32_t alignment);</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f"> 17</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a>)(<span class="keywordtype">void</span> *ptr);</div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">extern</span> <a class="code" href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386">MEMAllocFromDefaultHeapFn</a> <a class="code" href="group__coreinit__memdefaultheap.html#gab6168eb317bf2a0a753d5c4c65c87ad9">MEMAllocFromDefaultHeap</a>;</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">extern</span> <a class="code" href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411">MEMAllocFromDefaultHeapExFn</a> <a class="code" href="group__coreinit__memdefaultheap.html#ga1b037f544326fd86f1e17851375b5b73">MEMAllocFromDefaultHeapEx</a>;</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">extern</span> <a class="code" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a> <a class="code" href="group__coreinit__memdefaultheap.html#gac0d47f480ad3f7acd8feef32690d6eb2">MEMFreeToDefaultHeap</a>;</div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <a class="code" href="group__coreinit__memdefaultheap.html#gaea23faf0846f25f5d2d4d9b35a6bd24d">CoreInitDefaultHeap</a>(<a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outMem1,</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outFG,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outMem2);</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <a class="code" href="group__coreinit__memdefaultheap.html#gac5a96f328d528e378c78fb2925f90ff3">__preinit_user</a>(<a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outMem1,</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outFG,</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHandle</a> *outMem2);</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_gaea23faf0846f25f5d2d4d9b35a6bd24d"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#gaea23faf0846f25f5d2d4d9b35a6bd24d">CoreInitDefaultHeap</a></div><div class="ttdeci">void CoreInitDefaultHeap(MEMHeapHandle *outMem1, MEMHeapHandle *outFG, MEMHeapHandle *outMem2)</div><div class="ttdoc">Default implementation of __preinit_user.</div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_gac5a96f328d528e378c78fb2925f90ff3"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#gac5a96f328d528e378c78fb2925f90ff3">__preinit_user</a></div><div class="ttdeci">void __preinit_user(MEMHeapHandle *outMem1, MEMHeapHandle *outFG, MEMHeapHandle *outMem2)</div><div class="ttdoc">Allows the user to completely customise the default heaps, this runs after the rpx code section has l...</div></div>
|
|
<div class="ttc" id="amemheap_8h_html"><div class="ttname"><a href="memheap_8h.html">memheap.h</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_gac0d47f480ad3f7acd8feef32690d6eb2"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#gac0d47f480ad3f7acd8feef32690d6eb2">MEMFreeToDefaultHeap</a></div><div class="ttdeci">MEMFreeToDefaultHeapFn MEMFreeToDefaultHeap</div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_gab6168eb317bf2a0a753d5c4c65c87ad9"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#gab6168eb317bf2a0a753d5c4c65c87ad9">MEMAllocFromDefaultHeap</a></div><div class="ttdeci">MEMAllocFromDefaultHeapFn MEMAllocFromDefaultHeap</div></div>
|
|
<div class="ttc" id="awut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_gad7b733a1d4f69d964027398fcde36411"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411">MEMAllocFromDefaultHeapExFn</a></div><div class="ttdeci">void *(* MEMAllocFromDefaultHeapExFn)(uint32_t size, int32_t alignment)</div><div class="ttdef"><b>Definition:</b> <a href="memdefaultheap_8h_source.html#l00016">memdefaultheap.h:16</a></div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_ga926e92d8ae2bef5c58a22930475b9d1f"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a></div><div class="ttdeci">void(* MEMFreeToDefaultHeapFn)(void *ptr)</div><div class="ttdef"><b>Definition:</b> <a href="memdefaultheap_8h_source.html#l00017">memdefaultheap.h:17</a></div></div>
|
|
<div class="ttc" id="agroup__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 class="ttc" id="agroup__coreinit__memdefaultheap_html_ga1b037f544326fd86f1e17851375b5b73"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#ga1b037f544326fd86f1e17851375b5b73">MEMAllocFromDefaultHeapEx</a></div><div class="ttdeci">MEMAllocFromDefaultHeapExFn MEMAllocFromDefaultHeapEx</div></div>
|
|
<div class="ttc" id="agroup__coreinit__memdefaultheap_html_ga51f820cfdf28a32d07c4f36dd1da2386"><div class="ttname"><a href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386">MEMAllocFromDefaultHeapFn</a></div><div class="ttdeci">void *(* MEMAllocFromDefaultHeapFn)(uint32_t size)</div><div class="ttdef"><b>Definition:</b> <a href="memdefaultheap_8h_source.html#l00015">memdefaultheap.h:15</a></div></div>
|
|
<!-- 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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|