uofw/group__LoadExecForUser.html

302 lines
13 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: LoadExecForUser Library</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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</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>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">LoadExecForUser Library</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structSceKernelLoadExecParam.html">SceKernelLoadExecParam</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#gafb1fcb8124476e7ab84579bcd55ec287">LoadExecForUser_362A956B</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#ga37270debb08aad7b8dbd0b779e34a070">sceKernelLoadExec</a> (char *file, <a class="el" href="structSceKernelLoadExecParam.html">SceKernelLoadExecParam</a> *opt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#ga1086491dba418d42274c82f663423343">LoadExecForUser_8ADA38D3</a> (char *file, <a class="el" href="structSceKernelLoadExecParam.html">SceKernelLoadExecParam</a> *opt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#gae7ef38abec2c5138cda090834eaee8d3">LoadExecForUser_D1FB50DC</a> (void *arg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#ga804f9442b8e2818f8ff91f01c10675cf">sceKernelRegisterExitCallback</a> (SceUID cbId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#ga14bf86344ac27a253a81be9056b2ca2d">sceKernelExitGameWithStatus</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__LoadExecForUser.html#gaf8cef48a93fc9aa8d34225d6c08b1ece">sceKernelExitGame</a> (void)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Allows the user to run executables through reboot.bin. </p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gafb1fcb8124476e7ab84579bcd55ec287"></a><!-- doxytag: member="loadexec_user.h::LoadExecForUser_362A956B" ref="gafb1fcb8124476e7ab84579bcd55ec287" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#gafb1fcb8124476e7ab84579bcd55ec287">LoadExecForUser_362A956B</a> </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Update the exit callback status (exported as a variable in the kernel module)</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="ga37270debb08aad7b8dbd0b779e34a070"></a><!-- doxytag: member="loadexec_user.h::sceKernelLoadExec" ref="ga37270debb08aad7b8dbd0b779e34a070" args="(char *file, SceKernelLoadExecParam *opt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#ga37270debb08aad7b8dbd0b779e34a070">sceKernelLoadExec</a> </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structSceKernelLoadExecParam.html">SceKernelLoadExecParam</a> *&#160;</td>
<td class="paramname"><em>opt</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Load an executable.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">file</td><td>The executable path. </td></tr>
<tr><td class="paramname">opt</td><td>Execution parameters.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="ga1086491dba418d42274c82f663423343"></a><!-- doxytag: member="loadexec_user.h::LoadExecForUser_8ADA38D3" ref="ga1086491dba418d42274c82f663423343" args="(char *file, SceKernelLoadExecParam *opt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#ga1086491dba418d42274c82f663423343">LoadExecForUser_8ADA38D3</a> </td>
<td>(</td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structSceKernelLoadExecParam.html">SceKernelLoadExecParam</a> *&#160;</td>
<td class="paramname"><em>opt</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Load an executable using npdrm.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">file</td><td>The executable path. </td></tr>
<tr><td class="paramname">opt</td><td>Execution parameters.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="gae7ef38abec2c5138cda090834eaee8d3"></a><!-- doxytag: member="loadexec_user.h::LoadExecForUser_D1FB50DC" ref="gae7ef38abec2c5138cda090834eaee8d3" args="(void *arg)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#gae7ef38abec2c5138cda090834eaee8d3">LoadExecForUser_D1FB50DC</a> </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>arg</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Exit a game with an argument.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">arg</td><td>An unknown argument.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="ga804f9442b8e2818f8ff91f01c10675cf"></a><!-- doxytag: member="loadexec_user.h::sceKernelRegisterExitCallback" ref="ga804f9442b8e2818f8ff91f01c10675cf" args="(SceUID cbId)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#ga804f9442b8e2818f8ff91f01c10675cf">sceKernelRegisterExitCallback</a> </td>
<td>(</td>
<td class="paramtype">SceUID&#160;</td>
<td class="paramname"><em>cbId</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Register an exit callback, started upon game exit through the "Home" button.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cbId</td><td>The callback ID.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="ga14bf86344ac27a253a81be9056b2ca2d"></a><!-- doxytag: member="loadexec_user.h::sceKernelExitGameWithStatus" ref="ga14bf86344ac27a253a81be9056b2ca2d" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#ga14bf86344ac27a253a81be9056b2ca2d">sceKernelExitGameWithStatus</a> </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Exit a game (with no status, as opposed to the function's name)</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
<a class="anchor" id="gaf8cef48a93fc9aa8d34225d6c08b1ece"></a><!-- doxytag: member="loadexec_user.h::sceKernelExitGame" ref="gaf8cef48a93fc9aa8d34225d6c08b1ece" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 <a class="el" href="group__LoadExecForUser.html#gaf8cef48a93fc9aa8d34225d6c08b1ece">sceKernelExitGame</a> </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Exit a game.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl>
</div>
</div>
</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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</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 Tue Aug 4 2015 17:16:43 for uOFW by &#160;<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>