mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 17:09:24 +01:00
308 lines
14 KiB
HTML
308 lines
14 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: Unit 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>
|
|
<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><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><!-- 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="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Unit 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="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:ga28feade8162e7408de7ca9631ebbb3f4"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#ga28feade8162e7408de7ca9631ebbb3f4">MEMUnitHeap</a></td></tr>
|
|
<tr class="separator:ga28feade8162e7408de7ca9631ebbb3f4"><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:ga1473455394fafe1db2ad6eceb3ef0190"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#ga1473455394fafe1db2ad6eceb3ef0190">MEMCreateUnitHeapEx</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap, uint32_t size, uint32_t blockSize, int32_t alignment, uint16_t flags)</td></tr>
|
|
<tr class="separator:ga1473455394fafe1db2ad6eceb3ef0190"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaab3f24ef36191a8e37bdd0f25334fa22"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#gaab3f24ef36191a8e37bdd0f25334fa22">MEMDestroyUnitHeap</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap)</td></tr>
|
|
<tr class="separator:gaab3f24ef36191a8e37bdd0f25334fa22"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae1aa174b51dc044eee162dc5434d85d9"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#gae1aa174b51dc044eee162dc5434d85d9">MEMAllocFromUnitHeap</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap)</td></tr>
|
|
<tr class="separator:gae1aa174b51dc044eee162dc5434d85d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga24dec6b3af5469f55b123b74a8e98187"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#ga24dec6b3af5469f55b123b74a8e98187">MEMFreeToUnitHeap</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap, void *block)</td></tr>
|
|
<tr class="separator:ga24dec6b3af5469f55b123b74a8e98187"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga74d2aacbba4c0a9682b9a1a461885a0d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#ga74d2aacbba4c0a9682b9a1a461885a0d">MEMiDumpUnitHeap</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap)</td></tr>
|
|
<tr class="separator:ga74d2aacbba4c0a9682b9a1a461885a0d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa36fd6a9f4d06016c5305cfb9abb7968"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#gaa36fd6a9f4d06016c5305cfb9abb7968">MEMCountFreeBlockForUnitHeap</a> (<a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> *heap)</td></tr>
|
|
<tr class="separator:gaa36fd6a9f4d06016c5305cfb9abb7968"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab878919563f5beb15d2bfdf681d53a4f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__unitheap.html#gab878919563f5beb15d2bfdf681d53a4f">MEMCalcHeapSizeForUnitHeap</a> (uint32_t blockSize, uint32_t count, int32_t alignment)</td></tr>
|
|
<tr class="separator:gab878919563f5beb15d2bfdf681d53a4f"><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 class="anchor" id="ga28feade8162e7408de7ca9631ebbb3f4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> <a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="unitheap_8h_source.html#l00014">14</a> of file <a class="el" href="unitheap_8h_source.html">unitheap.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gae1aa174b51dc044eee162dc5434d85d9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void* MEMAllocFromUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab878919563f5beb15d2bfdf681d53a4f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t MEMCalcHeapSizeForUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>blockSize</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>count</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>alignment</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa36fd6a9f4d06016c5305cfb9abb7968"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t MEMCountFreeBlockForUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1473455394fafe1db2ad6eceb3ef0190"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a>* MEMCreateUnitHeapEx </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>blockSize</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int32_t </td>
|
|
<td class="paramname"><em>alignment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>flags</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaab3f24ef36191a8e37bdd0f25334fa22"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void* MEMDestroyUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga24dec6b3af5469f55b123b74a8e98187"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void MEMFreeToUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>block</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga74d2aacbba4c0a9682b9a1a461885a0d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void MEMiDumpUnitHeap </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="struct_m_e_m_unit_heap.html">MEMUnitHeap</a> * </td>
|
|
<td class="paramname"><em>heap</em></td><td>)</td>
|
|
<td></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.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|