This module contains the imports for the kernel's module management routines.
More...
|
| SceUID | sceKernelLoadModuleBuffer (void *buf, SceSize bufsize, int flags, SceKernelLMOption *option) |
| | Load a module from a buffer.
|
| |
| SceUID | sceKernelLoadModuleForLoadExecForUser (int apitype, const char *path, int flags, SceKernelLMOption *option) |
| | Load a module with a specific API Type.
|
| |
| SceUID | sceKernelLoadModuleWithApitype2 (int apitype, const char *path, int flags, SceKernelLMOption *option) |
| | Alias for sceKernelLoadModuleForLoadExecForUser
|
| |
| SceUID | sceKernelLoadModuleBufferBootInitBtcnf (int bufsize, void *buf, int flags, SceKernelLMOption *option) |
| | Load a module from a buffer with the Boot Init BTCNF apitype (0x051).
|
| |
This module contains the imports for the kernel's module management routines.
◆ sceKernelLoadModuleBuffer()
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.
◆ sceKernelLoadModuleBufferBootInitBtcnf()
Load a module from a buffer with the Boot Init BTCNF apitype (0x051).
- Parameters
-
| bufsize | - Size (in bytes) of the buffer pointed to by buf. |
| buf | - Pointer to a buffer containing the module to load. The buffer must reside at an address that is a multiple to 64 bytes. |
| flags | - Unused, always 0. |
| option | - Pointer to an optional SceKernelLMOption structure. |
- Returns
- The UID of the loaded module on success, otherwise one of PspKernelErrorCodes.
- Attention
- Needs to link to
pspmodulemgr_kernel stub.
◆ sceKernelLoadModuleForLoadExecForUser()
| SceUID sceKernelLoadModuleForLoadExecForUser |
( |
int | apitype, |
|
|
const char * | path, |
|
|
int | flags, |
|
|
SceKernelLMOption * | option ) |
Load a module with a specific API Type.
- Parameters
-
| apitype | The API type to use. |
| [in] | path | The path to the module to load. |
| flags | Unused, always 0. |
| option | A pointer to an optional SceKernelLMOption structure. |
- Returns
- Returns the module UID for the loaded module on success,
< 0 on error.
◆ sceKernelLoadModuleWithApitype2()
Alias for sceKernelLoadModuleForLoadExecForUser
- Attention
- Needs to link to
pspmodulemgr_kernel stub.