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

127 lines
9.5 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/codegen.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">codegen.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="codegen_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:ga44ea1e92974661e06fccbf783a2b5453"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__codegen.html#ga71a49a79e47963f81655cc0381c9658f">OSCodegenSecMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#ga44ea1e92974661e06fccbf783a2b5453">OSCodegenSecMode</a></td></tr>
<tr class="memdesc:ga44ea1e92974661e06fccbf783a2b5453"><td class="mdescLeft">&#160;</td><td class="mdescRight">The memory permissions for the codegen area. <a href="group__coreinit__codegen.html#ga44ea1e92974661e06fccbf783a2b5453">More...</a><br /></td></tr>
<tr class="separator:ga44ea1e92974661e06fccbf783a2b5453"><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:ga71a49a79e47963f81655cc0381c9658f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#ga71a49a79e47963f81655cc0381c9658f">OSCodegenSecMode</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__codegen.html#gga71a49a79e47963f81655cc0381c9658fa283eddc240c8b49af5568b91c5f35c73">CODEGEN_RW_</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__codegen.html#gga71a49a79e47963f81655cc0381c9658facafba395111808a76182dd9c74d5545e">CODEGEN_R_X</a> = 1
<br />
}</td></tr>
<tr class="memdesc:ga71a49a79e47963f81655cc0381c9658f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The memory permissions for the codegen area. <a href="group__coreinit__codegen.html#ga71a49a79e47963f81655cc0381c9658f">More...</a><br /></td></tr>
<tr class="separator:ga71a49a79e47963f81655cc0381c9658f"><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:gaafd7747ab31cb4671397c486c9d78043"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#gaafd7747ab31cb4671397c486c9d78043">OSCodegenGetVirtAddrRange</a> (uint32_t *outVirtualAddress, uint32_t *outSize)</td></tr>
<tr class="memdesc:gaafd7747ab31cb4671397c486c9d78043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the location and size of codegen memory, if available. <a href="group__coreinit__codegen.html#gaafd7747ab31cb4671397c486c9d78043">More...</a><br /></td></tr>
<tr class="separator:gaafd7747ab31cb4671397c486c9d78043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad621a18bf8f5173658f8cc8717d2495a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#gad621a18bf8f5173658f8cc8717d2495a">OSGetCodegenCore</a> ()</td></tr>
<tr class="memdesc:gad621a18bf8f5173658f8cc8717d2495a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the CPU core that's allowed to use codegen. <a href="group__coreinit__codegen.html#gad621a18bf8f5173658f8cc8717d2495a">More...</a><br /></td></tr>
<tr class="separator:gad621a18bf8f5173658f8cc8717d2495a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf23cfcb6c33a574b7c88946e1fd3d942"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#gaf23cfcb6c33a574b7c88946e1fd3d942">OSGetCodegenMode</a> ()</td></tr>
<tr class="separator:gaf23cfcb6c33a574b7c88946e1fd3d942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d4d83b25c330418afe3293147b5ff58"><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__codegen.html#ga3d4d83b25c330418afe3293147b5ff58">OSSwitchSecCodeGenMode</a> (<a class="el" href="group__coreinit__codegen.html#ga71a49a79e47963f81655cc0381c9658f">OSCodegenSecMode</a> mode)</td></tr>
<tr class="memdesc:ga3d4d83b25c330418afe3293147b5ff58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Switches the permissions on the codegen memory area. <a href="group__coreinit__codegen.html#ga3d4d83b25c330418afe3293147b5ff58">More...</a><br /></td></tr>
<tr class="separator:ga3d4d83b25c330418afe3293147b5ff58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a951fec2cd23ca91ca56fc646f34b6b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__codegen.html#ga3a951fec2cd23ca91ca56fc646f34b6b">OSGetSecCodeGenMode</a> ()</td></tr>
<tr class="separator:ga3a951fec2cd23ca91ca56fc646f34b6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga348ef2b95998b4ad0b171db8f13884e5"><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__codegen.html#ga348ef2b95998b4ad0b171db8f13884e5">OSCodegenCopy</a> (void *dst, void *src, size_t size)</td></tr>
<tr class="memdesc:ga348ef2b95998b4ad0b171db8f13884e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies data from normal memory into the codegen area, leaving the area in <a class="el" href="group__coreinit__codegen.html#gga71a49a79e47963f81655cc0381c9658facafba395111808a76182dd9c74d5545e">CODEGEN_R_X</a> mode. <a href="group__coreinit__codegen.html#ga348ef2b95998b4ad0b171db8f13884e5">More...</a><br /></td></tr>
<tr class="separator:ga348ef2b95998b4ad0b171db8f13884e5"><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>