PSPSDK 2026-01-28
Loading...
Searching...
No Matches
SceModuleMgrParam Struct Reference

Structure used internally for many sceModuleManager module functions. More...

#include <kernel/pspmodulemgr_kernel.h>

Collaboration diagram for SceModuleMgrParam:

Data Fields

u8 mode_start
 The Operation to start on.
 
u8 mode_finish
 The Operation to finish on.
 
u8 position
 The module placement policy in memory.
 
u8 access
 
SceUIDresult
 
SceUIDnew_block_id
 
SceModulemod
 The module in memory.
 
SceLoadCoreExecFileInfoexec_info
 The executable information of the module.
 
u32 api_type
 The API type of the module.
 
SceUID fd
 The file ID for module file.
 
s32 thread_priority
 The module thread priority.
 
u32 thread_attr
 The module thread attributes.
 
SceUID mpid_text
 The memory partition where the program of the module will be stored.
 
SceUID mpid_data
 The memory partition where the data of the module will be stored.
 
SceUID thread_mpid_stack
 
SceSize stack_size
 
SceUID mod_id
 The module ID.
 
SceUID caller_mod_id
 
SceSize mod_size
 
void * file_base
 
SceSize arg_size
 
void * argp
 
u32 unk1
 
u32 unk2
 
s32status
 
SceUID event_id
 
u32 unk3
 
u32 unk4
 
u32 unk5
 
SceUID extern_mem_block_id_kernel
 
SceUID extern_mem_block_partition_id
 
SceSize extern_mem_block_size
 
u32 unk6
 
void * block_gzip
 
u32 unk7
 
char secure_install_id [SCE_SECURE_INSTALL_ID_LEN]
 
SceUID extern_mem_block_id_user
 
u32 unk8
 
SceOff mem_block_offset
 

Detailed Description

Structure used internally for many sceModuleManager module functions.

Also seems to be passed to sceKernelStartThread eventually by those internal functions.

Field Documentation

◆ access

u8 SceModuleMgrParam::access

◆ api_type

u32 SceModuleMgrParam::api_type

The API type of the module.

◆ arg_size

SceSize SceModuleMgrParam::arg_size

◆ argp

void* SceModuleMgrParam::argp

◆ block_gzip

void* SceModuleMgrParam::block_gzip

◆ caller_mod_id

SceUID SceModuleMgrParam::caller_mod_id

◆ event_id

SceUID SceModuleMgrParam::event_id

◆ exec_info

SceLoadCoreExecFileInfo* SceModuleMgrParam::exec_info

The executable information of the module.

◆ extern_mem_block_id_kernel

SceUID SceModuleMgrParam::extern_mem_block_id_kernel

◆ extern_mem_block_id_user

SceUID SceModuleMgrParam::extern_mem_block_id_user

◆ extern_mem_block_partition_id

SceUID SceModuleMgrParam::extern_mem_block_partition_id

◆ extern_mem_block_size

SceSize SceModuleMgrParam::extern_mem_block_size

◆ fd

SceUID SceModuleMgrParam::fd

The file ID for module file.

◆ file_base

void* SceModuleMgrParam::file_base

◆ mem_block_offset

SceOff SceModuleMgrParam::mem_block_offset

◆ mod

SceModule* SceModuleMgrParam::mod

The module in memory.

◆ mod_id

SceUID SceModuleMgrParam::mod_id

The module ID.

◆ mod_size

SceSize SceModuleMgrParam::mod_size

◆ mode_finish

u8 SceModuleMgrParam::mode_finish

The Operation to finish on.

One of the SceModuleMgrExecModes modes.

◆ mode_start

u8 SceModuleMgrParam::mode_start

The Operation to start on.

One of the SceModuleMgrExecModes modes.

◆ mpid_data

SceUID SceModuleMgrParam::mpid_data

The memory partition where the data of the module will be stored.

◆ mpid_text

SceUID SceModuleMgrParam::mpid_text

The memory partition where the program of the module will be stored.

◆ new_block_id

SceUID* SceModuleMgrParam::new_block_id

◆ position

u8 SceModuleMgrParam::position

The module placement policy in memory.

One of PspSysMemBlockTypes.

◆ result

SceUID* SceModuleMgrParam::result

◆ secure_install_id

char SceModuleMgrParam::secure_install_id[SCE_SECURE_INSTALL_ID_LEN]

◆ stack_size

SceSize SceModuleMgrParam::stack_size

◆ status

s32* SceModuleMgrParam::status

◆ thread_attr

u32 SceModuleMgrParam::thread_attr

The module thread attributes.

◆ thread_mpid_stack

SceUID SceModuleMgrParam::thread_mpid_stack

◆ thread_priority

s32 SceModuleMgrParam::thread_priority

The module thread priority.

◆ unk1

u32 SceModuleMgrParam::unk1

◆ unk2

u32 SceModuleMgrParam::unk2

◆ unk3

u32 SceModuleMgrParam::unk3

◆ unk4

u32 SceModuleMgrParam::unk4

◆ unk5

u32 SceModuleMgrParam::unk5

◆ unk6

u32 SceModuleMgrParam::unk6

◆ unk7

u32 SceModuleMgrParam::unk7

◆ unk8

u32 SceModuleMgrParam::unk8

The documentation for this struct was generated from the following file: