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

235 lines
11 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: Memory Operations</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>
</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="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Memory Operations<div class="ingroups"><a class="el" href="group__dmae.html">dmae</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga2721f70bb3af70655992bdf5cdf8421e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a> { <br />
&#160;&#160;<a class="el" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6">DMAE_SWAP_NONE</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0">DMAE_SWAP_16</a> = 1,
<br />
&#160;&#160;<a class="el" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006">DMAE_SWAP_32</a> = 2,
<br />
&#160;&#160;<a class="el" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655">DMAE_SWAP_64</a> = 3
<br />
}</td></tr>
<tr class="memdesc:ga2721f70bb3af70655992bdf5cdf8421e"><td class="mdescLeft">&#160;</td><td class="mdescRight">DMAE Memory endian swappng mode. <a href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">More...</a><br /></td></tr>
<tr class="separator:ga2721f70bb3af70655992bdf5cdf8421e"><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:ga87ca411f318c410f755c017b89c2a7cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dmae__mem.html#ga87ca411f318c410f755c017b89c2a7cc">DMAECopyMem</a> (void *dst, const void *src, uint32_t wordCount, <a class="el" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a> swap)</td></tr>
<tr class="memdesc:ga87ca411f318c410f755c017b89c2a7cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a DMAE copy operation. <a href="group__dmae__mem.html#ga87ca411f318c410f755c017b89c2a7cc">More...</a><br /></td></tr>
<tr class="separator:ga87ca411f318c410f755c017b89c2a7cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b233c1bb03b18749c62eaf0715dd4ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__dmae__mem.html#ga8b233c1bb03b18749c62eaf0715dd4ad">DMAEFillMem</a> (void *dst, uint32_t val, uint32_t wordCount)</td></tr>
<tr class="memdesc:ga8b233c1bb03b18749c62eaf0715dd4ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a DMAE fill operation. <a href="group__dmae__mem.html#ga8b233c1bb03b18749c62eaf0715dd4ad">More...</a><br /></td></tr>
<tr class="separator:ga8b233c1bb03b18749c62eaf0715dd4ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga2721f70bb3af70655992bdf5cdf8421e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2721f70bb3af70655992bdf5cdf8421e">&#9670;&nbsp;</a></span>DMAESwapMode</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>DMAE Memory endian swappng mode. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6"></a>DMAE_SWAP_NONE&#160;</td><td class="fielddoc"><p>No memory swapping. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0"></a>DMAE_SWAP_16&#160;</td><td class="fielddoc"><p>16 bit memory swapping. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006"></a>DMAE_SWAP_32&#160;</td><td class="fielddoc"><p>32 bit memory swapping. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655"></a>DMAE_SWAP_64&#160;</td><td class="fielddoc"><p>64 bit memory swapping. </p>
</td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="dmae_2mem_8h_source.html#l00016">16</a> of file <a class="el" href="dmae_2mem_8h_source.html">mem.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga87ca411f318c410f755c017b89c2a7cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga87ca411f318c410f755c017b89c2a7cc">&#9670;&nbsp;</a></span>DMAECopyMem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a> DMAECopyMem </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>dst</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const void *&#160;</td>
<td class="paramname"><em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>wordCount</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a>&#160;</td>
<td class="paramname"><em>swap</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts a DMAE copy operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dst</td><td>Pointer to the destination buffer.</td></tr>
<tr><td class="paramname">src</td><td>Pointer to the source buffer.</td></tr>
<tr><td class="paramname">wordCount</td><td>Number of 32 bit words to copy.</td></tr>
<tr><td class="paramname">swap</td><td>Memory endian swapping mode.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>DMAE operations queue timestamp. </dd></dl>
</div>
</div>
<a id="ga8b233c1bb03b18749c62eaf0715dd4ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b233c1bb03b18749c62eaf0715dd4ad">&#9670;&nbsp;</a></span>DMAEFillMem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a> DMAEFillMem </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>dst</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>wordCount</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Starts a DMAE fill operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dst</td><td>Pointer to the destination buffer.</td></tr>
<tr><td class="paramname">val</td><td>The value to fill the destination buffer.</td></tr>
<tr><td class="paramname">wordCount</td><td>Number of 32 bit words to fill.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>DMAE operations queue timestamp. </dd></dl>
</div>
</div>
</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>