wut/cache_8h_source.html
2018-07-26 20:52:03 +10:00

92 lines
12 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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: include/coreinit/cache.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
&#160;<span id="projectnumber">1.0.0-alpha</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<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="headertitle">
<div class="title">cache.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="cache_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>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="wut_8h.html">wut.h</a>&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<a class="code" href="group__coreinit__cache.html#ga7c3fc6a7f6dc2765f58683e210af4123">DCInvalidateRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; uint32_t size);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<a class="code" href="group__coreinit__cache.html#ga3189eaf014ed0ec62c6ecfc5f25d658a">DCFlushRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; uint32_t size);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<a class="code" href="group__coreinit__cache.html#ga9fea18f15291b8f6a3e0f57b7459d8ca">DCStoreRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; uint32_t size);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<a class="code" href="group__coreinit__cache.html#gac08282add83d813b7a5a857da9e62e48">DCFlushRangeNoSync</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; uint32_t size);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<a class="code" href="group__coreinit__cache.html#gafc3075da855050f179b741e2888adb1e">DCStoreRangeNoSync</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; uint32_t size);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<a class="code" href="group__coreinit__cache.html#gaebca39f1de5bbd3b3d46d87894e56b9d">DCZeroRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; uint32_t size);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;<a class="code" href="group__coreinit__cache.html#ga5dba3ef0e22806579a099412bced0561">DCTouchRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; uint32_t size);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<a class="code" href="group__coreinit__cache.html#ga4ec28f7c716274c7197a560d09312a08">ICInvalidateRange</a>(<span class="keywordtype">void</span> *addr,</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; uint32_t size);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;}</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div><div class="ttc" id="group__coreinit__cache_html_ga7c3fc6a7f6dc2765f58683e210af4123"><div class="ttname"><a href="group__coreinit__cache.html#ga7c3fc6a7f6dc2765f58683e210af4123">DCInvalidateRange</a></div><div class="ttdeci">void DCInvalidateRange(void *addr, uint32_t size)</div><div class="ttdoc">Invalidates a range of cached data, in blocks. </div></div>
<div class="ttc" id="group__coreinit__cache_html_gafc3075da855050f179b741e2888adb1e"><div class="ttname"><a href="group__coreinit__cache.html#gafc3075da855050f179b741e2888adb1e">DCStoreRangeNoSync</a></div><div class="ttdeci">void DCStoreRangeNoSync(void *addr, uint32_t size)</div><div class="ttdoc">Similar to DCStoreRange, though this function will not run PowerPC sync and eieio instructions after ...</div></div>
<div class="ttc" id="group__coreinit__cache_html_ga4ec28f7c716274c7197a560d09312a08"><div class="ttname"><a href="group__coreinit__cache.html#ga4ec28f7c716274c7197a560d09312a08">ICInvalidateRange</a></div><div class="ttdeci">void ICInvalidateRange(void *addr, uint32_t size)</div><div class="ttdoc">Invalidates a range of cached instructions, in blocks. </div></div>
<div class="ttc" id="group__coreinit__cache_html_gac08282add83d813b7a5a857da9e62e48"><div class="ttname"><a href="group__coreinit__cache.html#gac08282add83d813b7a5a857da9e62e48">DCFlushRangeNoSync</a></div><div class="ttdeci">void DCFlushRangeNoSync(void *addr, uint32_t size)</div><div class="ttdoc">Similar to DCFlushRange, though this function will not run PowerPC sync and eieio instructions after ...</div></div>
<div class="ttc" id="group__coreinit__cache_html_ga9fea18f15291b8f6a3e0f57b7459d8ca"><div class="ttname"><a href="group__coreinit__cache.html#ga9fea18f15291b8f6a3e0f57b7459d8ca">DCStoreRange</a></div><div class="ttdeci">void DCStoreRange(void *addr, uint32_t size)</div><div class="ttdoc">Stores a range of cached data, in blocks. </div></div>
<div class="ttc" id="wut_8h_html"><div class="ttname"><a href="wut_8h.html">wut.h</a></div></div>
<div class="ttc" id="group__coreinit__cache_html_ga5dba3ef0e22806579a099412bced0561"><div class="ttname"><a href="group__coreinit__cache.html#ga5dba3ef0e22806579a099412bced0561">DCTouchRange</a></div><div class="ttdeci">void DCTouchRange(void *addr, uint32_t size)</div><div class="ttdoc">Gives the processor a hint that the given range of memory is likely to be accessed soon...</div></div>
<div class="ttc" id="group__coreinit__cache_html_ga3189eaf014ed0ec62c6ecfc5f25d658a"><div class="ttname"><a href="group__coreinit__cache.html#ga3189eaf014ed0ec62c6ecfc5f25d658a">DCFlushRange</a></div><div class="ttdeci">void DCFlushRange(void *addr, uint32_t size)</div><div class="ttdoc">Flushes a range of cached data, in blocks. </div></div>
<div class="ttc" id="group__coreinit__cache_html_gaebca39f1de5bbd3b3d46d87894e56b9d"><div class="ttname"><a href="group__coreinit__cache.html#gaebca39f1de5bbd3b3d46d87894e56b9d">DCZeroRange</a></div><div class="ttdeci">void DCZeroRange(void *addr, uint32_t size)</div><div class="ttdoc">Zeroes the given area of the data cache (to the nearest block) with a loop of PowerPC dcbz instructio...</div></div>
</div><!-- fragment --></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.14
</small></address>
</body>
</html>