7#ifndef _PSP2KERN_KERNEL_THREADMGR_MISC_H_
8#define _PSP2KERN_KERNEL_THREADMGR_MISC_H_
SceUID pid
Definition debug.h:1
SceUID ksceKernelSetProcessIdToTLS(SceUID pid)
Set Process id to Thread Local Storage.
SceKernelIdListType ksceKernelGetThreadmgrUIDClass(SceUID uid)
Get the type of a Threadmgr uid.
void * ksceKernelGetTLSAddr(int key)
ksceKernelGetTLSAddr get pointer to TLS key area for current thread
SceInt64 ksceKernelGetSystemTimeWide(void)
Get the system time (wide version)
SceUID ksceKernelGetProcessIdFromTLS(void)
Get Process id from Thread Local Storage.
int ksceKernelSetPermission(int value)
Set Permission.
SceUID ksceKernelGetProcessId(void)
Gets the current process PID.
void * ksceKernelGetThreadTLSAddr(SceUID thid, int key)
ksceKernelGetThreadTLSAddr gets an address to a 4 bytes area of TLS memory for the specified thread
SceUInt32 ksceKernelGetSystemTimeLow(void)
Get the system time.
int ksceKernelRunWithStack(SceSize stack_size, int(*to_call)(void *), void *args)
Runs a function with larger stack size.
SceKernelIdListType
Threadmgr types.
Definition threadmgr.h:16
unsigned int SceSize
Definition types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
int64_t SceInt64
Definition types.h:50
uint32_t SceUInt32
Definition types.h:45