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/dmae/mem.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_4801cdbca8dc637bd66b2d9ed8e74a05.html">dmae</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">mem.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="dmae_2mem_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="sync_8h.html">sync.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="l00016"></a><span class="lineno"><a class="line" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e"> 16</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6"> 19</a></span>  <a class="code" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6">DMAE_SWAP_NONE</a> = 0,</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0"> 21</a></span>  <a class="code" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0">DMAE_SWAP_16</a> = 1,</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006"> 23</a></span>  <a class="code" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006">DMAE_SWAP_32</a> = 2,</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655"> 25</a></span>  <a class="code" href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655">DMAE_SWAP_64</a> = 3,</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> } <a class="code" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a>;</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <a class="code" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <a class="code" href="group__dmae__mem.html#ga87ca411f318c410f755c017b89c2a7cc">DMAECopyMem</a>(<span class="keywordtype">void</span> *dst,</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> *src,</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  uint32_t wordCount,</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a> swap);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <a class="code" href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <a class="code" href="group__dmae__mem.html#ga8b233c1bb03b18749c62eaf0715dd4ad">DMAEFillMem</a>(<span class="keywordtype">void</span> *dst,</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  uint32_t val,</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  uint32_t wordCount);</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="agroup__dmae__sync_html_ga681c0207cdcbb258a84c551d61bfa98d"><div class="ttname"><a href="group__dmae__sync.html#ga681c0207cdcbb258a84c551d61bfa98d">DMAETimeStamp</a></div><div class="ttdeci">uint64_t DMAETimeStamp</div><div class="ttdoc">Timestamp for a DMAE operation.</div><div class="ttdef"><b>Definition:</b> <a href="sync_8h_source.html#l00015">sync.h:15</a></div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6"><div class="ttname"><a href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea2f1a2b64df2c1b58ff40ae4e7f94f5e6">DMAE_SWAP_NONE</a></div><div class="ttdeci">@ DMAE_SWAP_NONE</div><div class="ttdoc">No memory swapping.</div><div class="ttdef"><b>Definition:</b> <a href="dmae_2mem_8h_source.html#l00019">mem.h:19</a></div></div>
|
|
<div class="ttc" id="async_8h_html"><div class="ttname"><a href="sync_8h.html">sync.h</a></div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0"><div class="ttname"><a href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea29ef15290ab4d124691ecea3d8d749c0">DMAE_SWAP_16</a></div><div class="ttdeci">@ DMAE_SWAP_16</div><div class="ttdoc">16 bit memory swapping.</div><div class="ttdef"><b>Definition:</b> <a href="dmae_2mem_8h_source.html#l00021">mem.h:21</a></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__dmae__mem_html_ga2721f70bb3af70655992bdf5cdf8421e"><div class="ttname"><a href="group__dmae__mem.html#ga2721f70bb3af70655992bdf5cdf8421e">DMAESwapMode</a></div><div class="ttdeci">DMAESwapMode</div><div class="ttdoc">DMAE Memory endian swappng mode.</div><div class="ttdef"><b>Definition:</b> <a href="dmae_2mem_8h_source.html#l00016">mem.h:16</a></div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006"><div class="ttname"><a href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea364c34c52ca6de9280b2e823023c9006">DMAE_SWAP_32</a></div><div class="ttdeci">@ DMAE_SWAP_32</div><div class="ttdoc">32 bit memory swapping.</div><div class="ttdef"><b>Definition:</b> <a href="dmae_2mem_8h_source.html#l00023">mem.h:23</a></div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_ga8b233c1bb03b18749c62eaf0715dd4ad"><div class="ttname"><a href="group__dmae__mem.html#ga8b233c1bb03b18749c62eaf0715dd4ad">DMAEFillMem</a></div><div class="ttdeci">DMAETimeStamp DMAEFillMem(void *dst, uint32_t val, uint32_t wordCount)</div><div class="ttdoc">Starts a DMAE fill operation.</div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655"><div class="ttname"><a href="group__dmae__mem.html#gga2721f70bb3af70655992bdf5cdf8421ea07441e31cc4ec888eb6c2970529af655">DMAE_SWAP_64</a></div><div class="ttdeci">@ DMAE_SWAP_64</div><div class="ttdoc">64 bit memory swapping.</div><div class="ttdef"><b>Definition:</b> <a href="dmae_2mem_8h_source.html#l00025">mem.h:25</a></div></div>
|
|
<div class="ttc" id="agroup__dmae__mem_html_ga87ca411f318c410f755c017b89c2a7cc"><div class="ttname"><a href="group__dmae__mem.html#ga87ca411f318c410f755c017b89c2a7cc">DMAECopyMem</a></div><div class="ttdeci">DMAETimeStamp DMAECopyMem(void *dst, const void *src, uint32_t wordCount, DMAESwapMode swap)</div><div class="ttdoc">Starts a DMAE copy operation.</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>
|