mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
278 lines
15 KiB
HTML
278 lines
15 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: Default 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>
|
|
<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>
|
|
</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> |
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Default 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:ga51f820cfdf28a32d07c4f36dd1da2386"><td class="memItemLeft" align="right" valign="top">typedef void *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386">MEMAllocFromDefaultHeapFn</a>) (uint32_t size)</td></tr>
|
|
<tr class="separator:ga51f820cfdf28a32d07c4f36dd1da2386"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad7b733a1d4f69d964027398fcde36411"><td class="memItemLeft" align="right" valign="top">typedef void *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411">MEMAllocFromDefaultHeapExFn</a>) (uint32_t size, int32_t alignment)</td></tr>
|
|
<tr class="separator:gad7b733a1d4f69d964027398fcde36411"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga926e92d8ae2bef5c58a22930475b9d1f"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a>) (void *ptr)</td></tr>
|
|
<tr class="separator:ga926e92d8ae2bef5c58a22930475b9d1f"><td class="memSeparator" colspan="2"> </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:gaea23faf0846f25f5d2d4d9b35a6bd24d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#gaea23faf0846f25f5d2d4d9b35a6bd24d">CoreInitDefaultHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outMem1, <a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outFG, <a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outMem2)</td></tr>
|
|
<tr class="memdesc:gaea23faf0846f25f5d2d4d9b35a6bd24d"><td class="mdescLeft"> </td><td class="mdescRight">Default implementation of __preinit_user. <a href="group__coreinit__memdefaultheap.html#gaea23faf0846f25f5d2d4d9b35a6bd24d">More...</a><br /></td></tr>
|
|
<tr class="separator:gaea23faf0846f25f5d2d4d9b35a6bd24d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac5a96f328d528e378c78fb2925f90ff3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#gac5a96f328d528e378c78fb2925f90ff3">__preinit_user</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outMem1, <a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outFG, <a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> *outMem2)</td></tr>
|
|
<tr class="memdesc:gac5a96f328d528e378c78fb2925f90ff3"><td class="mdescLeft"> </td><td class="mdescRight">Allows the user to completely customise the default heaps, this runs after the rpx code section has loaded but before the data section as the data sections are allocated from the default heap. <a href="group__coreinit__memdefaultheap.html#gac5a96f328d528e378c78fb2925f90ff3">More...</a><br /></td></tr>
|
|
<tr class="separator:gac5a96f328d528e378c78fb2925f90ff3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:gab6168eb317bf2a0a753d5c4c65c87ad9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386">MEMAllocFromDefaultHeapFn</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#gab6168eb317bf2a0a753d5c4c65c87ad9">MEMAllocFromDefaultHeap</a></td></tr>
|
|
<tr class="separator:gab6168eb317bf2a0a753d5c4c65c87ad9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1b037f544326fd86f1e17851375b5b73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411">MEMAllocFromDefaultHeapExFn</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#ga1b037f544326fd86f1e17851375b5b73">MEMAllocFromDefaultHeapEx</a></td></tr>
|
|
<tr class="separator:ga1b037f544326fd86f1e17851375b5b73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac0d47f480ad3f7acd8feef32690d6eb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memdefaultheap.html#gac0d47f480ad3f7acd8feef32690d6eb2">MEMFreeToDefaultHeap</a></td></tr>
|
|
<tr class="separator:gac0d47f480ad3f7acd8feef32690d6eb2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="ga51f820cfdf28a32d07c4f36dd1da2386"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga51f820cfdf28a32d07c4f36dd1da2386">◆ </a></span>MEMAllocFromDefaultHeapFn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void*(* MEMAllocFromDefaultHeapFn) (uint32_t size)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="memdefaultheap_8h_source.html#l00015">15</a> of file <a class="el" href="memdefaultheap_8h_source.html">memdefaultheap.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gad7b733a1d4f69d964027398fcde36411"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad7b733a1d4f69d964027398fcde36411">◆ </a></span>MEMAllocFromDefaultHeapExFn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void*(* MEMAllocFromDefaultHeapExFn) (uint32_t size, int32_t alignment)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="memdefaultheap_8h_source.html#l00016">16</a> of file <a class="el" href="memdefaultheap_8h_source.html">memdefaultheap.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga926e92d8ae2bef5c58a22930475b9d1f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga926e92d8ae2bef5c58a22930475b9d1f">◆ </a></span>MEMFreeToDefaultHeapFn</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef void(* MEMFreeToDefaultHeapFn) (void *ptr)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="memdefaultheap_8h_source.html#l00017">17</a> of file <a class="el" href="memdefaultheap_8h_source.html">memdefaultheap.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="gaea23faf0846f25f5d2d4d9b35a6bd24d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gaea23faf0846f25f5d2d4d9b35a6bd24d">◆ </a></span>CoreInitDefaultHeap()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void CoreInitDefaultHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outMem1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outFG</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outMem2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Default implementation of __preinit_user. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac5a96f328d528e378c78fb2925f90ff3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac5a96f328d528e378c78fb2925f90ff3">◆ </a></span>__preinit_user()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void __preinit_user </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outMem1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outFG</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> * </td>
|
|
<td class="paramname"><em>outMem2</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Allows the user to completely customise the default heaps, this runs after the rpx code section has loaded but before the data section as the data sections are allocated from the default heap. </p>
|
|
<p>This is for a user to export from their .rpx file, it is not exported from coreinit.rpl </p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Variable Documentation</h2>
|
|
<a id="gab6168eb317bf2a0a753d5c4c65c87ad9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gab6168eb317bf2a0a753d5c4c65c87ad9">◆ </a></span>MEMAllocFromDefaultHeap</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__memdefaultheap.html#ga51f820cfdf28a32d07c4f36dd1da2386">MEMAllocFromDefaultHeapFn</a> MEMAllocFromDefaultHeap</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga1b037f544326fd86f1e17851375b5b73"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga1b037f544326fd86f1e17851375b5b73">◆ </a></span>MEMAllocFromDefaultHeapEx</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__memdefaultheap.html#gad7b733a1d4f69d964027398fcde36411">MEMAllocFromDefaultHeapExFn</a> MEMAllocFromDefaultHeapEx</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac0d47f480ad3f7acd8feef32690d6eb2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac0d47f480ad3f7acd8feef32690d6eb2">◆ </a></span>MEMFreeToDefaultHeap</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__memdefaultheap.html#ga926e92d8ae2bef5c58a22930475b9d1f">MEMFreeToDefaultHeapFn</a> MEMFreeToDefaultHeap</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
</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.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|