vitasdk
Documentation of the vitasdk
misc.h
Go to the documentation of this file.
1
7#ifndef _PSP2KERN_KERNEL_THREADMGR_MISC_H_
8#define _PSP2KERN_KERNEL_THREADMGR_MISC_H_
9
10#include <psp2kern/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
25
32
39
47
53void *ksceKernelGetTLSAddr(int key);
54
63
70
77
86
96int ksceKernelRunWithStack(SceSize stack_size, int (* to_call)(void *), void *args);
97
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif /* _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