vitasdk
Documentation of the vitasdk
modulemgr.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_KERNEL_MODULEMGR_H_
7 #define _PSP2_KERNEL_MODULEMGR_H_
8 
9 #include <vitasdk/build_utils.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
19 
20 SceUID sceKernelLoadModule(const char *path, int flags, SceKernelLMOption *option);
22 
23 int sceKernelStartModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status);
24 int sceKernelStopModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status);
25 
26 SceUID sceKernelLoadStartModule(const char *path, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status);
27 int sceKernelStopUnloadModule(SceUID modid, SceSize args, void *argp, int flags, SceKernelULMOption *option, int *status);
28 
37 
38 // missing structs
42 
43 SceUID _sceKernelLoadModule(const char *module_filename, SceUInt32 flags, const SceKernelLoadModuleOption *option);
44 SceUID _sceKernelLoadStartModule(const char *module_filename, SceSize args, const void *argp, SceUInt32 flags);
46 int _sceKernelStopModule(SceUID uid, SceSize args, const void *argp, SceUInt32 flags);
47 int _sceKernelStopUnloadModule(SceUID uid, SceSize args, const void *argp, SceUInt32 flags);
48 
49 SceUID _sceKernelOpenModule(const char *module_filename, SceSize args, const void *argp, SceUInt32 flags);
50 SceUID _sceKernelCloseModule(SceUID modid, SceSize args, const void *argp, SceUInt32 flags);
51 
53 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* _PSP2_KERNEL_MODULEMGR_H_ */
63 
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition: bt.h:2
uint16_t version
Definition: kbl.h:0
int flags
Event flags.
Definition: debug.h:3
const void * lr
Definition: debug.h:130
Definition: modulemgr.h:98
Definition: modulemgr.h:75
Definition: modulemgr.h:108
Definition: modulemgr.h:103
SceUID _sceKernelCloseModule(SceUID modid, SceSize args, const void *argp, SceUInt32 flags)
int sceKernelGetModuleInfo(SceUID uid, SceKernelModuleInfo *info)
SceUInt32 sceKernelGetAllowedSdkVersionOnSystem(void)
SceUID sceKernelLoadStartModule(const char *path, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status)
SceUID sceKernelGetModuleIdByAddr(void *addr)
int _sceKernelStopUnloadModule(SceUID uid, SceSize args, const void *argp, SceUInt32 flags)
int sceKernelStartModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status)
SceUID _sceKernelLoadModule(const char *module_filename, SceUInt32 flags, const SceKernelLoadModuleOption *option)
int sceKernelGetLibraryInfoByNID(SceUID modid, SceNID libnid, SceKernelLibraryInfo *info)
SceUID sceKernelLoadModule(const char *path, int flags, SceKernelLMOption *option)
int _sceKernelStopModule(SceUID uid, SceSize args, const void *argp, SceUInt32 flags)
int sceKernelGetSystemSwVersion(SceKernelSystemSwVersion *version)
Gets system firmware information.
SceUID _sceKernelOpenModule(const char *module_filename, SceSize args, const void *argp, SceUInt32 flags)
int _sceKernelUnloadModule(SceUID uid, SceUInt32 flags, const SceKernelUnloadModuleOption *option)
int sceKernelStopModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status)
int sceKernelGetModuleList(SceUInt8 type, SceUID *uids, SceSize *num)
struct SceKernelLibraryInfo SceKernelLibraryInfo
Definition: modulemgr.h:41
int sceKernelUnloadModule(SceUID modid, int flags, SceKernelULMOption *option)
struct SceKernelLoadModuleOption SceKernelLoadModuleOption
Definition: modulemgr.h:39
int sceKernelIsCalledFromSysModule(void *lr)
int sceKernelStopUnloadModule(SceUID modid, SceSize args, void *argp, int flags, SceKernelULMOption *option, int *status)
struct SceKernelUnloadModuleOption SceKernelUnloadModuleOption
Definition: modulemgr.h:40
SceUID _sceKernelLoadStartModule(const char *module_filename, SceSize args, const void *argp, SceUInt32 flags)
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
unsigned int SceNID
Library/Function NID.
Definition: types.h:92
uint32_t SceUInt32
Definition: types.h:45
uint8_t SceUInt8
Definition: types.h:36