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

444 lines
20 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: Debug</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>
</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> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Debug<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:ga807903cd21d5777e977d7833bbc8cd93"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga807903cd21d5777e977d7833bbc8cd93">DisassemblyPrintFn</a>) (const char *fmt,...)</td></tr>
<tr class="separator:ga807903cd21d5777e977d7833bbc8cd93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga041483338ae9d40c8501c9ad14b330a1"><td class="memItemLeft" align="right" valign="top">typedef uint32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga041483338ae9d40c8501c9ad14b330a1">DisassemblyFindSymbolFn</a>) (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)</td></tr>
<tr class="separator:ga041483338ae9d40c8501c9ad14b330a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25e4fd5d3418b2e5c6c9d8612cfa4368"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga25e4fd5d3418b2e5c6c9d8612cfa4368">DisassemblePPCFlags</a></td></tr>
<tr class="separator:ga25e4fd5d3418b2e5c6c9d8612cfa4368"><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:ga9cb804d7c7ffa9732c4ac5e9a4287470"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a> { <a class="el" href="group__coreinit__debug.html#gga9cb804d7c7ffa9732c4ac5e9a4287470a85967a8c6e6191534f0c8b12800aa389">DISASSEMBLE_PPC_FLAGS_NONE</a> = 0
}</td></tr>
<tr class="separator:ga9cb804d7c7ffa9732c4ac5e9a4287470"><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:ga9ffd8f70cf674fb3e896370fb0aeec1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga9ffd8f70cf674fb3e896370fb0aeec1a">OSConsoleWrite</a> (const char *msg, uint32_t size)</td></tr>
<tr class="separator:ga9ffd8f70cf674fb3e896370fb0aeec1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9783636684aed892ac5e90565570f31c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga9783636684aed892ac5e90565570f31c">OSReport</a> (const char *fmt,...)</td></tr>
<tr class="separator:ga9783636684aed892ac5e90565570f31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga097edcb78d0ffbd6247975b0c9fbd1cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga097edcb78d0ffbd6247975b0c9fbd1cb">OSPanic</a> (const char *file, uint32_t line, const char *fmt,...)</td></tr>
<tr class="separator:ga097edcb78d0ffbd6247975b0c9fbd1cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac41ff294b884ccffb202a5fe5deb6f5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#gac41ff294b884ccffb202a5fe5deb6f5e">OSFatal</a> (const char *msg)</td></tr>
<tr class="separator:gac41ff294b884ccffb202a5fe5deb6f5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5cd23cae7ab41a77133fadc5c85e5f80"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga5cd23cae7ab41a77133fadc5c85e5f80">OSGetSymbolName</a> (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)</td></tr>
<tr class="separator:ga5cd23cae7ab41a77133fadc5c85e5f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a6f7088bc221c6ec0f701326db6f3b4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga3a6f7088bc221c6ec0f701326db6f3b4">OSGetUPID</a> ()</td></tr>
<tr class="separator:ga3a6f7088bc221c6ec0f701326db6f3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9422f80e98c4138949948bae15ba2963"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga9422f80e98c4138949948bae15ba2963">DisassemblePPCOpcode</a> (uint32_t *opcode, char *buffer, uint32_t bufferSize, <a class="el" href="group__coreinit__debug.html#ga041483338ae9d40c8501c9ad14b330a1">DisassemblyFindSymbolFn</a> findSymbolFn, <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a> flags)</td></tr>
<tr class="separator:ga9422f80e98c4138949948bae15ba2963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga879bee27bdd479c338b2b9e555e95b1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__debug.html#ga879bee27bdd479c338b2b9e555e95b1c">DisassemblePPCRange</a> (void *start, void *end, <a class="el" href="group__coreinit__debug.html#ga807903cd21d5777e977d7833bbc8cd93">DisassemblyPrintFn</a> printFn, <a class="el" href="group__coreinit__debug.html#ga041483338ae9d40c8501c9ad14b330a1">DisassemblyFindSymbolFn</a> findSymbolFn, <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a> flags)</td></tr>
<tr class="separator:ga879bee27bdd479c338b2b9e555e95b1c"><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 id="ga807903cd21d5777e977d7833bbc8cd93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga807903cd21d5777e977d7833bbc8cd93">&#9670;&nbsp;</a></span>DisassemblyPrintFn</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void(* DisassemblyPrintFn) (const char *fmt,...)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="coreinit_2debug_8h_source.html#l00014">14</a> of file <a class="el" href="coreinit_2debug_8h_source.html">debug.h</a>.</p>
</div>
</div>
<a id="ga041483338ae9d40c8501c9ad14b330a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga041483338ae9d40c8501c9ad14b330a1">&#9670;&nbsp;</a></span>DisassemblyFindSymbolFn</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef uint32_t(* DisassemblyFindSymbolFn) (uint32_t addr, char *symbolNameBuf, uint32_t symbolNameBufSize)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="coreinit_2debug_8h_source.html#l00015">15</a> of file <a class="el" href="coreinit_2debug_8h_source.html">debug.h</a>.</p>
</div>
</div>
<a id="ga25e4fd5d3418b2e5c6c9d8612cfa4368"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25e4fd5d3418b2e5c6c9d8612cfa4368">&#9670;&nbsp;</a></span>DisassemblePPCFlags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a> <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga9cb804d7c7ffa9732c4ac5e9a4287470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9cb804d7c7ffa9732c4ac5e9a4287470">&#9670;&nbsp;</a></span>DisassemblePPCFlags</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a></td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga9cb804d7c7ffa9732c4ac5e9a4287470a85967a8c6e6191534f0c8b12800aa389"></a>DISASSEMBLE_PPC_FLAGS_NONE&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="coreinit_2debug_8h_source.html#l00017">17</a> of file <a class="el" href="coreinit_2debug_8h_source.html">debug.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga9ffd8f70cf674fb3e896370fb0aeec1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9ffd8f70cf674fb3e896370fb0aeec1a">&#9670;&nbsp;</a></span>OSConsoleWrite()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSConsoleWrite </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga9783636684aed892ac5e90565570f31c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9783636684aed892ac5e90565570f31c">&#9670;&nbsp;</a></span>OSReport()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSReport </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga097edcb78d0ffbd6247975b0c9fbd1cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga097edcb78d0ffbd6247975b0c9fbd1cb">&#9670;&nbsp;</a></span>OSPanic()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSPanic </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>fmt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gac41ff294b884ccffb202a5fe5deb6f5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac41ff294b884ccffb202a5fe5deb6f5e">&#9670;&nbsp;</a></span>OSFatal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSFatal </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga5cd23cae7ab41a77133fadc5c85e5f80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5cd23cae7ab41a77133fadc5c85e5f80">&#9670;&nbsp;</a></span>OSGetSymbolName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t OSGetSymbolName </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>symbolNameBuf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>symbolNameBufSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga3a6f7088bc221c6ec0f701326db6f3b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3a6f7088bc221c6ec0f701326db6f3b4">&#9670;&nbsp;</a></span>OSGetUPID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t OSGetUPID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga9422f80e98c4138949948bae15ba2963"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9422f80e98c4138949948bae15ba2963">&#9670;&nbsp;</a></span>DisassemblePPCOpcode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void DisassemblePPCOpcode </td>
<td>(</td>
<td class="paramtype">uint32_t *&#160;</td>
<td class="paramname"><em>opcode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>buffer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>bufferSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__debug.html#ga041483338ae9d40c8501c9ad14b330a1">DisassemblyFindSymbolFn</a>&#160;</td>
<td class="paramname"><em>findSymbolFn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a>&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga879bee27bdd479c338b2b9e555e95b1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga879bee27bdd479c338b2b9e555e95b1c">&#9670;&nbsp;</a></span>DisassemblePPCRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void DisassemblePPCRange </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__debug.html#ga807903cd21d5777e977d7833bbc8cd93">DisassemblyPrintFn</a>&#160;</td>
<td class="paramname"><em>printFn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__debug.html#ga041483338ae9d40c8501c9ad14b330a1">DisassemblyFindSymbolFn</a>&#160;</td>
<td class="paramname"><em>findSymbolFn</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__debug.html#ga9cb804d7c7ffa9732c4ac5e9a4287470">DisassemblePPCFlags</a>&#160;</td>
<td class="paramname"><em>flags</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.17
</small></address>
</body>
</html>