mirror of
https://github.com/joel16/uofw.git
synced 2025-01-31 00:03:05 +00:00
289 lines
14 KiB
HTML
289 lines
14 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"/>
|
|
<title>uOFW: SceSysconPacket Struct Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div! -->
|
|
|
|
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
|
|
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">uOFW
|
|
|
|
</div>
|
|
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- Generated by Doxygen 1.7.6.1 -->
|
|
<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="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li class="current"><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 id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
|
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-attribs">Data Fields</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">SceSysconPacket Struct Reference<div class="ingroups"><a class="el" href="group__Syscon.html">Syscon Module</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="SceSysconPacket" -->
|
|
<p><code>#include <<a class="el" href="syscon_8h_source.html">syscon.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structSceSysconPacket.html">SceSysconPacket</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#afd9c0972258645e6995287e8c1bd11ec">next</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#a843a01ecbc0b1ae3ddb236a2c2ac08fe">status</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">SceUID </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#a9315b4db99bca39dd1b6fbb0cef26935">semaId</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#aa17ed0a931c08b73c356778e70633421">tx</a> [16]</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#ae9b6c4b655c3f322734fe446f0862feb">rx</a> [16]</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">s32(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#a8ab8381341fe6e81b768db49d0431842">callback</a> )(struct <a class="el" href="structSceSysconPacket.html">SceSysconPacket</a> *, void *<a class="el" href="structSceSysconPacket.html#a0b59714adc2340967bf5300c09bdb179">argp</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#a61d8580c4b7695d02956ce2875718781">gp</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#a0b59714adc2340967bf5300c09bdb179">argp</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#aae9ba937d787b1543c092d92f9cfdfd1">time</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#ab0870946a73de2dba3da5f6c0473a453">delay</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">u8 </td><td class="memItemRight" valign="bottom"><a class="el" href="structSceSysconPacket.html#af76deab085925cc49148aa29d499cfc9">reserved</a> [32]</td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>A system controller packet, used to run a syscon command. </p>
|
|
</div><hr/><h2>Field Documentation</h2>
|
|
<a class="anchor" id="afd9c0972258645e6995287e8c1bd11ec"></a><!-- doxytag: member="SceSysconPacket::next" ref="afd9c0972258645e6995287e8c1bd11ec" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct <a class="el" href="structSceSysconPacket.html">SceSysconPacket</a>* <a class="el" href="structSceSysconPacket.html#afd9c0972258645e6995287e8c1bd11ec">SceSysconPacket::next</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Next packet in the list. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a843a01ecbc0b1ae3ddb236a2c2ac08fe"></a><!-- doxytag: member="SceSysconPacket::status" ref="a843a01ecbc0b1ae3ddb236a2c2ac08fe" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 <a class="el" href="structSceSysconPacket.html#a843a01ecbc0b1ae3ddb236a2c2ac08fe">SceSysconPacket::status</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Status (probably only modified internally) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9315b4db99bca39dd1b6fbb0cef26935"></a><!-- doxytag: member="SceSysconPacket::semaId" ref="a9315b4db99bca39dd1b6fbb0cef26935" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">SceUID <a class="el" href="structSceSysconPacket.html#a9315b4db99bca39dd1b6fbb0cef26935">SceSysconPacket::semaId</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Packet synchronization semaphore ID </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa17ed0a931c08b73c356778e70633421"></a><!-- doxytag: member="SceSysconPacket::tx" ref="aa17ed0a931c08b73c356778e70633421" args="[16]" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 <a class="el" href="structSceSysconPacket.html#aa17ed0a931c08b73c356778e70633421">SceSysconPacket::tx</a>[16]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Transmitted data. First byte is command number, second one is the transmitted data length, the rest is data depending on the command. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae9b6c4b655c3f322734fe446f0862feb"></a><!-- doxytag: member="SceSysconPacket::rx" ref="ae9b6c4b655c3f322734fe446f0862feb" args="[16]" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 <a class="el" href="structSceSysconPacket.html#ae9b6c4b655c3f322734fe446f0862feb">SceSysconPacket::rx</a>[16]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Received data. First byte is status (probably, unused), second one is the received data length, third one is response code (?), the rest is data depending on the command. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8ab8381341fe6e81b768db49d0431842"></a><!-- doxytag: member="SceSysconPacket::callback" ref="a8ab8381341fe6e81b768db49d0431842" args=")(struct SceSysconPacket *, void *argp)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">s32(* <a class="el" href="structSceSysconPacket.html#a8ab8381341fe6e81b768db49d0431842">SceSysconPacket::callback</a>)(struct <a class="el" href="structSceSysconPacket.html">SceSysconPacket</a> *, void *<a class="el" href="structSceSysconPacket.html#a0b59714adc2340967bf5300c09bdb179">argp</a>)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Callback ran after a GPIO interrupt, probably after the packet has been executed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a61d8580c4b7695d02956ce2875718781"></a><!-- doxytag: member="SceSysconPacket::gp" ref="a61d8580c4b7695d02956ce2875718781" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 <a class="el" href="structSceSysconPacket.html#a61d8580c4b7695d02956ce2875718781">SceSysconPacket::gp</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>GP value to use in the callback. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0b59714adc2340967bf5300c09bdb179"></a><!-- doxytag: member="SceSysconPacket::argp" ref="a0b59714adc2340967bf5300c09bdb179" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void* <a class="el" href="structSceSysconPacket.html#a0b59714adc2340967bf5300c09bdb179">SceSysconPacket::argp</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Second argument passed to the callback. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aae9ba937d787b1543c092d92f9cfdfd1"></a><!-- doxytag: member="SceSysconPacket::time" ref="aae9ba937d787b1543c092d92f9cfdfd1" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 <a class="el" href="structSceSysconPacket.html#aae9ba937d787b1543c092d92f9cfdfd1">SceSysconPacket::time</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Current time when the packet was started. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0870946a73de2dba3da5f6c0473a453"></a><!-- doxytag: member="SceSysconPacket::delay" ref="ab0870946a73de2dba3da5f6c0473a453" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u32 <a class="el" href="structSceSysconPacket.html#ab0870946a73de2dba3da5f6c0473a453">SceSysconPacket::delay</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Some kind of timeout when running the packet. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af76deab085925cc49148aa29d499cfc9"></a><!-- doxytag: member="SceSysconPacket::reserved" ref="af76deab085925cc49148aa29d499cfc9" args="[32]" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">u8 <a class="el" href="structSceSysconPacket.html#af76deab085925cc49148aa29d499cfc9">SceSysconPacket::reserved</a>[32]</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Reserved for internal (hardware) use. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li>/home/travis/build/uofw/uofw/include/<a class="el" href="syscon_8h_source.html">syscon.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Variables</a></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>
|
|
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sun Nov 29 2015 05:10:36 for uOFW by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.7.6.1
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|