vitasdk
Documentation of the vitasdk

Exports for Kernel. More...

Data Structures

struct  SceUIDSysrootObject
 
struct  SceKernelSysrootSelfInfo
 
struct  SceSysrootProcessHandler
 
struct  SceSysrootDbgpHandler
 
struct  SceSyscallInfo
 
struct  SceUIDSysrootObject.init_callback_slot
 

Macros

#define SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC   (9)
 
#define SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT   (8)
 
#define ksceKernelGetSysrootBuffer()   ksceKernelSysrootGetKblParam()
 
#define ksceKernelGetProcessTitleId(pid, titleid, len)   ksceKernelSysrootGetProcessTitleId(pid, titleid, len)
 
#define ksceKernelIsSomeBootMode   ksceSysrootIsSdCardMode
 

Typedefs

typedef struct SceKernelBootArgs SceKernelBootArgs
 
typedef struct SceSysrootModulemgrHandlers SceSysrootModulemgrHandlers
 
typedef struct SceSysrootForKernel_D29BCA77_struct SceSysrootForKernel_D29BCA77_struct
 
typedef struct SceSysrootForDriver_733C243E_struct SceSysrootForDriver_733C243E_struct
 
typedef SceUIDSysrootObject SceSysroot
 
typedef int(* SceKernelGetSystemSwVersionFunc) (void)
 
typedef int(* SceKernelCoredumpTriggerFunc) (ScePID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param)
 
typedef struct SceUIDAddressSpaceObject SceUIDAddressSpaceObject
 Opaque class-specific data for an address-space UID object.
 

Enumerations

enum  SceKernelSysrootSelfIndex { SCE_KERNEL_SYSROOT_SELF_INDEX_GCAUTHMGR_SM = 0 , SCE_KERNEL_SYSROOT_SELF_INDEX_RMAUTH_SM = 1 , SCE_KERNEL_SYSROOT_SELF_INDEX_ENCDEC_W_PORTABILITY_SM = 2 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x41C, SceUIDSysrootObject)
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceKernelSysrootSelfInfo)
 
SceSysroot * ksceSysrootGetSysroot (void)
 Get sysroot object pointer.
 
void ksceKernelSysrootSetSysroot (SceUID sysroot_uid)
 Set sysroot object uid.
 
void * ksceKernelSysrootGetKblParam (void)
 Get SceKblParam.
 
int ksceKernelSysrootGetProcessTitleId (SceUID pid, char *titleid, SceSize len)
 
int ksceSysrootGetSelfInfo (SceKernelSysrootSelfIndex index, SceKernelSysrootSelfInfo *info)
 
int ksceSysrootUseExternalStorage (void)
 Get UseExternalStorage status.
 
int ksceSysrootUseInternalStorage (void)
 Get UseInternalStorage status.
 
int ksceSysrootIsManufacturingMode (void)
 Get ManufacturingMode status.
 
int ksceSysrootIsNonRemovableCardMode (void)
 Get NonRemovableCardMode status.
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceSysrootProcessHandler)
 
int ksceKernelSysrootSetProcessHandler (const SceSysrootProcessHandler *handlers)
 Set handlers for the process lifecycle.
 
 VITASDK_BUILD_ASSERT_EQ (0x5C, SceSysrootDbgpHandler)
 
int ksceKernelSysrootRegisterDbgpHandler (const SceSysrootDbgpHandler *handlers)
 Register Dbgp handlers.
 
void ksceKernelSysrootUnregisterDbgpHandler (void)
 Unregister Dbgp handlers.
 
int ksceSysrootGetHardwareFlags (void *flags)
 Get hardware flags.
 
int ksceSysrootIsBsodReboot (void)
 
int ksceSysrootIsSafeMode (void)
 
int ksceSysrootIsUpdateMode (void)
 
int ksceSysrootIsUsbEnumWakeup (void)
 
int ksceSysrootIsExternalBootMode (void)
 
void ksceKernelSysrootSetGetSystemSwVersionFunc (SceKernelGetSystemSwVersionFunc func)
 Set GetSystemSwVersion function.
 
int ksceKernelSysrootGetSystemSwVersion (void)
 Get System software version from ksceKernelSysrootSetGetSystemSwVersionFunc setting function.
 
SceUID ksceKernelSysrootGetShellPid (void)
 Get SceShell process id.
 
void ksceKernelSysrootRegisterCoredumpTrigger (SceKernelCoredumpTriggerFunc func)
 Register coredump trigger function.
 
 VITASDK_BUILD_ASSERT_EQ (0x3C, SceSyscallInfo)
 
void * ksceKernelAllocHeapMemory2 (ScePID pid, SceSize size, SceKernelHeapMemoryOpt *opt)
 Allocate memory from a process heap.
 
void ksceKernelInvokeInitCallback (int index)
 Call all pending initialization callbacks up to and including a target slot.
 
int ksceKernelIsColdBoot (void)
 Test whether the current boot is a cold boot.
 
int ksceSysrootIsSdCardMode (void)
 Test whether the boot parameters request SD card mode.
 
int ksceKernelSysrootCheckModelCapability (int capability_index)
 Test a hardware-model capability bit.
 
int ksceKernelSysrootCoredumpTrigger (ScePID pid, SceKernelCoredumpStateUpdateCallback update_callback, SceKernelCoredumpStateFinishCallback finish_callback, const SceCoredumpTriggerParam *param)
 Trigger a coredump through the registered coredump callback.
 
SceUIDAddressSpaceObject * ksceKernelSysrootGetCurrentAddressSpaceCB (void)
 Get the current address-space UID object's class-specific data.
 
void * ksceKernelSysrootGetModulePrivate (int index)
 Get a module-private area from the sysroot object.
 
int ksceKernelSysrootGetPUIDEntryHeap (ScePID pid, void **entry_heap)
 Get a process's internal PUID-entry heap.
 
SceUInt32 ksceKernelSysrootGetStatus (void)
 
int ksceKernelSysrootGetThreadAccessLevel (void)
 Get the calling thread's access level.
 
void * ksceKernelSysrootGetVbaseResetVector (void)
 
SceUInt32 ksceSysrootGetFactorySystemSwVersion (void)
 
SceUInt32 ksceSysrootGetHardwareInfo (void)
 Get the hardware-information bitfield.
 
int ksceSysrootGetModuleInfoForPid (ScePID pid, const void *pc, SceSyscallInfo *info)
 Get information about the imported function stub containing pc.
 
int ksceSysrootGetNidName (SceNID function_nid, const char **name)
 Get a read-only symbolic name for a function NID when one is registered.
 
int ksceSysrootGetSelfAuthInfo (ScePID pid, SceSelfAuthInfo *self_auth_info)
 Get the 0x90-byte SELF authorization information for a process.
 
void * ksceSysrootGetSessionId (void *session_id)
 Get the 16-byte system session identifier.
 
SceUInt32 ksceSysrootGetWakeupFactor (void)
 
int ksceSysrootRegisterLicMgrGetLicenseStatus (int(*sce_sbl_lic_mgr_get_license_status_for_driver)(void))
 

Variables

void * SceUIDSysrootObject::object
 
SceClass * SceUIDSysrootObject::sce_class
 
SceSize SceUIDSysrootObject::size
 
SceUInt32 SceUIDSysrootObject::magic1
 
int SceUIDSysrootObject::cpu_intr
 
SceSize SceUIDSysrootObject::boot_alloc_memory_size
 
void * SceUIDSysrootObject::boot_alloc_memory
 
int SceUIDSysrootObject::unk_0x1C
 
void * SceUIDSysrootObject::unk_0x20
 
SceUInt32 SceUIDSysrootObject::boot_flags
 
SceUInt32 SceUIDSysrootObject::status
 
SceCorelockContext SceUIDSysrootObject::corelock_context
 
int SceUIDSysrootObject::unk_0x34
 
int SceUIDSysrootObject::unk_0x38
 
void * SceUIDSysrootObject::unk_0x3C
 
void * SceUIDSysrootObject::unk_0x40
 
void * SceUIDSysrootObject::unk_0x44
 
void * SceUIDSysrootObject::unk_0x48
 
void * SceUIDSysrootObject::unk_0x4C
 
void * SceUIDSysrootObject::unk_0x50
 
int SceUIDSysrootObject::unk_0x54
 
void * SceUIDSysrootObject::unk_0x58
 
int SceUIDSysrootObject::unk_0x5C
 
int SceUIDSysrootObject::unk_0x60
 
int SceUIDSysrootObject::unk_0x64
 
int SceUIDSysrootObject::unk_0x68
 
SceKblParam * SceUIDSysrootObject::kbl_param
 
SceKernelBootArgs * SceUIDSysrootObject::boot_args
 
SceUInt32 SceUIDSysrootObject::soc_revision
 
SceUInt32 SceUIDSysrootObject::unk_0x78
 
SceUInt32 SceUIDSysrootObject::soc_revision2
 
SceUInt32 SceUIDSysrootObject::model_info
 
SceUInt32 SceUIDSysrootObject::model_capability
 
void * SceUIDSysrootObject::longtime5base
 
int SceUIDSysrootObject::cpu_intr_for_init_callback
 
SceUInt32 SceUIDSysrootObject::init_callback_registable_base_number
 
int(* SceUIDSysrootObject::callback )(int a1, void *args)
 
void * SceUIDSysrootObject::args
 
struct { 
 
int(* callback )(int a1, void *args)
 
void * args
 
} SceUIDSysrootObject::init_callback_slot [SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC][SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT] 
 
int(* SceUIDSysrootObject::funcThreadMgrStartAfterProcess )(void)
 
int(* SceUIDSysrootObject::funcIofilemgrStart )(void)
 
void * SceUIDSysrootObject::unk_0x2DC
 
void * SceUIDSysrootObject::unk_0x2E0
 
char * SceUIDSysrootObject::sysroot_names [9]
 
SceUID SceUIDSysrootObject::this_object_uid
 
void * SceUIDSysrootObject::unk_0x30C
 
void * SceUIDSysrootObject::unk_0x310
 
void * SceUIDSysrootObject::unk_0x314
 
void * SceUIDSysrootObject::VBAR
 
void * SceUIDSysrootObject::MVBAR
 
void * SceUIDSysrootObject::unk_0x320
 
void ** SceUIDSysrootObject::unk_func_0x324
 
SceUID(* SceUIDSysrootObject::funcGetThreadId )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction3 )(void)
 
SceUID(* SceUIDSysrootObject::funcGetProcessId )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction4 )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction5 )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction6 )(void)
 
void(* SceUIDSysrootObject::funcThreadFunction7 )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction8 )(void)
 
int(* SceUIDSysrootObject::funcThreadFunction9 )(int a1, int a2, int a3)
 
int(* SceUIDSysrootObject::funcThreadFunction10 )(int a1)
 
SceSysrootModulemgrHandlers * SceUIDSysrootObject::modulemgr_handlers
 
int SceUIDSysrootObject::unk_0x354
 
SceSysrootForKernel_D29BCA77_struct * SceUIDSysrootObject::processmgr_callbacks1
 
SceSysrootForDriver_733C243E_struct * SceUIDSysrootObject::processmgr_callbacks2
 
void * SceUIDSysrootObject::unk_func_0x360
 
int(* SceUIDSysrootObject::funcGetBusError )(void *dst, uint32_t len)
 
int(* SceUIDSysrootObject::funcAppMgrFunction1 )(int a1, int a2, int a3, int a4, int a5, int a6)
 
SceUID(* SceUIDSysrootObject::funcGetShellPid )(void)
 
void * SceUIDSysrootObject::unk_func_0x370
 
void * SceUIDSysrootObject::unk_func_0x374
 
void * SceUIDSysrootObject::unk_func_0x378
 
int SceUIDSysrootObject::unk_0x37C
 
void * SceUIDSysrootObject::unk_func_0x380
 
int(* SceUIDSysrootObject::unk_func_0x384 )(void)
 
int(* SceUIDSysrootObject::unk_func_0x388 )(void)
 
void * SceUIDSysrootObject::unk_func_0x38C
 
void * SceUIDSysrootObject::unk_func_0x390
 
int(* SceUIDSysrootObject::funcHasNpTestFlag )(void)
 
void * SceUIDSysrootObject::unk_func_0x398
 
int(* SceUIDSysrootObject::funcLedSetMode )(int led, int mode, void *led_configuration)
 
SceKernelVARange * SceUIDSysrootObject::cached_sm_info_ranges
 
int(* SceUIDSysrootObject::funcGetFunctionNameByNID )(SceNID funcnid, const char **name)
 
void * SceUIDSysrootObject::unk_0x3A8
 
void * SceUIDSysrootObject::unk_0x3AC
 
void * SceUIDSysrootObject::unk_struct_0x3B0
 
void * SceUIDSysrootObject::unk_0x3B4
 
void * SceUIDSysrootObject::unk_0x3B8
 
void * SceUIDSysrootObject::unk_0x3BC
 
void * SceUIDSysrootObject::unk_0x3C0
 
SceSysrootProcessHandler * SceUIDSysrootObject::process_handler
 
SceSysrootDbgpHandler * SceUIDSysrootObject::dbgp_handler
 
void * SceUIDSysrootObject::unk_func_0x3CC
 
void * SceUIDSysrootObject::unk_func_0x3D0
 
void * SceUIDSysrootObject::unk_func_0x3D4
 
void * SceUIDSysrootObject::unk_func_0x3D8
 
void * SceUIDSysrootObject::unk_func_0x3DC
 
void * SceUIDSysrootObject::unk_func_0x3E0
 
int(* SceUIDSysrootObject::funcAppMgrFunction3 )(int a1, int a2)
 
int(* SceUIDSysrootObject::funcAppMgrFunction4 )(int a1, int a2)
 
int(* SceUIDSysrootObject::funcAppMgrFunction5 )(int a1)
 
void * SceUIDSysrootObject::unk_func_0x3F0
 
void * SceUIDSysrootObject::unk_struct_0x3F4
 
void * SceUIDSysrootObject::unk_struct_0x3F8
 
void * SceUIDSysrootObject::unk_struct_0x3FC
 
void * SceUIDSysrootObject::unk_data_0x400
 
void * SceUIDSysrootObject::unk_func_0x404
 
void * SceUIDSysrootObject::unk_func_0x408
 
void * SceUIDSysrootObject::unk_func_0x40C
 
void * SceUIDSysrootObject::unk_func_0x410
 
void * SceUIDSysrootObject::unk_func_0x414
 
SceUInt32 SceUIDSysrootObject::magic2
 
SceSize SceKernelSysrootSelfInfo::size
 
void * SceKernelSysrootSelfInfo::self_data
 
SceSize SceKernelSysrootSelfInfo::self_size
 
SceSize SceSysrootProcessHandler::size
 sizeof(SceSysrootProcessHandler)
 
void(* SceSysrootProcessHandler::unk_4 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 process start shared modules
 
void(* SceSysrootProcessHandler::exit )(SceUID pid, int flags, uint64_t time)
 
void(* SceSysrootProcessHandler::kill )(SceUID pid)
 by SceShell
 
void(* SceSysrootProcessHandler::unk_10 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* SceSysrootProcessHandler::unk_14 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* SceSysrootProcessHandler::unk_18 )(SceUID pid, SceUID modid, uint64_t time)
 
int(* SceSysrootProcessHandler::on_process_created )(int a1, int a2, int a3)
 called when process is created
 
void(* SceSysrootProcessHandler::unk_20 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* SceSysrootProcessHandler::unk_24 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 
SceSize SceSysrootDbgpHandler::size
 sizeof(SceSysrootDbgpHandler):0x5C
 
void(* SceSysrootDbgpHandler::unk_0x04 )(int a1, int a2, int a3, int a4)
 
void(* SceSysrootDbgpHandler::unk_0x08 )(int a1, int a2, int a3, int a4)
 
void(* SceSysrootDbgpHandler::unk_0x0C )(int a1)
 
void(* SceSysrootDbgpHandler::unk_0x10 )(int a1, int a2, int a3, int a4)
 
void(* SceSysrootDbgpHandler::unk_0x14 )(int a1, int a2, int a3, int a4)
 
void(* SceSysrootDbgpHandler::unk_0x18 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 
void(* SceSysrootDbgpHandler::unk_0x1C )(int a1, int a2, int a3)
 
void(* SceSysrootDbgpHandler::unk_0x20 )(int a1, int a2, int a3)
 
void(* SceSysrootDbgpHandler::unk_0x24 )(int a1, int a2, int a3)
 
void(* SceSysrootDbgpHandler::unk_0x28 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* SceSysrootDbgpHandler::unk_0x2C )(SceUID pid, SceUID modid, uint64_t time)
 
int(* SceSysrootDbgpHandler::unk_0x30 )(SceUID pid)
 
int(* SceSysrootDbgpHandler::unk_0x34 )(int a1, int a2, int a3)
 
int(* SceSysrootDbgpHandler::unk_0x38 )(int a1, int a2, void *a3)
 
int(* SceSysrootDbgpHandler::unk_0x3C )(int a1, int a2, int a3)
 
int(* SceSysrootDbgpHandler::unk_0x40 )(SceUID pid, int *some_flag)
 
int(* SceSysrootDbgpHandler::unk_0x44 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 
int(* SceSysrootDbgpHandler::unk_0x48 )(int a1, int a2, int a3)
 
void(* SceSysrootDbgpHandler::unk_0x4C )(void)
 
void(* SceSysrootDbgpHandler::unk_0x50 )(void)
 
int(* SceSysrootDbgpHandler::unk_0x54 )(int a1, int a2, int a3, int a4, int a5)
 
int(* SceSysrootDbgpHandler::unk_0x58 )(int a1, int a2, int a3)
 
SceSize SceSyscallInfo::size
 Must be set to sizeof(SceSyscallInfo).
 
SceUID SceSyscallInfo::module_id
 Global module UID.
 
SceUInt16 SceSyscallInfo::module_attr
 
SceUInt8 SceSyscallInfo::module_version [2]
 
char SceSyscallInfo::module_name [0x1C]
 
SceNID SceSyscallInfo::module_nid
 
const char * SceSyscallInfo::library_name
 Read-only imported-library name.
 
SceUInt32 SceSyscallInfo::reserved
 Reserved; set to zero on FW 3.60.
 
SceUInt16 SceSyscallInfo::library_version
 
SceUInt16 SceSyscallInfo::reserved2
 Reserved; not written on FW 3.60.
 
SceNID SceSyscallInfo::function_nid
 Imported function NID corresponding to the stub address.
 

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSysrootForDriver_stub SceSysrootForKernel_stub




Data Structure Documentation

◆ SceUIDSysrootObject

struct SceUIDSysrootObject

Data Fields

void * object
 
SceClass * sce_class
 
SceSize size
 
SceUInt32 magic1
 
int cpu_intr
 
SceSize boot_alloc_memory_size
 
void * boot_alloc_memory
 
int unk_0x1C
 
void * unk_0x20
 
SceUInt32 boot_flags
 
SceUInt32 status
 
SceCorelockContext corelock_context
 
int unk_0x34
 
int unk_0x38
 
void * unk_0x3C
 
void * unk_0x40
 
void * unk_0x44
 
void * unk_0x48
 
void * unk_0x4C
 
void * unk_0x50
 
int unk_0x54
 
void * unk_0x58
 
int unk_0x5C
 
int unk_0x60
 
int unk_0x64
 
int unk_0x68
 
SceKblParam * kbl_param
 
SceKernelBootArgs * boot_args
 
SceUInt32 soc_revision
 
SceUInt32 unk_0x78
 
SceUInt32 soc_revision2
 
SceUInt32 model_info
 
SceUInt32 model_capability
 
void * longtime5base
 
int cpu_intr_for_init_callback
 
SceUInt32 init_callback_registable_base_number
 
struct { 
 
int(* callback )(int a1, void *args)
 
void * args
 
} init_callback_slot [SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC][SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT] 
 
int(* funcThreadMgrStartAfterProcess )(void)
 
int(* funcIofilemgrStart )(void)
 
void * unk_0x2DC
 
void * unk_0x2E0
 
char * sysroot_names [9]
 
SceUID this_object_uid
 
void * unk_0x30C
 
void * unk_0x310
 
void * unk_0x314
 
void * VBAR
 
void * MVBAR
 
void * unk_0x320
 
void ** unk_func_0x324
 
SceUID(* funcGetThreadId )(void)
 
int(* funcThreadFunction3 )(void)
 
SceUID(* funcGetProcessId )(void)
 
int(* funcThreadFunction4 )(void)
 
int(* funcThreadFunction5 )(void)
 
int(* funcThreadFunction6 )(void)
 
void(* funcThreadFunction7 )(void)
 
int(* funcThreadFunction8 )(void)
 
int(* funcThreadFunction9 )(int a1, int a2, int a3)
 
int(* funcThreadFunction10 )(int a1)
 
SceSysrootModulemgrHandlers * modulemgr_handlers
 
int unk_0x354
 
SceSysrootForKernel_D29BCA77_struct * processmgr_callbacks1
 
SceSysrootForDriver_733C243E_struct * processmgr_callbacks2
 
void * unk_func_0x360
 
int(* funcGetBusError )(void *dst, uint32_t len)
 
int(* funcAppMgrFunction1 )(int a1, int a2, int a3, int a4, int a5, int a6)
 
SceUID(* funcGetShellPid )(void)
 
void * unk_func_0x370
 
void * unk_func_0x374
 
void * unk_func_0x378
 
int unk_0x37C
 
void * unk_func_0x380
 
int(* unk_func_0x384 )(void)
 
int(* unk_func_0x388 )(void)
 
void * unk_func_0x38C
 
void * unk_func_0x390
 
int(* funcHasNpTestFlag )(void)
 
void * unk_func_0x398
 
int(* funcLedSetMode )(int led, int mode, void *led_configuration)
 
SceKernelVARange * cached_sm_info_ranges
 
int(* funcGetFunctionNameByNID )(SceNID funcnid, const char **name)
 
void * unk_0x3A8
 
void * unk_0x3AC
 
void * unk_struct_0x3B0
 
void * unk_0x3B4
 
void * unk_0x3B8
 
void * unk_0x3BC
 
void * unk_0x3C0
 
SceSysrootProcessHandler * process_handler
 
SceSysrootDbgpHandler * dbgp_handler
 
void * unk_func_0x3CC
 
void * unk_func_0x3D0
 
void * unk_func_0x3D4
 
void * unk_func_0x3D8
 
void * unk_func_0x3DC
 
void * unk_func_0x3E0
 
int(* funcAppMgrFunction3 )(int a1, int a2)
 
int(* funcAppMgrFunction4 )(int a1, int a2)
 
int(* funcAppMgrFunction5 )(int a1)
 
void * unk_func_0x3F0
 
void * unk_struct_0x3F4
 
void * unk_struct_0x3F8
 
void * unk_struct_0x3FC
 
void * unk_data_0x400
 
void * unk_func_0x404
 
void * unk_func_0x408
 
void * unk_func_0x40C
 
void * unk_func_0x410
 
void * unk_func_0x414
 
SceUInt32 magic2
 

◆ SceKernelSysrootSelfInfo

struct SceKernelSysrootSelfInfo
Data Fields
SceSize size
void * self_data
SceSize self_size

◆ SceSysrootProcessHandler

struct SceSysrootProcessHandler

Data Fields

SceSize size
 sizeof(SceSysrootProcessHandler)
 
void(* unk_4 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 process start shared modules
 
void(* exit )(SceUID pid, int flags, uint64_t time)
 
void(* kill )(SceUID pid)
 by SceShell
 
void(* unk_10 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* unk_14 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* unk_18 )(SceUID pid, SceUID modid, uint64_t time)
 
int(* on_process_created )(int a1, int a2, int a3)
 called when process is created
 
void(* unk_20 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* unk_24 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 

◆ SceSysrootDbgpHandler

struct SceSysrootDbgpHandler

Data Fields

SceSize size
 sizeof(SceSysrootDbgpHandler):0x5C
 
void(* unk_0x04 )(int a1, int a2, int a3, int a4)
 
void(* unk_0x08 )(int a1, int a2, int a3, int a4)
 
void(* unk_0x0C )(int a1)
 
void(* unk_0x10 )(int a1, int a2, int a3, int a4)
 
void(* unk_0x14 )(int a1, int a2, int a3, int a4)
 
void(* unk_0x18 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 
void(* unk_0x1C )(int a1, int a2, int a3)
 
void(* unk_0x20 )(int a1, int a2, int a3)
 
void(* unk_0x24 )(int a1, int a2, int a3)
 
void(* unk_0x28 )(SceUID pid, SceUID modid, uint64_t time)
 
void(* unk_0x2C )(SceUID pid, SceUID modid, uint64_t time)
 
int(* unk_0x30 )(SceUID pid)
 
int(* unk_0x34 )(int a1, int a2, int a3)
 
int(* unk_0x38 )(int a1, int a2, void *a3)
 
int(* unk_0x3C )(int a1, int a2, int a3)
 
int(* unk_0x40 )(SceUID pid, int *some_flag)
 
int(* unk_0x44 )(SceUID pid, SceUID modid, int flags, uint64_t time)
 
int(* unk_0x48 )(int a1, int a2, int a3)
 
void(* unk_0x4C )(void)
 
void(* unk_0x50 )(void)
 
int(* unk_0x54 )(int a1, int a2, int a3, int a4, int a5)
 
int(* unk_0x58 )(int a1, int a2, int a3)
 

◆ SceSyscallInfo

struct SceSyscallInfo
Data Fields
SceSize size Must be set to sizeof(SceSyscallInfo).
SceUID module_id Global module UID.
SceUInt16 module_attr
SceUInt8 module_version[2]
char module_name[0x1C]
SceNID module_nid
const char * library_name Read-only imported-library name.
SceUInt32 reserved Reserved; set to zero on FW 3.60.
SceUInt16 library_version
SceUInt16 reserved2 Reserved; not written on FW 3.60.
SceNID function_nid Imported function NID corresponding to the stub address.

◆ SceUIDSysrootObject.init_callback_slot

struct SceUIDSysrootObject.init_callback_slot

Data Fields

int(* callback )(int a1, void *args)
 
void * args
 

Field Documentation

◆ callback

◆ args

Macro Definition Documentation

◆ SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC

#define SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC   (9)

◆ SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT

#define SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT   (8)

◆ ksceKernelGetSysrootBuffer

#define ksceKernelGetSysrootBuffer ( )    ksceKernelSysrootGetKblParam()

◆ ksceKernelGetProcessTitleId

#define ksceKernelGetProcessTitleId (   pid,
  titleid,
  len 
)    ksceKernelSysrootGetProcessTitleId(pid, titleid, len)

◆ ksceKernelIsSomeBootMode

#define ksceKernelIsSomeBootMode   ksceSysrootIsSdCardMode

Typedef Documentation

◆ SceKernelBootArgs

◆ SceSysrootModulemgrHandlers

◆ SceSysrootForKernel_D29BCA77_struct

◆ SceSysrootForDriver_733C243E_struct

◆ SceSysroot

◆ SceKernelGetSystemSwVersionFunc

typedef int(* SceKernelGetSystemSwVersionFunc) (void)

◆ SceKernelCoredumpTriggerFunc

typedef int(* SceKernelCoredumpTriggerFunc) (ScePID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param)

◆ SceUIDAddressSpaceObject

Opaque class-specific data for an address-space UID object.

Enumeration Type Documentation

◆ SceKernelSysrootSelfIndex

Enumerator
SCE_KERNEL_SYSROOT_SELF_INDEX_GCAUTHMGR_SM 
SCE_KERNEL_SYSROOT_SELF_INDEX_RMAUTH_SM 
SCE_KERNEL_SYSROOT_SELF_INDEX_ENCDEC_W_PORTABILITY_SM 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/5]

VITASDK_BUILD_ASSERT_EQ ( 0x41C  ,
SceUIDSysrootObject   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/5]

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceKernelSysrootSelfInfo   
)

◆ ksceSysrootGetSysroot()

SceSysroot * ksceSysrootGetSysroot ( void  )

Get sysroot object pointer.

Returns
sysroot object pointer.

◆ ksceKernelSysrootSetSysroot()

void ksceKernelSysrootSetSysroot ( SceUID  sysroot_uid)

Set sysroot object uid.

Returns
none.

note - Not should be call this function after boot.

◆ ksceKernelSysrootGetKblParam()

void * ksceKernelSysrootGetKblParam ( void  )

Get SceKblParam.

Returns
The pointer of SceKblParam data or NULL.

◆ ksceKernelSysrootGetProcessTitleId()

int ksceKernelSysrootGetProcessTitleId ( SceUID  pid,
char *  titleid,
SceSize  len 
)

◆ ksceSysrootGetSelfInfo()

int ksceSysrootGetSelfInfo ( SceKernelSysrootSelfIndex  index,
SceKernelSysrootSelfInfo *  info 
)

◆ ksceSysrootUseExternalStorage()

int ksceSysrootUseExternalStorage ( void  )

Get UseExternalStorage status.

Returns 1 if an external device(sdcard) is available.

Returns
0 or 1.

◆ ksceSysrootUseInternalStorage()

int ksceSysrootUseInternalStorage ( void  )

Get UseInternalStorage status.

Returns 1 if using an internal device(pre-memcard).

Returns
0 or 1.

◆ ksceSysrootIsManufacturingMode()

int ksceSysrootIsManufacturingMode ( void  )

Get ManufacturingMode status.

Returns 1 if the device is in manufacturing mode.

Returns
0 or 1.

◆ ksceSysrootIsNonRemovableCardMode()

int ksceSysrootIsNonRemovableCardMode ( void  )

Get NonRemovableCardMode status.

Returns 1 if using an non removable card(pre-memcard).

Returns
0 or 1.

◆ VITASDK_BUILD_ASSERT_EQ() [3/5]

VITASDK_BUILD_ASSERT_EQ ( 0x28  ,
SceSysrootProcessHandler   
)

◆ ksceKernelSysrootSetProcessHandler()

int ksceKernelSysrootSetProcessHandler ( const SceSysrootProcessHandler *  handlers)

Set handlers for the process lifecycle.

This internal function allows a developer to introspect and receive events based on the process lifecycle.

Parameters
[in]handlersPointer to struct containing the handlers. This function does not copy the handlers, so this pointer must remain valid after a successful call.
Returns
0 on success, < 0 on error.

◆ VITASDK_BUILD_ASSERT_EQ() [4/5]

VITASDK_BUILD_ASSERT_EQ ( 0x5C  ,
SceSysrootDbgpHandler   
)

◆ ksceKernelSysrootRegisterDbgpHandler()

int ksceKernelSysrootRegisterDbgpHandler ( const SceSysrootDbgpHandler *  handlers)

Register Dbgp handlers.

Parameters
[in]handlerspointer of handlers
Returns
0 on success, < 0 on error.

◆ ksceKernelSysrootUnregisterDbgpHandler()

void ksceKernelSysrootUnregisterDbgpHandler ( void  )

Unregister Dbgp handlers.

Returns
none.

◆ ksceSysrootGetHardwareFlags()

int ksceSysrootGetHardwareFlags ( void *  flags)

Get hardware flags.

Parameters
[out]flags- The flags output buffer. size is 0x10 byte
Returns
always 0.

◆ ksceSysrootIsBsodReboot()

int ksceSysrootIsBsodReboot ( void  )

◆ ksceSysrootIsSafeMode()

int ksceSysrootIsSafeMode ( void  )

◆ ksceSysrootIsUpdateMode()

int ksceSysrootIsUpdateMode ( void  )

◆ ksceSysrootIsUsbEnumWakeup()

int ksceSysrootIsUsbEnumWakeup ( void  )

◆ ksceSysrootIsExternalBootMode()

int ksceSysrootIsExternalBootMode ( void  )

◆ ksceKernelSysrootSetGetSystemSwVersionFunc()

void ksceKernelSysrootSetGetSystemSwVersionFunc ( SceKernelGetSystemSwVersionFunc  func)

Set GetSystemSwVersion function.

Parameters
[in]func- The GetSystemSwVersion function pointer.
Returns
none.

◆ ksceKernelSysrootGetSystemSwVersion()

int ksceKernelSysrootGetSystemSwVersion ( void  )

Get System software version from ksceKernelSysrootSetGetSystemSwVersionFunc setting function.

Returns
SystemSwVersion on success, < 0 on error.

◆ ksceKernelSysrootGetShellPid()

SceUID ksceKernelSysrootGetShellPid ( void  )

Get SceShell process id.

Returns
pid on success, < 0 on error.

◆ ksceKernelSysrootRegisterCoredumpTrigger()

void ksceKernelSysrootRegisterCoredumpTrigger ( SceKernelCoredumpTriggerFunc  func)

Register coredump trigger function.

Parameters
[in]func- The coredump trigger function pointer.
Returns
none.

◆ VITASDK_BUILD_ASSERT_EQ() [5/5]

VITASDK_BUILD_ASSERT_EQ ( 0x3C  ,
SceSyscallInfo   
)

◆ ksceKernelAllocHeapMemory2()

void * ksceKernelAllocHeapMemory2 ( ScePID  pid,
SceSize  size,
SceKernelHeapMemoryOpt *  opt 
)

Allocate memory from a process heap.

FW 3.60 redirects SCE_KERNEL_PROCESS_ID, SCE_KERNEL_DUMMY_PROCESS_GAME_ID, and SCE_KERNEL_DUMMY_PROCESS_SYSTEM_ID to SCE_KERNEL_HEAP_ID. Other process IDs are passed to the registered process-heap allocator.

Parameters
[in]pidProcess whose heap supplies the allocation.
[in]sizeAllocation size.
[in,out]optOptional heap-allocation options and mapping results.
Returns
The allocation address, or NULL on failure.

◆ ksceKernelInvokeInitCallback()

void ksceKernelInvokeInitCallback ( int  index)

Call all pending initialization callbacks up to and including a target slot.

Slots are processed in order, at most once, and each slot contains at most eight callbacks. FW 3.60 passes zero and the callback's registered private argument to each callback. An index outside 0 through 8 has no effect.

Parameters
[in]indexInitialization slot index from 0 through 8.

◆ ksceKernelIsColdBoot()

int ksceKernelIsColdBoot ( void  )

Test whether the current boot is a cold boot.

Returns
1 when bit 4 of the FW 3.60 boot-state word is clear, otherwise 0.

◆ ksceSysrootIsSdCardMode()

int ksceSysrootIsSdCardMode ( void  )

Test whether the boot parameters request SD card mode.

Returns
1 when bit 19 of the SceKblParam boot type indicator is set, otherwise 0.

◆ ksceKernelSysrootCheckModelCapability()

int ksceKernelSysrootCheckModelCapability ( int  capability_index)

Test a hardware-model capability bit.

The low byte of capability_index is used as the ARM shift count. A value from 0 through 31 selects that bit; a larger low-byte value returns zero. Known FW 3.60 callers use index 11 to enable the alternate removable-SD storage slot. The RTL USB-Ethernet driver uses index 12 to select a board variant that skips its GPIO port 1, bit 2 power sequence.

Returns
1 if the capability is present, otherwise 0.

◆ ksceKernelSysrootCoredumpTrigger()

int ksceKernelSysrootCoredumpTrigger ( ScePID  pid,
SceKernelCoredumpStateUpdateCallback  update_callback,
SceKernelCoredumpStateFinishCallback  finish_callback,
const SceCoredumpTriggerParam *  param 
)

Trigger a coredump through the registered coredump callback.

Parameters
[in]pidProcess identifier.
[in]update_callbackOptional progress callback.
[in]finish_callbackRequired completion callback.
[in]paramCoredump parameters.

FW 3.60 accepts the first part of the structure: size 4 through 7 uses the default dump level; size 8 through 19 also supplies dump_level; size 20 through 51 also supplies the output mode and custom path; and size 0x34 supplies the complete structure.

Returns
A positive coredump task ID on success, < 0 on error.

◆ ksceKernelSysrootGetCurrentAddressSpaceCB()

SceUIDAddressSpaceObject * ksceKernelSysrootGetCurrentAddressSpaceCB ( void  )

Get the current address-space UID object's class-specific data.

FW 3.60 uses the registered current-address-space callback when present and otherwise returns Sysroot's stored address-space pointer. This function does not acquire a reference to the object. The current process/Sysroot state still owns it.

◆ ksceKernelSysrootGetModulePrivate()

void * ksceKernelSysrootGetModulePrivate ( int  index)

Get a module-private area from the sysroot object.

FW 3.60 performs no bounds check on index. Known indices include 3 for Sysmem and 9 for Kernel Module Manager.

Parameters
[in]indexModule-private area index.
Returns
The registered module-private area.

◆ ksceKernelSysrootGetPUIDEntryHeap()

int ksceKernelSysrootGetPUIDEntryHeap ( ScePID  pid,
void **  entry_heap 
)

Get a process's internal PUID-entry heap.

Parameters
[in]pidProcess identifier passed to the registered Processmgr callback.
[out]entry_heapReceives the heap pointer; must be non-NULL. When Processmgr has not yet registered its callback, FW 3.60 supplies Sysroot's default entry heap.
Returns
0 when no callback is registered, otherwise the callback's result.

◆ ksceKernelSysrootGetStatus()

SceUInt32 ksceKernelSysrootGetStatus ( void  )
Returns
The raw Sysroot lifecycle state value.

◆ ksceKernelSysrootGetThreadAccessLevel()

int ksceKernelSysrootGetThreadAccessLevel ( void  )

Get the calling thread's access level.

Returns
The FW 3.60 access level: 0x10, 0x20, 0x40, or 0x80; or 0 when the function that supplies it is not registered.

◆ ksceKernelSysrootGetVbaseResetVector()

void * ksceKernelSysrootGetVbaseResetVector ( void  )
Returns
The configured virtual base of the reset vector.

◆ ksceSysrootGetFactorySystemSwVersion()

SceUInt32 ksceSysrootGetFactorySystemSwVersion ( void  )
Returns
The factory system-software version word.

◆ ksceSysrootGetHardwareInfo()

SceUInt32 ksceSysrootGetHardwareInfo ( void  )

Get the hardware-information bitfield.

Returns
The hardware-information bitfield.

◆ ksceSysrootGetModuleInfoForPid()

int ksceSysrootGetModuleInfoForPid ( ScePID  pid,
const void *  pc,
SceSyscallInfo *  info 
)

Get information about the imported function stub containing pc.

Parameters
[in]pidProcess whose loaded modules are searched.
[in]pcAddress in an imported function stub.
[in,out]infoOutput structure. Set its size to 0x3C before calling.
Returns
0 on success, < 0 on error or when Modulemgr is not registered.

◆ ksceSysrootGetNidName()

int ksceSysrootGetNidName ( SceNID  function_nid,
const char **  name 
)

Get a read-only symbolic name for a function NID when one is registered.

◆ ksceSysrootGetSelfAuthInfo()

int ksceSysrootGetSelfAuthInfo ( ScePID  pid,
SceSelfAuthInfo *  self_auth_info 
)

Get the 0x90-byte SELF authorization information for a process.

Before Processmgr registers its callback, FW 3.60 returns the boot/default authorization information.

◆ ksceSysrootGetSessionId()

void * ksceSysrootGetSessionId ( void *  session_id)

Get the 16-byte system session identifier.

Parameters
[out]session_idBuffer that receives exactly 16 bytes.
Returns
session_id.

◆ ksceSysrootGetWakeupFactor()

SceUInt32 ksceSysrootGetWakeupFactor ( void  )
Returns
The raw wakeup-factor bitfield.

◆ ksceSysrootRegisterLicMgrGetLicenseStatus()

int ksceSysrootRegisterLicMgrGetLicenseStatus ( int(*)(void)  sce_sbl_lic_mgr_get_license_status_for_driver)

Variable Documentation

◆ object

void* SceUIDSysrootObject::object

◆ sce_class

SceClass* SceUIDSysrootObject::sce_class

◆ size [1/5]

SceSize SceUIDSysrootObject::size

◆ magic1

SceUInt32 SceUIDSysrootObject::magic1

◆ cpu_intr

int SceUIDSysrootObject::cpu_intr

◆ boot_alloc_memory_size

SceSize SceUIDSysrootObject::boot_alloc_memory_size

◆ boot_alloc_memory

void* SceUIDSysrootObject::boot_alloc_memory

◆ unk_0x1C [1/2]

int SceUIDSysrootObject::unk_0x1C

◆ unk_0x20 [1/2]

void* SceUIDSysrootObject::unk_0x20

◆ boot_flags

SceUInt32 SceUIDSysrootObject::boot_flags

◆ status

SceUInt32 SceUIDSysrootObject::status

◆ corelock_context

SceCorelockContext SceUIDSysrootObject::corelock_context

◆ unk_0x34 [1/2]

int SceUIDSysrootObject::unk_0x34

◆ unk_0x38 [1/2]

int SceUIDSysrootObject::unk_0x38

◆ unk_0x3C [1/2]

void* SceUIDSysrootObject::unk_0x3C

◆ unk_0x40 [1/2]

void* SceUIDSysrootObject::unk_0x40

◆ unk_0x44 [1/2]

void* SceUIDSysrootObject::unk_0x44

◆ unk_0x48 [1/2]

void* SceUIDSysrootObject::unk_0x48

◆ unk_0x4C [1/2]

void* SceUIDSysrootObject::unk_0x4C

◆ unk_0x50 [1/2]

void* SceUIDSysrootObject::unk_0x50

◆ unk_0x54 [1/2]

int SceUIDSysrootObject::unk_0x54

◆ unk_0x58 [1/2]

void* SceUIDSysrootObject::unk_0x58

◆ unk_0x5C

int SceUIDSysrootObject::unk_0x5C

◆ unk_0x60

int SceUIDSysrootObject::unk_0x60

◆ unk_0x64

int SceUIDSysrootObject::unk_0x64

◆ unk_0x68

int SceUIDSysrootObject::unk_0x68

◆ kbl_param

SceKblParam* SceUIDSysrootObject::kbl_param

◆ boot_args

SceKernelBootArgs* SceUIDSysrootObject::boot_args

◆ soc_revision

SceUInt32 SceUIDSysrootObject::soc_revision

◆ unk_0x78

SceUInt32 SceUIDSysrootObject::unk_0x78

◆ soc_revision2

SceUInt32 SceUIDSysrootObject::soc_revision2

◆ model_info

SceUInt32 SceUIDSysrootObject::model_info

◆ model_capability

SceUInt32 SceUIDSysrootObject::model_capability

◆ longtime5base

void* SceUIDSysrootObject::longtime5base

◆ cpu_intr_for_init_callback

int SceUIDSysrootObject::cpu_intr_for_init_callback

◆ init_callback_registable_base_number

SceUInt32 SceUIDSysrootObject::init_callback_registable_base_number

◆ []

int(* { ... } ::callback) (int a1, void *args)

◆ []

void* { ... } ::args

◆ [struct]

struct { ... } SceUIDSysrootObject::init_callback_slot[SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC][SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT]

◆ funcThreadMgrStartAfterProcess

int(* SceUIDSysrootObject::funcThreadMgrStartAfterProcess) (void)

◆ funcIofilemgrStart

int(* SceUIDSysrootObject::funcIofilemgrStart) (void)

◆ unk_0x2DC

void* SceUIDSysrootObject::unk_0x2DC

◆ unk_0x2E0

void* SceUIDSysrootObject::unk_0x2E0

◆ sysroot_names

char* SceUIDSysrootObject::sysroot_names[9]

◆ this_object_uid

SceUID SceUIDSysrootObject::this_object_uid

◆ unk_0x30C

void* SceUIDSysrootObject::unk_0x30C

◆ unk_0x310

void* SceUIDSysrootObject::unk_0x310

◆ unk_0x314

void* SceUIDSysrootObject::unk_0x314

◆ VBAR

void* SceUIDSysrootObject::VBAR

◆ MVBAR

void* SceUIDSysrootObject::MVBAR

◆ unk_0x320

void* SceUIDSysrootObject::unk_0x320

◆ unk_func_0x324

void** SceUIDSysrootObject::unk_func_0x324

◆ funcGetThreadId

SceUID(* SceUIDSysrootObject::funcGetThreadId) (void)

◆ funcThreadFunction3

int(* SceUIDSysrootObject::funcThreadFunction3) (void)

◆ funcGetProcessId

SceUID(* SceUIDSysrootObject::funcGetProcessId) (void)

◆ funcThreadFunction4

int(* SceUIDSysrootObject::funcThreadFunction4) (void)

◆ funcThreadFunction5

int(* SceUIDSysrootObject::funcThreadFunction5) (void)

◆ funcThreadFunction6

int(* SceUIDSysrootObject::funcThreadFunction6) (void)

◆ funcThreadFunction7

void(* SceUIDSysrootObject::funcThreadFunction7) (void)

◆ funcThreadFunction8

int(* SceUIDSysrootObject::funcThreadFunction8) (void)

◆ funcThreadFunction9

int(* SceUIDSysrootObject::funcThreadFunction9) (int a1, int a2, int a3)

◆ funcThreadFunction10

int(* SceUIDSysrootObject::funcThreadFunction10) (int a1)

◆ modulemgr_handlers

SceSysrootModulemgrHandlers* SceUIDSysrootObject::modulemgr_handlers

◆ unk_0x354

int SceUIDSysrootObject::unk_0x354

◆ processmgr_callbacks1

SceSysrootForKernel_D29BCA77_struct* SceUIDSysrootObject::processmgr_callbacks1

◆ processmgr_callbacks2

SceSysrootForDriver_733C243E_struct* SceUIDSysrootObject::processmgr_callbacks2

◆ unk_func_0x360

void* SceUIDSysrootObject::unk_func_0x360

◆ funcGetBusError

int(* SceUIDSysrootObject::funcGetBusError) (void *dst, uint32_t len)

◆ funcAppMgrFunction1

int(* SceUIDSysrootObject::funcAppMgrFunction1) (int a1, int a2, int a3, int a4, int a5, int a6)

◆ funcGetShellPid

SceUID(* SceUIDSysrootObject::funcGetShellPid) (void)

◆ unk_func_0x370

void* SceUIDSysrootObject::unk_func_0x370

◆ unk_func_0x374

void* SceUIDSysrootObject::unk_func_0x374

◆ unk_func_0x378

void* SceUIDSysrootObject::unk_func_0x378

◆ unk_0x37C

int SceUIDSysrootObject::unk_0x37C

◆ unk_func_0x380

void* SceUIDSysrootObject::unk_func_0x380

◆ unk_func_0x384

int(* SceUIDSysrootObject::unk_func_0x384) (void)

◆ unk_func_0x388

int(* SceUIDSysrootObject::unk_func_0x388) (void)

◆ unk_func_0x38C

void* SceUIDSysrootObject::unk_func_0x38C

◆ unk_func_0x390

void* SceUIDSysrootObject::unk_func_0x390

◆ funcHasNpTestFlag

int(* SceUIDSysrootObject::funcHasNpTestFlag) (void)

◆ unk_func_0x398

void* SceUIDSysrootObject::unk_func_0x398

◆ funcLedSetMode

int(* SceUIDSysrootObject::funcLedSetMode) (int led, int mode, void *led_configuration)

◆ cached_sm_info_ranges

SceKernelVARange* SceUIDSysrootObject::cached_sm_info_ranges

◆ funcGetFunctionNameByNID

int(* SceUIDSysrootObject::funcGetFunctionNameByNID) (SceNID funcnid, const char **name)

◆ unk_0x3A8

void* SceUIDSysrootObject::unk_0x3A8

◆ unk_0x3AC

void* SceUIDSysrootObject::unk_0x3AC

◆ unk_struct_0x3B0

void* SceUIDSysrootObject::unk_struct_0x3B0

◆ unk_0x3B4

void* SceUIDSysrootObject::unk_0x3B4

◆ unk_0x3B8

void* SceUIDSysrootObject::unk_0x3B8

◆ unk_0x3BC

void* SceUIDSysrootObject::unk_0x3BC

◆ unk_0x3C0

void* SceUIDSysrootObject::unk_0x3C0

◆ process_handler

SceSysrootProcessHandler* SceUIDSysrootObject::process_handler

◆ dbgp_handler

SceSysrootDbgpHandler* SceUIDSysrootObject::dbgp_handler

◆ unk_func_0x3CC

void* SceUIDSysrootObject::unk_func_0x3CC

◆ unk_func_0x3D0

void* SceUIDSysrootObject::unk_func_0x3D0

◆ unk_func_0x3D4

void* SceUIDSysrootObject::unk_func_0x3D4

◆ unk_func_0x3D8

void* SceUIDSysrootObject::unk_func_0x3D8

◆ unk_func_0x3DC

void* SceUIDSysrootObject::unk_func_0x3DC

◆ unk_func_0x3E0

void* SceUIDSysrootObject::unk_func_0x3E0

◆ funcAppMgrFunction3

int(* SceUIDSysrootObject::funcAppMgrFunction3) (int a1, int a2)

◆ funcAppMgrFunction4

int(* SceUIDSysrootObject::funcAppMgrFunction4) (int a1, int a2)

◆ funcAppMgrFunction5

int(* SceUIDSysrootObject::funcAppMgrFunction5) (int a1)

◆ unk_func_0x3F0

void* SceUIDSysrootObject::unk_func_0x3F0

◆ unk_struct_0x3F4

void* SceUIDSysrootObject::unk_struct_0x3F4

◆ unk_struct_0x3F8

void* SceUIDSysrootObject::unk_struct_0x3F8

◆ unk_struct_0x3FC

void* SceUIDSysrootObject::unk_struct_0x3FC

◆ unk_data_0x400

void* SceUIDSysrootObject::unk_data_0x400

◆ unk_func_0x404

void* SceUIDSysrootObject::unk_func_0x404

◆ unk_func_0x408

void* SceUIDSysrootObject::unk_func_0x408

◆ unk_func_0x40C

void* SceUIDSysrootObject::unk_func_0x40C

◆ unk_func_0x410

void* SceUIDSysrootObject::unk_func_0x410

◆ unk_func_0x414

void* SceUIDSysrootObject::unk_func_0x414

◆ magic2

SceUInt32 SceUIDSysrootObject::magic2

◆ size [2/5]

SceSize SceKernelSysrootSelfInfo::size

◆ self_data

void* SceKernelSysrootSelfInfo::self_data

◆ self_size

SceSize SceKernelSysrootSelfInfo::self_size

◆ size [3/5]

SceSize SceSysrootProcessHandler::size

sizeof(SceSysrootProcessHandler)

◆ unk_4

void(* SceSysrootProcessHandler::unk_4) (SceUID pid, SceUID modid, int flags, uint64_t time)

process start shared modules

◆ exit

void(* SceSysrootProcessHandler::exit) (SceUID pid, int flags, uint64_t time)

◆ kill

void(* SceSysrootProcessHandler::kill) (SceUID pid)

by SceShell

◆ unk_10

void(* SceSysrootProcessHandler::unk_10) (SceUID pid, SceUID modid, uint64_t time)

◆ unk_14

void(* SceSysrootProcessHandler::unk_14) (SceUID pid, SceUID modid, uint64_t time)

◆ unk_18

void(* SceSysrootProcessHandler::unk_18) (SceUID pid, SceUID modid, uint64_t time)

◆ on_process_created

int(* SceSysrootProcessHandler::on_process_created) (int a1, int a2, int a3)

called when process is created

◆ unk_20

void(* SceSysrootProcessHandler::unk_20) (SceUID pid, SceUID modid, uint64_t time)

◆ unk_24

void(* SceSysrootProcessHandler::unk_24) (SceUID pid, SceUID modid, int flags, uint64_t time)

◆ size [4/5]

SceSize SceSysrootDbgpHandler::size

sizeof(SceSysrootDbgpHandler):0x5C

◆ unk_0x04

void(* SceSysrootDbgpHandler::unk_0x04) (int a1, int a2, int a3, int a4)

◆ unk_0x08

void(* SceSysrootDbgpHandler::unk_0x08) (int a1, int a2, int a3, int a4)

◆ unk_0x0C

void(* SceSysrootDbgpHandler::unk_0x0C) (int a1)

◆ unk_0x10

void(* SceSysrootDbgpHandler::unk_0x10) (int a1, int a2, int a3, int a4)

◆ unk_0x14

void(* SceSysrootDbgpHandler::unk_0x14) (int a1, int a2, int a3, int a4)

◆ unk_0x18

void(* SceSysrootDbgpHandler::unk_0x18) (SceUID pid, SceUID modid, int flags, uint64_t time)

◆ unk_0x1C [2/2]

void(* SceSysrootDbgpHandler::unk_0x1C) (int a1, int a2, int a3)

◆ unk_0x20 [2/2]

void(* SceSysrootDbgpHandler::unk_0x20) (int a1, int a2, int a3)

◆ unk_0x24

void(* SceSysrootDbgpHandler::unk_0x24) (int a1, int a2, int a3)

◆ unk_0x28

void(* SceSysrootDbgpHandler::unk_0x28) (SceUID pid, SceUID modid, uint64_t time)

◆ unk_0x2C

void(* SceSysrootDbgpHandler::unk_0x2C) (SceUID pid, SceUID modid, uint64_t time)

◆ unk_0x30

int(* SceSysrootDbgpHandler::unk_0x30) (SceUID pid)

◆ unk_0x34 [2/2]

int(* SceSysrootDbgpHandler::unk_0x34) (int a1, int a2, int a3)

◆ unk_0x38 [2/2]

int(* SceSysrootDbgpHandler::unk_0x38) (int a1, int a2, void *a3)

◆ unk_0x3C [2/2]

int(* SceSysrootDbgpHandler::unk_0x3C) (int a1, int a2, int a3)

◆ unk_0x40 [2/2]

int(* SceSysrootDbgpHandler::unk_0x40) (SceUID pid, int *some_flag)

◆ unk_0x44 [2/2]

int(* SceSysrootDbgpHandler::unk_0x44) (SceUID pid, SceUID modid, int flags, uint64_t time)

◆ unk_0x48 [2/2]

int(* SceSysrootDbgpHandler::unk_0x48) (int a1, int a2, int a3)

◆ unk_0x4C [2/2]

void(* SceSysrootDbgpHandler::unk_0x4C) (void)

◆ unk_0x50 [2/2]

void(* SceSysrootDbgpHandler::unk_0x50) (void)

◆ unk_0x54 [2/2]

int(* SceSysrootDbgpHandler::unk_0x54) (int a1, int a2, int a3, int a4, int a5)

◆ unk_0x58 [2/2]

int(* SceSysrootDbgpHandler::unk_0x58) (int a1, int a2, int a3)

◆ size [5/5]

SceSize SceSyscallInfo::size

Must be set to sizeof(SceSyscallInfo).

◆ module_id

SceUID SceSyscallInfo::module_id

Global module UID.

◆ module_attr

SceUInt16 SceSyscallInfo::module_attr

◆ module_version

SceUInt8 SceSyscallInfo::module_version[2]

◆ module_name

char SceSyscallInfo::module_name[0x1C]

◆ module_nid

SceNID SceSyscallInfo::module_nid

◆ library_name

const char* SceSyscallInfo::library_name

Read-only imported-library name.

◆ reserved

SceUInt32 SceSyscallInfo::reserved

Reserved; set to zero on FW 3.60.

◆ library_version

SceUInt16 SceSyscallInfo::library_version

◆ reserved2

SceUInt16 SceSyscallInfo::reserved2

Reserved; not written on FW 3.60.

◆ function_nid

SceNID SceSyscallInfo::function_nid

Imported function NID corresponding to the stub address.