7#ifndef _PSP2KERN_KERNEL_PROCESSMGR_H_
8#define _PSP2KERN_KERNEL_PROCESSMGR_H_
26 int unk[0xE8 / 4 - 6];
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition bt.h:2
SceSize size
struct size(variable size)
Definition debug.h:0
char titleid[0xC]
Title id of the process where the event occurred.
Definition debug.h:4
SceUID pid
Definition debug.h:1
SceSize size
size of this struct, make sure it's 0xE8
Definition processmgr.h:20
int ksceKernelGetProcessInfo(SceUID pid, SceKernelProcessInfo *info)
void * ksceKernelGetProcessLocalStorageAddr(int key)
int unk3
Definition processmgr.h:24
SceUInt32 SceKernelProcessType
Definition processmgr.h:17
int ksceKernelLibcGettimeofday(SceKernelTimeval *tv, SceKernelTimezone *tz)
int ksceKernelCreateProcessLocalStorage(const char *name, SceSize size)
int ksceKernelResumeProcess(SceUID pid)
Resume a suspended process.
SceUID ppid
parent process ID
Definition processmgr.h:25
void * ksceKernelGetProcessKernelBuf(SceUID pid)
SceKernelTime ksceKernelLibcTime(SceKernelTime *tloc)
SceUInt32 SceKernelTime
Definition processmgr.h:20
int unk[0xE8/4 - 6]
the rest is unknown
Definition processmgr.h:26
SceUID ksceKernelGetProcessMainThread(SceUID pid)
Get the main thread for a given process.
SceUID pid
our process ID
Definition processmgr.h:21
int ksceKernelGetProcessLocalStorageAddrForPid(SceUID pid, int key, void **out_addr, int create_if_doesnt_exist)
int unk2
Definition processmgr.h:23
int ksceKernelGetProcessSelfAuthInfo(SceUID pid, SceSelfAuthInfo *self_auth_info)
Get the process self auth info.
int ksceKernelSuspendProcess(SceUID pid, int status)
Suspend a running process.
int ksceKernelGetProcessStatus(SceUID pid, int *status)
Get the status of a given process.
ScePVoid ksceKernelGetProcessModuleInfo(SceUID pid)
Get the process module control block.
SceClass * ksceKernelGetUIDProcessClass(void)
SceUID ksceKernelCreateProcess(const char *titleid, SceKernelProcessType type, const char *path, void *opt)
Create process.
int unk1
Definition processmgr.h:22
int ksceKernelExitProcess(int status)
Definition processmgr.h:19
Definition processmgr.h:22
Definition processmgr.h:28
Definition uid_class.h:18
unsigned int SceSize
Definition types.h:56
void * ScePVoid
Definition types.h:81
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
uint32_t SceUInt32
Definition types.h:45