uofw/group__LoadExecForUser.html

291 lines
13 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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>uOFW: LoadExecForUser Library</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">uOFW
</div>
<div id="projectbrief">Reverse engineered PSP kernel 6.60.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<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','.html');
/* @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="#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 class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><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 class="separator:"><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:gafb1fcb8124476e7ab84579bcd55ec287"><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 class="separator:gafb1fcb8124476e7ab84579bcd55ec287"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37270debb08aad7b8dbd0b779e34a070"><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 class="separator:ga37270debb08aad7b8dbd0b779e34a070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1086491dba418d42274c82f663423343"><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 class="separator:ga1086491dba418d42274c82f663423343"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7ef38abec2c5138cda090834eaee8d3"><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 class="separator:gae7ef38abec2c5138cda090834eaee8d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga804f9442b8e2818f8ff91f01c10675cf"><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 class="separator:ga804f9442b8e2818f8ff91f01c10675cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14bf86344ac27a253a81be9056b2ca2d"><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 class="separator:ga14bf86344ac27a253a81be9056b2ca2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8cef48a93fc9aa8d34225d6c08b1ece"><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>
<tr class="separator:gaf8cef48a93fc9aa8d34225d6c08b1ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Allows the user to run executables through reboot.bin. </p>
<h2 class="groupheader">Function Documentation</h2>
<a id="gafb1fcb8124476e7ab84579bcd55ec287"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb1fcb8124476e7ab84579bcd55ec287">&#9670;&nbsp;</a></span>LoadExecForUser_362A956B()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 LoadExecForUser_362A956B </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="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="ga37270debb08aad7b8dbd0b779e34a070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37270debb08aad7b8dbd0b779e34a070">&#9670;&nbsp;</a></span>sceKernelLoadExec()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 sceKernelLoadExec </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>Parameters</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="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="ga1086491dba418d42274c82f663423343"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1086491dba418d42274c82f663423343">&#9670;&nbsp;</a></span>LoadExecForUser_8ADA38D3()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 LoadExecForUser_8ADA38D3 </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>Parameters</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="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="gae7ef38abec2c5138cda090834eaee8d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7ef38abec2c5138cda090834eaee8d3">&#9670;&nbsp;</a></span>LoadExecForUser_D1FB50DC()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 LoadExecForUser_D1FB50DC </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>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">arg</td><td>An unknown argument.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="ga804f9442b8e2818f8ff91f01c10675cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga804f9442b8e2818f8ff91f01c10675cf">&#9670;&nbsp;</a></span>sceKernelRegisterExitCallback()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 sceKernelRegisterExitCallback </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>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cbId</td><td>The callback ID.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="ga14bf86344ac27a253a81be9056b2ca2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14bf86344ac27a253a81be9056b2ca2d">&#9670;&nbsp;</a></span>sceKernelExitGameWithStatus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 sceKernelExitGameWithStatus </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="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
<a id="gaf8cef48a93fc9aa8d34225d6c08b1ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8cef48a93fc9aa8d34225d6c08b1ece">&#9670;&nbsp;</a></span>sceKernelExitGame()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">s32 sceKernelExitGame </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="section return"><dt>Returns</dt><dd>0 on success. </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Sep 28 2024 18:01:49 for uOFW by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>