vitasdk
Documentation of the vitasdk
sysroot.h
Go to the documentation of this file.
1
6#ifndef _PSP2KERN_KERNEL_SYSROOT_H_
7#define _PSP2KERN_KERNEL_SYSROOT_H_
8
10#include <psp2kern/types.h>
12#include <psp2kern/kernel/cpu.h>
13#include <psp2kern/coredump.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
22typedef struct SceClass SceClass;
28
29#define SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC (9)
30#define SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT (8)
31
32typedef struct SceUIDSysrootObject { // size is 0x41C on FW 3.60
33 void *object;
35 SceSize size; // Size of this structure
39 void *boot_alloc_memory; // Used by boot time malloc
40 int unk_0x1C; // 0x4
41 void *unk_0x20; // size is 0x80-bytes
42 SceUInt32 boot_flags; // 0x10 for coldboot, 0x1 for secure state
45
46 // start ModulePrivate
47 int unk_0x34; // ex:0
48 int unk_0x38; // ex:0
49 void *unk_0x3C; // size is 4 byte.
50 void *unk_0x40; // Related to SceHeap. size is 0xDC byte.
51 void *unk_0x44; // SceExcpmgr data vaddr?
52 void *unk_0x48; // SceKernelIntrMgr data vaddr?
53 void *unk_0x4C;
54 void *unk_0x50;
55 int unk_0x54; // ex:0
56 void *unk_0x58;
57 int unk_0x5C; // ex:0
58 int unk_0x60; // ex:0
59 int unk_0x64; // ex:0
60 int unk_0x68; // Used by Tzs SceSblSmsched
61 // end ModulePrivate
62
70
72
79
81 int (* funcIofilemgrStart)(void);
82 void *unk_0x2DC;
83 void *unk_0x2E0;
84 char *sysroot_names[9];
86 void *unk_0x30C; // size is 0x2C-bytes, May be guid entry heap object
87 void *unk_0x310;
88 void *unk_0x314;
89 void *VBAR;
90 void *MVBAR;
91 void *unk_0x320;
92 void **unk_func_0x324; // SceSblACMgr
94 int (* funcThreadFunction3)(void); // Temp name, SceKernelThreadMgr + 0xC79, SceThreadmgrForDriver_91382762
96 int (* funcThreadFunction4)(void); // Temp name, SceKernelThreadMgr + 0x8D1
97 int (* funcThreadFunction5)(void); // Temp name, SceKernelThreadMgr + 0x8ED
98 int (* funcThreadFunction6)(void); // Temp name, SceKernelThreadMgr + 0x90D
99 void (* funcThreadFunction7)(void); // Temp name, SceKernelThreadMgr + 0xE69
100 int (* funcThreadFunction8)(void); // Temp name, SceKernelThreadMgr + 0x8BD, SceThreadmgrForDriver_332E127C
101 int (* funcThreadFunction9)(int a1, int a2, int a3); // Temp name, SceKernelThreadMgr + 0x2541
102 int (* funcThreadFunction10)(int a1); // Temp name, SceKernelThreadMgr + 0xC99, SceThreadmgrForDriver_AB977C72
104 int unk_0x354; // ex:0xFFFFFFFF
107 void *unk_func_0x360; // SceDeci4pSDfMgr
108 int (* funcGetBusError)(void *dst, uint32_t len);
109 int (* funcAppMgrFunction1)(int a1, int a2, int a3, int a4, int a5, int a6); // SceAppMgr + 0x2795, SceAppMgrForDriver_324DD34E
111 void *unk_func_0x370; // SceCoredump + 0x7109, SceCoredumpForDriver_A7D214A7
112 void *unk_func_0x374; // SceCoredump + 0x74F9, SceCoredumpForDriver_340856F7
113 void *unk_func_0x378; // SceCoredump + 0x132ED, SceCoredumpForDriver_EF20949F
114 int unk_0x37C; // ex:0
115 void *unk_func_0x380; // SceSblPostSsMgr + 0x9001, sceSblLicMgrGetLicenseStatusForDriver
116 int (* unk_func_0x384)(void); // SceSblPostSsMgr + 0xB005, SceSblPostSsMgrForDriver_22599675, get flag
117 int (* unk_func_0x388)(void); // SceSblPostSsMgr + 0xB011, SceSblPostSsMgrForDriver_9B49C249, get flag
118 void *unk_func_0x38C; // SceSblPostSsMgr + 0xB4ED, SceSblPostSsMgrForDriver_D8A2D465
119 void *unk_func_0x390; // SceSblPostSsMgr + 0xB111, sceSblUtMgrGetTrilithiumBufferForDriver
120 int (* funcHasNpTestFlag)(void);
121 void *unk_func_0x398; // SceSblUpdateMgr + 0x8B01
122 int (* funcLedSetMode)(int led, int mode, void *led_configuration);
124 int (* funcGetFunctionNameByNID)(SceNID funcnid, const char **name);
125 void *unk_0x3A8; // SceDeci4pSDfMgr or SceDeci4pDfMgr
126 void *unk_0x3AC; // SceDeci4pSDfMgr
127 void *unk_struct_0x3B0; // SceDeci4pDfMgr
128 void *unk_0x3B4; // SceDeci4pTsmp
129 void *unk_0x3B8; // SceDeci4pTsmp
130 void *unk_0x3BC; // SceDeci4pTsmp
131 void *unk_0x3C0; // SceDeci4pTsmp
133 SceSysrootDbgpHandler *dbgp_handler; // maybe for SceDeci4p
134 void *unk_func_0x3CC; // SceNetPs + 0x3E51, SceNetPsForDriver_83A12CCC
135 void *unk_func_0x3D0; // SceNetPs + 0x3F4D, SceNetPsForDriver_C000CA8F
136 void *unk_func_0x3D4; // SceDeci4pTmcp
137 void *unk_func_0x3D8; // SceDeci4pSDbgp
138 void *unk_func_0x3DC; // SceNetPs + 0x3E51, SceNetPsForDriver_83A12CCC
139 void *unk_func_0x3E0; // SceNetPs + 0x3F4D, SceNetPsForDriver_C000CA8F
140 int (* funcAppMgrFunction3)(int a1, int a2); // SceAppMgr + 0x9F49
141 int (* funcAppMgrFunction4)(int a1, int a2); // SceAppMgr + 0x9EED
142 int (* funcAppMgrFunction5)(int a1); // SceAppMgr + 0x9D31
143 void *unk_func_0x3F0; // ScePfsMgr + 0x1, ScePfsMgrForKernel_4C148288
144 void *unk_struct_0x3F4; // SceBt
145 void *unk_struct_0x3F8; // SceHid
146 void *unk_struct_0x3FC; // SceDeci4pSDbgp
147 void *unk_data_0x400; // SceDeci4pSDbgp
148 void *unk_func_0x404; // SceDeci4pSDfCtl
149 void *unk_func_0x408; // SceDeci4pSDfCtl
150 void *unk_func_0x40C; // ScePamgr
151 void *unk_func_0x410; // ScePamgr
152 void *unk_func_0x414; // ScePamgr
156
158
164
171
178
187
194
195/* Macro for backward compatibility */
196#define ksceKernelGetSysrootBuffer() ksceKernelSysrootGetKblParam()
197
199
200/* Macro for backward compatibility */
201#define ksceKernelGetProcessTitleId(pid, titleid, len) ksceKernelSysrootGetProcessTitleId(pid, titleid, len)
202
204
213
222
231
240
243 void (* unk_4)(SceUID pid, SceUID modid, int flags, uint64_t time);
244 void (* exit)(SceUID pid, int flags, uint64_t time);
245 void (* kill)(SceUID pid);
246 void (* unk_10)(SceUID pid, SceUID modid, uint64_t time);
247 void (* unk_14)(SceUID pid, SceUID modid, uint64_t time);
248 void (* unk_18)(SceUID pid, SceUID modid, uint64_t time);
249 int (* on_process_created)(int a1, int a2, int a3);
250 void (* unk_20)(SceUID pid, SceUID modid, uint64_t time);
251 void (* unk_24)(SceUID pid, SceUID modid, int flags, uint64_t time);
254
266
267typedef struct SceSysrootDbgpHandler {
269 void (* unk_0x04)(int a1, int a2, int a3, int a4);
270 void (* unk_0x08)(int a1, int a2, int a3, int a4);
271 void (* unk_0x0C)(int a1);
272 void (* unk_0x10)(int a1, int a2, int a3, int a4);
273 void (* unk_0x14)(int a1, int a2, int a3, int a4);
274 void (* unk_0x18)(SceUID pid, SceUID modid, int flags, uint64_t time);
275 void (* unk_0x1C)(int a1, int a2, int a3);
276 void (* unk_0x20)(int a1, int a2, int a3);
277 void (* unk_0x24)(int a1, int a2, int a3);
278 void (* unk_0x28)(SceUID pid, SceUID modid, uint64_t time);
279 void (* unk_0x2C)(SceUID pid, SceUID modid, uint64_t time);
281 int (* unk_0x34)(int a1, int a2, int a3);
282 int (* unk_0x38)(int a1, int a2, void *a3);
283 int (* unk_0x3C)(int a1, int a2, int a3);
284 int (* unk_0x40)(SceUID pid, int *some_flag);
285 int (* unk_0x44)(SceUID pid, SceUID modid, int flags, uint64_t time);
286 int (* unk_0x48)(int a1, int a2, int a3);
287 void (* unk_0x4C)(void);
288 void (* unk_0x50)(void);
289 int (* unk_0x54)(int a1, int a2, int a3, int a4, int a5);
290 int (* unk_0x58)(int a1, int a2, int a3);
293
302
309
318
324
326
335
342
349
351 ScePID pid,
355);
356
365
366
380VITASDK_BUILD_ASSERT_EQ(0x3C, SceSyscallInfo); // size is from FW 3.60
381
384
400
412
419
427#define ksceKernelIsSomeBootMode ksceSysrootIsSdCardMode
428
441
458
468
480
493
496
504
507
510
517
528
530int ksceSysrootGetNidName(SceNID function_nid, const char **name);
531
539
548
551int ksceSysrootRegisterLicMgrGetLicenseStatus(int (*sce_sbl_lic_mgr_get_license_status_for_driver)(void));
552
553#ifdef __cplusplus
554}
555#endif
556
557#endif /* _PSP2KERN_KERNEL_SYSROOT_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int(* SceKernelCoredumpStateUpdateCallback)(int task_id, ScePID pid, int progress)
Coredump progress callback.
Definition coredump.h:58
int(* SceKernelCoredumpStateFinishCallback)(int task_id, ScePID pid, int result, const char *path, SceSize path_len, int is_caf)
Coredump completion callback.
Definition coredump.h:74
Definition coredump.h:31
Definition corelock.h:18
uint8_t session_id[0x10]
Definition kbl.h:21
Definition kbl.h:18
char titleid[0xC]
Title id of the process where the event occurred.
Definition debug.h:4
int flags
Event flags.
Definition debug.h:3
SceUID pid
Definition debug.h:1
SceUInt64 time
Time of the event occurred.
Definition debug.h:7
void(* unk_0x04)(int a1, int a2, int a3, int a4)
Definition sysroot.h:269
void(* unk_0x4C)(void)
Definition sysroot.h:287
void * unk_struct_0x3FC
Definition sysroot.h:146
void * unk_func_0x398
Definition sysroot.h:121
SceSize size
Must be set to sizeof(SceSyscallInfo).
Definition sysroot.h:368
int unk_0x37C
Definition sysroot.h:114
void(* unk_0x14)(int a1, int a2, int a3, int a4)
Definition sysroot.h:273
void(* unk_0x24)(int a1, int a2, int a3)
Definition sysroot.h:277
void * unk_func_0x390
Definition sysroot.h:119
struct SceSysrootModulemgrHandlers SceSysrootModulemgrHandlers
Definition sysroot.h:25
SceKernelBootArgs * boot_args
Definition sysroot.h:64
int ksceSysrootRegisterLicMgrGetLicenseStatus(int(*sce_sbl_lic_mgr_get_license_status_for_driver)(void))
void * unk_struct_0x3F8
Definition sysroot.h:145
void * unk_func_0x3D8
Definition sysroot.h:137
int(* funcThreadFunction3)(void)
Definition sysroot.h:94
void * unk_0x3C0
Definition sysroot.h:131
int(* SceKernelCoredumpTriggerFunc)(ScePID pid, SceKernelCoredumpStateUpdateCallback update_func, SceKernelCoredumpStateFinishCallback finish_func, SceCoredumpTriggerParam *param)
Definition sysroot.h:350
SceSysroot * ksceSysrootGetSysroot(void)
Get sysroot object pointer.
void * unk_0x44
Definition sysroot.h:51
void(* unk_0x20)(int a1, int a2, int a3)
Definition sysroot.h:276
SceUID ksceKernelSysrootGetShellPid(void)
Get SceShell process id.
int unk_0x60
Definition sysroot.h:58
SceUInt32 ksceKernelSysrootGetStatus(void)
int(* on_process_created)(int a1, int a2, int a3)
called when process is created
Definition sysroot.h:249
int(* unk_0x38)(int a1, int a2, void *a3)
Definition sysroot.h:282
void(* unk_0x18)(SceUID pid, SceUID modid, int flags, uint64_t time)
Definition sysroot.h:274
void * unk_0x48
Definition sysroot.h:52
int(* unk_func_0x388)(void)
Definition sysroot.h:117
void(* funcThreadFunction7)(void)
Definition sysroot.h:99
void * unk_data_0x400
Definition sysroot.h:147
int(* unk_0x30)(SceUID pid)
Definition sysroot.h:280
int ksceSysrootIsBsodReboot(void)
int ksceKernelSysrootCoredumpTrigger(ScePID pid, SceKernelCoredumpStateUpdateCallback update_callback, SceKernelCoredumpStateFinishCallback finish_callback, const SceCoredumpTriggerParam *param)
Trigger a coredump through the registered coredump callback.
void * unk_func_0x374
Definition sysroot.h:112
int unk_0x68
Definition sysroot.h:60
int cpu_intr_for_init_callback
Definition sysroot.h:73
void * unk_0x2E0
Definition sysroot.h:83
void(* unk_14)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:247
int(* funcAppMgrFunction4)(int a1, int a2)
Definition sysroot.h:141
int ksceSysrootGetHardwareFlags(void *flags)
Get hardware flags.
SceCorelockContext corelock_context
Definition sysroot.h:44
int unk_0x34
Definition sysroot.h:47
void * unk_func_0x410
Definition sysroot.h:151
int(* funcGetFunctionNameByNID)(SceNID funcnid, const char **name)
Definition sysroot.h:124
SceSize self_size
Definition sysroot.h:168
SceUInt32 init_callback_registable_base_number
Definition sysroot.h:74
SceUInt8 module_version[2]
Definition sysroot.h:371
void * unk_0x3B8
Definition sysroot.h:129
int ksceKernelSysrootCheckModelCapability(int capability_index)
Test a hardware-model capability bit.
void * unk_0x4C
Definition sysroot.h:53
void * longtime5base
Definition sysroot.h:71
SceSize boot_alloc_memory_size
Definition sysroot.h:38
void ksceKernelSysrootUnregisterDbgpHandler(void)
Unregister Dbgp handlers.
int(* SceKernelGetSystemSwVersionFunc)(void)
Definition sysroot.h:325
struct SceSysrootForKernel_D29BCA77_struct SceSysrootForKernel_D29BCA77_struct
Definition sysroot.h:26
void(* unk_10)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:246
void * boot_alloc_memory
Definition sysroot.h:39
void * args
Definition sysroot.h:77
int cpu_intr
Definition sysroot.h:37
SceUInt16 reserved2
Reserved; not written on FW 3.60.
Definition sysroot.h:377
void * unk_func_0x370
Definition sysroot.h:111
struct SceUIDSysrootObject::@62 init_callback_slot[SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC][SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT]
const char * library_name
Read-only imported-library name.
Definition sysroot.h:374
SceUInt32 unk_0x78
Definition sysroot.h:66
int(* funcAppMgrFunction5)(int a1)
Definition sysroot.h:142
int ksceSysrootIsUpdateMode(void)
SceSysrootForKernel_D29BCA77_struct * processmgr_callbacks1
Definition sysroot.h:105
void * ksceSysrootGetSessionId(void *session_id)
Get the 16-byte system session identifier.
int(* unk_func_0x384)(void)
Definition sysroot.h:116
SceSysrootDbgpHandler * dbgp_handler
Definition sysroot.h:133
int unk_0x38
Definition sysroot.h:48
int(* unk_0x34)(int a1, int a2, int a3)
Definition sysroot.h:281
int(* funcHasNpTestFlag)(void)
Definition sysroot.h:120
int ksceSysrootIsNonRemovableCardMode(void)
Get NonRemovableCardMode status.
void * unk_0x40
Definition sysroot.h:50
int ksceKernelSysrootGetProcessTitleId(SceUID pid, char *titleid, SceSize len)
int ksceKernelSysrootRegisterDbgpHandler(const SceSysrootDbgpHandler *handlers)
Register Dbgp handlers.
int ksceSysrootGetModuleInfoForPid(ScePID pid, const void *pc, SceSyscallInfo *info)
Get information about the imported function stub containing pc.
int(* funcGetBusError)(void *dst, uint32_t len)
Definition sysroot.h:108
int ksceSysrootUseInternalStorage(void)
Get UseInternalStorage status.
void(* unk_0x0C)(int a1)
Definition sysroot.h:271
void ksceKernelSysrootSetGetSystemSwVersionFunc(SceKernelGetSystemSwVersionFunc func)
Set GetSystemSwVersion function.
void * unk_func_0x378
Definition sysroot.h:113
void * unk_0x3AC
Definition sysroot.h:126
#define SCE_SYSROOT_INIT_CALLBACK_MAX_FUNC
Definition sysroot.h:29
int ksceKernelSysrootGetSystemSwVersion(void)
Get System software version from ksceKernelSysrootSetGetSystemSwVersionFunc setting function.
SceKernelVARange * cached_sm_info_ranges
Definition sysroot.h:123
int ksceSysrootGetNidName(SceNID function_nid, const char **name)
Get a read-only symbolic name for a function NID when one is registered.
SceUInt32 ksceSysrootGetWakeupFactor(void)
SceSize size
Definition sysroot.h:35
int(* funcLedSetMode)(int led, int mode, void *led_configuration)
Definition sysroot.h:122
void(* unk_4)(SceUID pid, SceUID modid, int flags, uint64_t time)
process start shared modules
Definition sysroot.h:243
void * unk_func_0x3D4
Definition sysroot.h:136
void * unk_func_0x3DC
Definition sysroot.h:138
void * unk_0x30C
Definition sysroot.h:86
void * unk_func_0x404
Definition sysroot.h:148
void * unk_0x58
Definition sysroot.h:56
void(* unk_24)(SceUID pid, SceUID modid, int flags, uint64_t time)
Definition sysroot.h:251
int unk_0x354
Definition sysroot.h:104
int unk_0x5C
Definition sysroot.h:57
SceSysrootForDriver_733C243E_struct * processmgr_callbacks2
Definition sysroot.h:106
int(* funcAppMgrFunction1)(int a1, int a2, int a3, int a4, int a5, int a6)
Definition sysroot.h:109
void * unk_func_0x380
Definition sysroot.h:115
int(* funcThreadFunction9)(int a1, int a2, int a3)
Definition sysroot.h:101
void(* unk_0x08)(int a1, int a2, int a3, int a4)
Definition sysroot.h:270
int(* funcThreadFunction5)(void)
Definition sysroot.h:97
void * unk_func_0x40C
Definition sysroot.h:150
struct SceSysrootForDriver_733C243E_struct SceSysrootForDriver_733C243E_struct
Definition sysroot.h:27
void ** unk_func_0x324
Definition sysroot.h:92
void * unk_func_0x38C
Definition sysroot.h:118
void * unk_0x320
Definition sysroot.h:91
char module_name[0x1C]
Definition sysroot.h:372
SceUInt32 status
Definition sysroot.h:43
void * unk_struct_0x3B0
Definition sysroot.h:127
void(* unk_0x28)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:278
void * ksceKernelSysrootGetKblParam(void)
Get SceKblParam.
void(* unk_0x1C)(int a1, int a2, int a3)
Definition sysroot.h:275
void * unk_func_0x414
Definition sysroot.h:152
void * unk_struct_0x3F4
Definition sysroot.h:144
SceNID module_nid
Definition sysroot.h:373
void * MVBAR
Definition sysroot.h:90
int(* unk_0x44)(SceUID pid, SceUID modid, int flags, uint64_t time)
Definition sysroot.h:285
void * unk_0x3C
Definition sysroot.h:49
int ksceSysrootUseExternalStorage(void)
Get UseExternalStorage status.
int ksceSysrootGetSelfInfo(SceKernelSysrootSelfIndex index, SceKernelSysrootSelfInfo *info)
SceUID(* funcGetProcessId)(void)
Definition sysroot.h:95
SceKblParam * kbl_param
Definition sysroot.h:63
SceUInt32 magic1
Definition sysroot.h:36
void(* unk_18)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:248
void * unk_func_0x3D0
Definition sysroot.h:135
SceUInt16 library_version
Definition sysroot.h:376
void * unk_0x3A8
Definition sysroot.h:125
int unk_0x1C
Definition sysroot.h:40
int(* funcThreadFunction4)(void)
Definition sysroot.h:96
void * unk_func_0x3F0
Definition sysroot.h:143
struct SceUIDAddressSpaceObject SceUIDAddressSpaceObject
Opaque class-specific data for an address-space UID object.
Definition sysroot.h:383
SceUInt32 ksceSysrootGetFactorySystemSwVersion(void)
SceSize size
sizeof(SceSysrootProcessHandler)
Definition sysroot.h:242
void(* unk_20)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:250
void * unk_func_0x3E0
Definition sysroot.h:139
int(* funcThreadMgrStartAfterProcess)(void)
Definition sysroot.h:80
SceClass * sce_class
Definition sysroot.h:34
SceUInt32 magic2
Definition sysroot.h:153
int ksceSysrootIsSafeMode(void)
SceUInt32 ksceSysrootGetHardwareInfo(void)
Get the hardware-information bitfield.
SceSysrootModulemgrHandlers * modulemgr_handlers
Definition sysroot.h:103
SceUIDSysrootObject SceSysroot
Definition sysroot.h:157
void * unk_0x20
Definition sysroot.h:41
SceUIDAddressSpaceObject * ksceKernelSysrootGetCurrentAddressSpaceCB(void)
Get the current address-space UID object's class-specific data.
SceUID(* funcGetShellPid)(void)
Definition sysroot.h:110
int(* unk_0x58)(int a1, int a2, int a3)
Definition sysroot.h:290
void(* unk_0x2C)(SceUID pid, SceUID modid, uint64_t time)
Definition sysroot.h:279
SceUInt32 reserved
Reserved; set to zero on FW 3.60.
Definition sysroot.h:375
#define SCE_SYSROOT_INIT_CALLBACK_MAX_SLOT
Definition sysroot.h:30
char * sysroot_names[9]
Definition sysroot.h:84
int ksceKernelSysrootSetProcessHandler(const SceSysrootProcessHandler *handlers)
Set handlers for the process lifecycle.
SceKernelSysrootSelfIndex
Definition sysroot.h:159
void * unk_0x50
Definition sysroot.h:54
int ksceSysrootIsSdCardMode(void)
Test whether the boot parameters request SD card mode.
void * ksceKernelSysrootGetModulePrivate(int index)
Get a module-private area from the sysroot object.
void ksceKernelInvokeInitCallback(int index)
Call all pending initialization callbacks up to and including a target slot.
void(* unk_0x50)(void)
Definition sysroot.h:288
void * unk_0x3B4
Definition sysroot.h:128
int(* unk_0x54)(int a1, int a2, int a3, int a4, int a5)
Definition sysroot.h:289
int(* funcThreadFunction6)(void)
Definition sysroot.h:98
SceUID(* funcGetThreadId)(void)
Definition sysroot.h:93
SceUInt32 soc_revision
Definition sysroot.h:65
int ksceKernelSysrootGetPUIDEntryHeap(ScePID pid, void **entry_heap)
Get a process's internal PUID-entry heap.
void * unk_func_0x360
Definition sysroot.h:107
void * unk_0x310
Definition sysroot.h:87
int(* funcAppMgrFunction3)(int a1, int a2)
Definition sysroot.h:140
void * ksceKernelSysrootGetVbaseResetVector(void)
int(* funcThreadFunction8)(void)
Definition sysroot.h:100
SceUID module_id
Global module UID.
Definition sysroot.h:369
void * unk_0x314
Definition sysroot.h:88
int ksceSysrootIsUsbEnumWakeup(void)
void * unk_0x2DC
Definition sysroot.h:82
void * unk_0x3BC
Definition sysroot.h:130
int(* funcThreadFunction10)(int a1)
Definition sysroot.h:102
SceUInt32 model_capability
Definition sysroot.h:69
void * VBAR
Definition sysroot.h:89
SceSysrootProcessHandler * process_handler
Definition sysroot.h:132
SceSize size
Definition sysroot.h:166
struct SceKernelBootArgs SceKernelBootArgs
Definition sysroot.h:21
void * ksceKernelAllocHeapMemory2(ScePID pid, SceSize size, SceKernelHeapMemoryOpt *opt)
Allocate memory from a process heap.
int(* unk_0x3C)(int a1, int a2, int a3)
Definition sysroot.h:283
void * self_data
Definition sysroot.h:167
void * object
Definition sysroot.h:33
int(* funcIofilemgrStart)(void)
Definition sysroot.h:81
SceUID this_object_uid
Definition sysroot.h:85
void ksceKernelSysrootSetSysroot(SceUID sysroot_uid)
Set sysroot object uid.
void * unk_func_0x3CC
Definition sysroot.h:134
int ksceKernelIsColdBoot(void)
Test whether the current boot is a cold boot.
int(* unk_0x40)(SceUID pid, int *some_flag)
Definition sysroot.h:284
int ksceSysrootIsManufacturingMode(void)
Get ManufacturingMode status.
SceUInt16 module_attr
Definition sysroot.h:370
SceSize size
sizeof(SceSysrootDbgpHandler):0x5C
Definition sysroot.h:268
void(* unk_0x10)(int a1, int a2, int a3, int a4)
Definition sysroot.h:272
int unk_0x54
Definition sysroot.h:55
SceUInt32 boot_flags
Definition sysroot.h:42
int ksceSysrootIsExternalBootMode(void)
SceUInt32 soc_revision2
Definition sysroot.h:67
void(* exit)(SceUID pid, int flags, uint64_t time)
Definition sysroot.h:244
void(* kill)(SceUID pid)
by SceShell
Definition sysroot.h:245
SceNID function_nid
Imported function NID corresponding to the stub address.
Definition sysroot.h:378
void * unk_func_0x408
Definition sysroot.h:149
void ksceKernelSysrootRegisterCoredumpTrigger(SceKernelCoredumpTriggerFunc func)
Register coredump trigger function.
int ksceSysrootGetSelfAuthInfo(ScePID pid, SceSelfAuthInfo *self_auth_info)
Get the 0x90-byte SELF authorization information for a process.
int(* unk_0x48)(int a1, int a2, int a3)
Definition sysroot.h:286
int ksceKernelSysrootGetThreadAccessLevel(void)
Get the calling thread's access level.
int unk_0x64
Definition sysroot.h:59
SceUInt32 model_info
Definition sysroot.h:68
@ SCE_KERNEL_SYSROOT_SELF_INDEX_GCAUTHMGR_SM
Definition sysroot.h:160
@ SCE_KERNEL_SYSROOT_SELF_INDEX_RMAUTH_SM
Definition sysroot.h:161
@ SCE_KERNEL_SYSROOT_SELF_INDEX_ENCDEC_W_PORTABILITY_SM
Definition sysroot.h:162
Definition sysroot.h:165
Definition sysroot.h:367
Definition sysroot.h:267
Definition sysroot.h:241
Definition sysroot.h:32
SceLsdbDbBlobCallback callback
Definition lsdb.h:6
SceSize size
Definition lsdb.h:11
Definition uid_class.h:18
Options and mapping results for heap allocation.
Definition sysmem.h:368
int ScePID
Process ID.
Definition types.h:91
unsigned int SceSize
Definition types.h:56
uint16_t SceUInt16
Definition types.h:42
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
Definition types.h:116
SELF authorization information returned by AuthMgr and stored by Processmgr.
Definition types.h:161