PSPSDK 2024-12-16
Loading...
Searching...
No Matches
Kernel Module Manager Library

This module contains the imports for the kernel's module management routines. More...

Functions

int sceKernelGetModuleList (int readbufsize, SceUID *readbuf)
 Gets the current module list.
 
int sceKernelModuleCount (void)
 Get the number of loaded modules.
 
SceUID sceKernelLoadModuleBuffer (void *buf, SceSize bufsize, int flags, SceKernelLMOption *option)
 Load a module from a buffer.
 

Detailed Description

This module contains the imports for the kernel's module management routines.

Function Documentation

◆ sceKernelGetModuleList()

int sceKernelGetModuleList ( int  readbufsize,
SceUID readbuf 
)

Gets the current module list.

Parameters
readbufsize- The size of the read buffer.
readbuf- Pointer to a buffer to store the IDs
Returns
< 0 on error.

Referenced by pspSdkGetModuleIdList().

◆ sceKernelLoadModuleBuffer()

SceUID sceKernelLoadModuleBuffer ( void buf,
SceSize  bufsize,
int  flags,
SceKernelLMOption option 
)

Load a module from a buffer.

Parameters
buf- Pointer to a buffer containing the module to load. The buffer must reside at an address that is a multiple to 64 bytes.
bufsize- Size (in bytes) of the buffer pointed to by buf.
flags- Unused, always 0.
option- Pointer to an optional SceKernelLMOption structure.
Returns
The UID of the loaded module on success, otherwise one of PspKernelErrorCodes.

◆ sceKernelModuleCount()

int sceKernelModuleCount ( void  )

Get the number of loaded modules.

Returns
The number of loaded modules.