mirror of
https://github.com/joel16/uofw.git
synced 2024-11-28 05:50:46 +00:00
170 lines
9.7 KiB
HTML
170 lines
9.7 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: /home/travis/build/uofw/uofw/include/usersystemlib_kernel.h Source File</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><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><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="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">/home/travis/build/uofw/uofw/include/usersystemlib_kernel.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (C) 2011, 2012, 2013 The uOFW team</span>
|
|
<a name="l00002"></a>00002 <span class="comment"> See the file COPYING for copying permission.</span>
|
|
<a name="l00003"></a>00003 <span class="comment">*/</span>
|
|
<a name="l00004"></a>00004
|
|
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef USERSYSTEMLIB_KERNEL_H</span>
|
|
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define USERSYSTEMLIB_KERNEL_H</span>
|
|
<a name="l00007"></a>00007 <span class="preprocessor"></span>
|
|
<a name="l00015"></a>00015 <span class="preprocessor">#include <common_header.h></span>
|
|
<a name="l00016"></a>00016 <span class="preprocessor">#include <threadman_user.h></span>
|
|
<a name="l00017"></a>00017
|
|
<a name="l00023"></a>00023 <span class="comment">/* Interrupts */</span>
|
|
<a name="l00024"></a>00024
|
|
<a name="l00030"></a>00030 s32 <a class="code" href="group__UsersystemLib.html#ga20367eeefab6198dc1d7f6791d020075">sceKernelCpuSuspendIntr</a>(<span class="keywordtype">void</span>);
|
|
<a name="l00031"></a>00031
|
|
<a name="l00037"></a>00037 <span class="keywordtype">void</span> <a class="code" href="group__UsersystemLib.html#ga944ecd9597a355cc700f3f811d40d3ed">sceKernelCpuResumeIntr</a>(s32 intr);
|
|
<a name="l00038"></a>00038
|
|
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="group__UsersystemLib.html#gaeffc8cbe0a840a61390159b851b47cd4">sceKernelCpuResumeIntrWithSync</a>(s32 intr);
|
|
<a name="l00045"></a>00045
|
|
<a name="l00053"></a>00053 s32 <a class="code" href="group__UsersystemLib.html#gab3c095a6d5704d3397f89d574d43954f">sceKernelIsCpuIntrSuspended</a>(s32 intr);
|
|
<a name="l00054"></a>00054
|
|
<a name="l00060"></a>00060 s32 <a class="code" href="group__UsersystemLib.html#ga4e6219082a8aeae96d8f6d3069747fed">sceKernelIsCpuIntrEnable</a>(<span class="keywordtype">void</span>);
|
|
<a name="l00061"></a>00061
|
|
<a name="l00062"></a>00062
|
|
<a name="l00063"></a>00063 <span class="comment">/* Lazy */</span>
|
|
<a name="l00064"></a>00064
|
|
<a name="l00071"></a>00071 s32 <a class="code" href="group__UsersystemLib.html#ga638cd25b4d88295a7cb59c3dfd1dece4">sub_00000208</a>(s32 dlId, <span class="keywordtype">void</span> *stall);
|
|
<a name="l00072"></a>00072
|
|
<a name="l00084"></a>00084 s32 <a class="code" href="group__UsersystemLib.html#ga3950cf6a6f0928b1bb6128ac8503a778">sceGe_lazy_31129B95</a>(s32 dlId, <span class="keywordtype">void</span> *stall);
|
|
<a name="l00085"></a>00085
|
|
<a name="l00086"></a>00086
|
|
<a name="l00087"></a>00087 <span class="comment">/* Thread */</span>
|
|
<a name="l00088"></a>00088
|
|
<a name="l00094"></a>00094 s32 <a class="code" href="group__UsersystemLib.html#ga77feb17d4ead3b4c81273467c4f602be">sceKernelGetThreadId</a>(<span class="keywordtype">void</span>);
|
|
<a name="l00095"></a>00095
|
|
<a name="l00101"></a>00101 s32 <a class="code" href="group__UsersystemLib.html#gac12c779057f2506ae4b41acb7d1d8871">sceKernelCheckThreadStack</a>(<span class="keywordtype">void</span>);
|
|
<a name="l00102"></a>00102
|
|
<a name="l00110"></a>00110 <span class="keywordtype">void</span> *<a class="code" href="group__UsersystemLib.html#gae3e05cc92fdaa57aabc4dd0d1cbd389d">sceKernelGetTlsAddr</a>(SceUID uid);
|
|
<a name="l00111"></a>00111
|
|
<a name="l00112"></a>00112
|
|
<a name="l00113"></a>00113 <span class="comment">/* Lightweight Mutex */</span>
|
|
<a name="l00114"></a>00114
|
|
<a name="l00127"></a>00127 s32 <a class="code" href="group__UsersystemLib.html#gacce75d90cafca598b1f1f67337a6cae5">sceKernelTryLockLwMutex</a>(SceLwMutex *mutex, s32 count);
|
|
<a name="l00128"></a>00128
|
|
<a name="l00142"></a>00142 s32 <a class="code" href="group__UsersystemLib.html#gade39cec8bb18b4b48626c0ae4286d2dd">sceKernelTryLockLwMutex_600</a>(SceLwMutex *mutex, s32 count);
|
|
<a name="l00143"></a>00143
|
|
<a name="l00156"></a>00156 s32 <a class="code" href="group__UsersystemLib.html#ga92a64e28e82b7e8c1e96b2c528eb32fb">sceKernelLockLwMutexCB</a>(SceLwMutex *mutex, s32 count);
|
|
<a name="l00157"></a>00157
|
|
<a name="l00170"></a>00170 s32 <a class="code" href="group__UsersystemLib.html#ga823bc0a7670b969e44ac72955c25aa50">sceKernelLockLwMutex</a>(SceLwMutex *mutex, s32 count);
|
|
<a name="l00171"></a>00171
|
|
<a name="l00184"></a>00184 s32 <a class="code" href="group__UsersystemLib.html#ga4f12087591bceef908537a2617c28aa5">sceKernelUnlockLwMutex</a>(SceLwMutex *mutex, s32 count);
|
|
<a name="l00185"></a>00185
|
|
<a name="l00193"></a>00193 s32 <a class="code" href="group__UsersystemLib.html#gac34f2ec2dd1b9079dd017aed7487a14a">Kernel_Library_3AD10D4D</a>(SceLwMutex *mutex);
|
|
<a name="l00194"></a>00194
|
|
<a name="l00203"></a>00203 s32 <a class="code" href="group__UsersystemLib.html#ga01f06abbcc06e1ac48c2b9e38e496488">sceKernelReferLwMutexStatus</a>(SceLwMutex *mutex, u32 *addr);
|
|
<a name="l00204"></a>00204
|
|
<a name="l00205"></a>00205 <span class="comment">/* Memory */</span>
|
|
<a name="l00206"></a>00206
|
|
<a name="l00218"></a>00218 <span class="keywordtype">void</span> *<a class="code" href="group__UsersystemLib.html#gaeb89383520c91965b8b305a01b9075c5">sceKernelMemcpy</a>(<span class="keywordtype">void</span> *dst, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, SceSize size);
|
|
<a name="l00219"></a>00219
|
|
<a name="l00231"></a>00231 <span class="keywordtype">void</span> *<a class="code" href="group__UsersystemLib.html#gacb4b6ca5c01c74e1c12bdaad428c38f5">sceKernelMemset</a>(<span class="keywordtype">void</span> *dst, s8 val, SceSize size);
|
|
<a name="l00232"></a>00232
|
|
<a name="l00235"></a>00235 <span class="preprocessor">#endif </span><span class="comment">/* USERSYSTEMLIB_KERNEL_H */</span>
|
|
</pre></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"> </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 Thu May 28 2015 23:10:39 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>
|