wut/group__coreinit__coroutine.html
2016-07-06 20:24:27 +01:00

236 lines
10 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.10"/>
<title>WUT: Coroutines</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">0.1</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</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="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Coroutines<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga387b1e70ff9b2d2b0c0b1475d5ada848"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__coroutine.html#ga387b1e70ff9b2d2b0c0b1475d5ada848">OSCoroutine</a></td></tr>
<tr class="separator:ga387b1e70ff9b2d2b0c0b1475d5ada848"><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:gadde6ad1f52999e45276fc9bf8594a7e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__coroutine.html#gadde6ad1f52999e45276fc9bf8594a7e4">OSInitCoroutine</a> (<a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *coroutine, void *entry, void *stack)</td></tr>
<tr class="separator:gadde6ad1f52999e45276fc9bf8594a7e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5dd2485f556a423e612e2dbae6ac5d8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__coroutine.html#gaa5dd2485f556a423e612e2dbae6ac5d8">OSLoadCoroutine</a> (<a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *coroutine, uint32_t result)</td></tr>
<tr class="separator:gaa5dd2485f556a423e612e2dbae6ac5d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26b706e2053074b1229d57e4da92a634"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__coroutine.html#ga26b706e2053074b1229d57e4da92a634">OSSaveCoroutine</a> (<a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *coroutine)</td></tr>
<tr class="separator:ga26b706e2053074b1229d57e4da92a634"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed21e6e0ceaca2804cd90a868bf5d014"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__coroutine.html#gaed21e6e0ceaca2804cd90a868bf5d014">OSSwitchCoroutine</a> (<a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *from, <a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *to)</td></tr>
<tr class="separator:gaed21e6e0ceaca2804cd90a868bf5d014"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga387b1e70ff9b2d2b0c0b1475d5ada848"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> <a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="coroutine_8h_source.html#l00014">14</a> of file <a class="el" href="coroutine_8h_source.html">coroutine.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gadde6ad1f52999e45276fc9bf8594a7e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSInitCoroutine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *&#160;</td>
<td class="paramname"><em>coroutine</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>entry</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>stack</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaa5dd2485f556a423e612e2dbae6ac5d8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t OSLoadCoroutine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *&#160;</td>
<td class="paramname"><em>coroutine</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>result</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ga26b706e2053074b1229d57e4da92a634"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t OSSaveCoroutine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *&#160;</td>
<td class="paramname"><em>coroutine</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="gaed21e6e0ceaca2804cd90a868bf5d014"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSSwitchCoroutine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *&#160;</td>
<td class="paramname"><em>from</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_o_s_coroutine.html">OSCoroutine</a> *&#160;</td>
<td class="paramname"><em>to</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</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.10
</small></address>
</body>
</html>