mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 17:59:25 +01:00
273 lines
16 KiB
HTML
273 lines
16 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: Exception Handling</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
|
|
 <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 Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data 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="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Exception Handling<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="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:ga1f8f397deda0a74849123a47a896681e"><td class="memItemLeft" align="right" valign="top">typedef uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__exception.html#ga1f8f397deda0a74849123a47a896681e">OSExceptionType</a></td></tr>
|
|
<tr class="separator:ga1f8f397deda0a74849123a47a896681e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf44fe86e7b12f2840eeae1571f4beb16"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a>) (<a class="el" href="struct_o_s_context.html">OSContext</a> *context)</td></tr>
|
|
<tr class="separator:gaf44fe86e7b12f2840eeae1571f4beb16"><td class="memSeparator" colspan="2"> </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:ga65a0cfbe0419c15167c339ec771a26af"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a> { <br />
|
|
  <a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa48b83ff21b47e5cf0670c1d8f36dfdbf">OS_EXCEPTION_TYPE_SYSTEM_RESET</a> = 0,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa4ab86cc5b0772e5d886018b75a071e4d">OS_EXCEPTION_TYPE_MACHINE_CHECK</a> = 1,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afaa9dde46c5a0e3bb3517ce9cc472ce397">OS_EXCEPTION_TYPE_DSI</a> = 2,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa37839a813ed081a2fba85d1cab07036b">OS_EXCEPTION_TYPE_ISI</a> = 3,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afade536798de663e62d5acd8a20e223de1">OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT</a> = 4,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa596e6b7b366b6038a059c3d8ea181c2f">OS_EXCEPTION_TYPE_ALIGNMENT</a> = 5,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afae061f34862c2fd9d40601f9fde0daa17">OS_EXCEPTION_TYPE_PROGRAM</a> = 6,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa864f441e96706875a667ce9de5c8f2fd">OS_EXCEPTION_TYPE_FLOATING_POINT</a> = 7,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa7bc0880d91a1c80c6865d9449e519c2e">OS_EXCEPTION_TYPE_DECREMENTER</a> = 8,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afab13d9e1b2e413a7a0f8112fb5dd09eef">OS_EXCEPTION_TYPE_SYSTEM_CALL</a> = 9,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa645498d0d998f1837a0fad036cc2ef51">OS_EXCEPTION_TYPE_TRACE</a> = 10,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa7bff8e45e6d457c896b6c86abb4fd356">OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR</a> = 11,
|
|
<br />
|
|
  <a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa39f65926de0580187726b2b611844908">OS_EXCEPTION_TYPE_BREAKPOINT</a> = 12,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa298eccfe2a4589121ce99326d1d50988">OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT</a> = 13,
|
|
<a class="el" href="group__coreinit__exception.html#gga65a0cfbe0419c15167c339ec771a26afa224217e216057fb5ed8fcd3bffd92517">OS_EXCEPTION_TYPE_ICI</a> = 14
|
|
<br />
|
|
}<tr class="separator:ga65a0cfbe0419c15167c339ec771a26af"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</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:ga456ef855d4aa07cfa8d89d2d9830037e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__exception.html#ga456ef855d4aa07cfa8d89d2d9830037e">OSSetExceptionCallback</a> (<a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a> exceptionType, <a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> callback)</td></tr>
|
|
<tr class="separator:ga456ef855d4aa07cfa8d89d2d9830037e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga44b6f722149102c9c499b7a8baf6d5ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__exception.html#ga44b6f722149102c9c499b7a8baf6d5ff">OSSetExceptionCallbackEx</a> (UNKNOWN_ARG, <a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a> exceptionType, <a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> callback)</td></tr>
|
|
<tr class="separator:ga44b6f722149102c9c499b7a8baf6d5ff"><td class="memSeparator" colspan="2"> </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="gaf44fe86e7b12f2840eeae1571f4beb16"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef <a class="el" href="wut__types_8h.html#a050c65e107f0c828f856a231f4b4e788">BOOL</a>(* OSExceptionCallbackFn) (<a class="el" href="struct_o_s_context.html">OSContext</a> *context)</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="exception_8h_source.html#l00015">15</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1f8f397deda0a74849123a47a896681e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef uint32_t <a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="exception_8h_source.html#l00014">14</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a class="anchor" id="ga65a0cfbe0419c15167c339ec771a26af"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa48b83ff21b47e5cf0670c1d8f36dfdbf"></a>OS_EXCEPTION_TYPE_SYSTEM_RESET </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa4ab86cc5b0772e5d886018b75a071e4d"></a>OS_EXCEPTION_TYPE_MACHINE_CHECK </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afaa9dde46c5a0e3bb3517ce9cc472ce397"></a>OS_EXCEPTION_TYPE_DSI </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa37839a813ed081a2fba85d1cab07036b"></a>OS_EXCEPTION_TYPE_ISI </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afade536798de663e62d5acd8a20e223de1"></a>OS_EXCEPTION_TYPE_EXTERNAL_INTERRUPT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa596e6b7b366b6038a059c3d8ea181c2f"></a>OS_EXCEPTION_TYPE_ALIGNMENT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afae061f34862c2fd9d40601f9fde0daa17"></a>OS_EXCEPTION_TYPE_PROGRAM </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa864f441e96706875a667ce9de5c8f2fd"></a>OS_EXCEPTION_TYPE_FLOATING_POINT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa7bc0880d91a1c80c6865d9449e519c2e"></a>OS_EXCEPTION_TYPE_DECREMENTER </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afab13d9e1b2e413a7a0f8112fb5dd09eef"></a>OS_EXCEPTION_TYPE_SYSTEM_CALL </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa645498d0d998f1837a0fad036cc2ef51"></a>OS_EXCEPTION_TYPE_TRACE </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa7bff8e45e6d457c896b6c86abb4fd356"></a>OS_EXCEPTION_TYPE_PERFORMANCE_MONITOR </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa39f65926de0580187726b2b611844908"></a>OS_EXCEPTION_TYPE_BREAKPOINT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa298eccfe2a4589121ce99326d1d50988"></a>OS_EXCEPTION_TYPE_SYSTEM_INTERRUPT </td><td class="fielddoc">
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="gga65a0cfbe0419c15167c339ec771a26afa224217e216057fb5ed8fcd3bffd92517"></a>OS_EXCEPTION_TYPE_ICI </td><td class="fielddoc">
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p>Definition at line <a class="el" href="exception_8h_source.html#l00017">17</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="ga456ef855d4aa07cfa8d89d2d9830037e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> OSSetExceptionCallback </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a> </td>
|
|
<td class="paramname"><em>exceptionType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> </td>
|
|
<td class="paramname"><em>callback</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga44b6f722149102c9c499b7a8baf6d5ff"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> OSSetExceptionCallbackEx </td>
|
|
<td>(</td>
|
|
<td class="paramtype">UNKNOWN_ARG </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__exception.html#ga65a0cfbe0419c15167c339ec771a26af">OSExceptionType</a> </td>
|
|
<td class="paramname"><em>exceptionType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="group__coreinit__exception.html#gaf44fe86e7b12f2840eeae1571f4beb16">OSExceptionCallbackFn</a> </td>
|
|
<td class="paramname"><em>callback</em> </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  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|