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

128 lines
9.7 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/memory.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="#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">memory.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 />
</div>
<p><a href="memory_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="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga872e7b1a86d84d2c81bb8a50aff47ab7"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec">OSMemoryType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga872e7b1a86d84d2c81bb8a50aff47ab7">OSMemoryType</a></td></tr>
<tr class="separator:ga872e7b1a86d84d2c81bb8a50aff47ab7"><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:ga5adafa4b1651c95c686848b6873866ec"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec">OSMemoryType</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__memory.html#gga5adafa4b1651c95c686848b6873866eca46057099b28a70b64cfcaa5949d7a79d">OS_MEM1</a> = 1,
<br />
&#160;&#160;<a class="el" href="group__coreinit__memory.html#gga5adafa4b1651c95c686848b6873866eca5d4494dd03c6253b9688b016d91b0bac">OS_MEM2</a> = 2
<br />
}</td></tr>
<tr class="separator:ga5adafa4b1651c95c686848b6873866ec"><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:ga5e52e7faf134760ba17a37dcff0a6788"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga5e52e7faf134760ba17a37dcff0a6788">OSBlockMove</a> (void *dst, const void *src, uint32_t size, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> flush)</td></tr>
<tr class="memdesc:ga5e52e7faf134760ba17a37dcff0a6788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves chunks of memory around, similarly to memmove. <a href="group__coreinit__memory.html#ga5e52e7faf134760ba17a37dcff0a6788">More...</a><br /></td></tr>
<tr class="separator:ga5e52e7faf134760ba17a37dcff0a6788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ca4424434d82a1c79fd4fcd5493c1fa"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga2ca4424434d82a1c79fd4fcd5493c1fa">OSBlockSet</a> (void *dst, uint8_t val, uint32_t size)</td></tr>
<tr class="memdesc:ga2ca4424434d82a1c79fd4fcd5493c1fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a chunk of memory with the given value, like memset. <a href="group__coreinit__memory.html#ga2ca4424434d82a1c79fd4fcd5493c1fa">More...</a><br /></td></tr>
<tr class="separator:ga2ca4424434d82a1c79fd4fcd5493c1fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabafbbb8aa2105c955064038989db76ab"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#gabafbbb8aa2105c955064038989db76ab">OSAllocFromSystem</a> (uint32_t size, int align)</td></tr>
<tr class="separator:gabafbbb8aa2105c955064038989db76ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1528594494814190475a913109146db8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga1528594494814190475a913109146db8">OSFreeToSystem</a> (void *ptr)</td></tr>
<tr class="separator:ga1528594494814190475a913109146db8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf36057de0bc1f98db6a96217cc08b64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#gacf36057de0bc1f98db6a96217cc08b64">OSGetForegroundBucket</a> (uint32_t *outAddr, uint32_t *outSize)</td></tr>
<tr class="memdesc:gacf36057de0bc1f98db6a96217cc08b64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the location and size of the foreground bucket memory area. <a href="group__coreinit__memory.html#gacf36057de0bc1f98db6a96217cc08b64">More...</a><br /></td></tr>
<tr class="separator:gacf36057de0bc1f98db6a96217cc08b64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga381f32576f1c11cc6398be6b350a8619"><td class="memItemLeft" align="right" valign="top"><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga381f32576f1c11cc6398be6b350a8619">OSGetForegroundBucketFreeArea</a> (uint32_t *outAddr, uint32_t *outSize)</td></tr>
<tr class="memdesc:ga381f32576f1c11cc6398be6b350a8619"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the location and size of the application-usable portion of the foreground bucket area. <a href="group__coreinit__memory.html#ga381f32576f1c11cc6398be6b350a8619">More...</a><br /></td></tr>
<tr class="separator:ga381f32576f1c11cc6398be6b350a8619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ca445b0dbea2a2063b1a84bb5b0ad40"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memory.html#ga4ca445b0dbea2a2063b1a84bb5b0ad40">OSGetMemBound</a> (<a class="el" href="group__coreinit__memory.html#ga5adafa4b1651c95c686848b6873866ec">OSMemoryType</a> type, uint32_t *outAddr, uint32_t *outSize)</td></tr>
<tr class="memdesc:ga4ca445b0dbea2a2063b1a84bb5b0ad40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the location and size of available memory areas. <a href="group__coreinit__memory.html#ga4ca445b0dbea2a2063b1a84bb5b0ad40">More...</a><br /></td></tr>
<tr class="separator:ga4ca445b0dbea2a2063b1a84bb5b0ad40"><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>