mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 13:50:42 +01:00
351 lines
18 KiB
HTML
351 lines
18 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.15"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: Context</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-beta8</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.15 -->
|
|
<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>
|
|
</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="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Context<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="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:ga919f76d6fbdcfed27d8a820cf48cd274"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga919f76d6fbdcfed27d8a820cf48cd274">OS_CONTEXT_TAG</a>   0x4F53436F6E747874ull</td></tr>
|
|
<tr class="separator:ga919f76d6fbdcfed27d8a820cf48cd274"><td class="memSeparator" colspan="2"> </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:ga924296baf430a531adb5135a5cd54207"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a></td></tr>
|
|
<tr class="separator:ga924296baf430a531adb5135a5cd54207"><td class="memSeparator" colspan="2"> </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:gad130c049fa7f1cc7287aac53b9365e59"><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#gad130c049fa7f1cc7287aac53b9365e59">WUT_ALIGNAS</a> (8) <a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a></td></tr>
|
|
<tr class="separator:gad130c049fa7f1cc7287aac53b9365e59"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadfb33ccd64260099bee7b040f61982e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#gadfb33ccd64260099bee7b040f61982e5">OSInitContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context, void *entry, void *stack)</td></tr>
|
|
<tr class="separator:gadfb33ccd64260099bee7b040f61982e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac764b658d5f57fadc4de4c0ba8c34e19"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#gac764b658d5f57fadc4de4c0ba8c34e19">OSDumpContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:gac764b658d5f57fadc4de4c0ba8c34e19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8072567238c7a10b509e478983776129"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga8072567238c7a10b509e478983776129">OSLoadContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:ga8072567238c7a10b509e478983776129"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac0687440c00919a235329afec6485a14"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#gac0687440c00919a235329afec6485a14">OSSaveContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:gac0687440c00919a235329afec6485a14"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae4b93f5f4d772680b906ffbc1b736c0f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#gae4b93f5f4d772680b906ffbc1b736c0f">OSLoadFPUContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:gae4b93f5f4d772680b906ffbc1b736c0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8cba61562a3df6b7803406633633eb4a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga8cba61562a3df6b7803406633633eb4a">OSSaveFPUContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:ga8cba61562a3df6b7803406633633eb4a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3cd800d9bdaad5aa3e8e1503f34d2551"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga3cd800d9bdaad5aa3e8e1503f34d2551">OSGetCurrentContext</a> ()</td></tr>
|
|
<tr class="separator:ga3cd800d9bdaad5aa3e8e1503f34d2551"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga0cf3992c00d9be25adccc83f470937f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga0cf3992c00d9be25adccc83f470937f7">OSSetCurrentContext</a> (<a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:ga0cf3992c00d9be25adccc83f470937f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7fa75c50f5b6a1ccb2e6a7af5b3cea5c"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__context.html#ga7fa75c50f5b6a1ccb2e6a7af5b3cea5c">OSSwitchStack</a> (void *stack)</td></tr>
|
|
<tr class="separator:ga7fa75c50f5b6a1ccb2e6a7af5b3cea5c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="ga919f76d6fbdcfed27d8a820cf48cd274"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga919f76d6fbdcfed27d8a820cf48cd274">◆ </a></span>OS_CONTEXT_TAG</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define OS_CONTEXT_TAG   0x4F53436F6E747874ull</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="coreinit_2context_8h_source.html#l00017">17</a> of file <a class="el" href="coreinit_2context_8h_source.html">context.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="ga924296baf430a531adb5135a5cd54207"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga924296baf430a531adb5135a5cd54207">◆ </a></span>OSContext</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef struct <a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> <a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="coreinit_2context_8h_source.html#l00015">15</a> of file <a class="el" href="coreinit_2context_8h_source.html">context.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="gad130c049fa7f1cc7287aac53b9365e59"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gad130c049fa7f1cc7287aac53b9365e59">◆ </a></span>WUT_ALIGNAS()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct WUT_ALIGNAS </td>
|
|
<td>(</td>
|
|
<td class="paramtype">8 </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Should always be set to the value OS_CONTEXT_TAG. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="coreinit_2context_8h_source.html#l00019">19</a> of file <a class="el" href="coreinit_2context_8h_source.html">context.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gadfb33ccd64260099bee7b040f61982e5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gadfb33ccd64260099bee7b040f61982e5">◆ </a></span>OSInitContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSInitContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>entry</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>stack</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac764b658d5f57fadc4de4c0ba8c34e19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac764b658d5f57fadc4de4c0ba8c34e19">◆ </a></span>OSDumpContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSDumpContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga8072567238c7a10b509e478983776129"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga8072567238c7a10b509e478983776129">◆ </a></span>OSLoadContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSLoadContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gac0687440c00919a235329afec6485a14"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gac0687440c00919a235329afec6485a14">◆ </a></span>OSSaveContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t OSSaveContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="gae4b93f5f4d772680b906ffbc1b736c0f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#gae4b93f5f4d772680b906ffbc1b736c0f">◆ </a></span>OSLoadFPUContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSLoadFPUContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga8cba61562a3df6b7803406633633eb4a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga8cba61562a3df6b7803406633633eb4a">◆ </a></span>OSSaveFPUContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSSaveFPUContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga3cd800d9bdaad5aa3e8e1503f34d2551"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga3cd800d9bdaad5aa3e8e1503f34d2551">◆ </a></span>OSGetCurrentContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a>* OSGetCurrentContext </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga0cf3992c00d9be25adccc83f470937f7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga0cf3992c00d9be25adccc83f470937f7">◆ </a></span>OSSetCurrentContext()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void OSSetCurrentContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__context.html#ga924296baf430a531adb5135a5cd54207">OSContext</a> * </td>
|
|
<td class="paramname"><em>context</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ga7fa75c50f5b6a1ccb2e6a7af5b3cea5c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ga7fa75c50f5b6a1ccb2e6a7af5b3cea5c">◆ </a></span>OSSwitchStack()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void* OSSwitchStack </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"><em>stack</em></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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.15
|
|
</small></address>
|
|
</body>
|
|
</html>
|