pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspsdk.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* pspsdk.h - Interface to the PSPSDK utility library.
7
*
8
* Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9
* Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10
* Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11
*
12
* $Id: pspsdk.h 2433 2008-10-15 10:00:27Z iwn $
13
*/
14
15
#ifndef PSPSDK_H
16
#define PSPSDK_H
17
18
#include <
pspkerneltypes.h
>
19
#include <
pspmodulemgr.h
>
20
#include <
pspmoduleinfo.h
>
21
#include <
pspthreadman.h
>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
43
int
pspSdkQueryModuleInfoV1
(
SceUID
uid,
SceKernelModuleInfo
*modinfo);
44
56
int
pspSdkGetModuleIdList
(
SceUID
*readbuf,
int
readbufsize,
int
*idcount);
57
66
int
pspSdkInstallNoDeviceCheckPatch
(
void
);
67
75
int
pspSdkInstallNoPlainModuleCheckPatch
(
void
);
76
84
int
pspSdkInstallKernelLoadModulePatch
(
void
);
85
94
SceUID
pspSdkLoadStartModule
(
const
char
*
filename
,
int
mpid);
95
106
SceUID
pspSdkLoadStartModuleWithArgs
(
const
char
*
filename
,
int
mpid,
int
argc,
char
*
const
argv[]);
107
113
void
pspSdkFixupImports
(
int
moduleId);
114
121
int
pspSdkLoadInetModules
();
122
128
int
pspSdkInetInit
();
129
133
void
pspSdkInetTerm
();
134
144
int
pspSdkReferThreadStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelThreadInfo
*pInfo);
145
155
int
pspSdkReferSemaStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelSemaInfo
*pInfo);
156
166
int
pspSdkReferEventFlagStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelEventFlagInfo
*pInfo);
167
177
int
pspSdkReferMboxStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelMbxInfo
*pInfo);
178
188
int
pspSdkReferVplStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelVplInfo
*pInfo);
189
199
int
pspSdkReferFplStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelFplInfo
*pInfo);
200
210
int
pspSdkReferMppStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelMppInfo
*pInfo);
211
221
int
pspSdkReferCallbackStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelCallbackInfo
*pInfo);
222
232
int
pspSdkReferVTimerStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelVTimerInfo
*pInfo);
233
243
int
pspSdkReferThreadEventHandlerStatusByName
(
const
char
*
name
,
SceUID
*pUID,
SceKernelThreadEventHandlerInfo
*pInfo);
244
252
unsigned
int
pspSdkDisableInterrupts
(
void
);
253
259
void
pspSdkEnableInterrupts
(
unsigned
int
istate);
260
276
unsigned
int
pspSdkSetK1
(
unsigned
int
k1
);
277
283
unsigned
int
pspSdkGetK1
(
void
);
284
288
void
pspSdkDisableFPUExceptions
(
void
);
289
292
#ifdef __cplusplus
293
}
294
#endif
295
296
#endif
/* PSPSDK_H */
src
sdk
pspsdk.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2