diff options
author | Reiko Asakura | 2021-03-11 15:40:51 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-03-11 15:40:51 -0500 |
commit | 7118ccb573e2836b1b1ea2bbb6d1c88a51398d6c (patch) | |
tree | c0dc1bf77ded0f68278c39fa1cf524d3b85bfa93 /include/user | |
parent | Add prototypes in clockgen.h (diff) | |
download | vds-libraries-7118ccb573e2836b1b1ea2bbb6d1c88a51398d6c.tar.gz |
Move threadmgr functions to common header
sceKernelGetTLSAddr has been removed for kernel because it does not
exist.
Diffstat (limited to 'include/user')
-rw-r--r-- | include/user/kernel/threadmgr.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/user/kernel/threadmgr.h b/include/user/kernel/threadmgr.h index 5691fe0..25f16fb 100644 --- a/include/user/kernel/threadmgr.h +++ b/include/user/kernel/threadmgr.h @@ -63,27 +63,6 @@ int sceKernelSendSignal(SceUID thid); */ SceInt64 sceKernelGetSystemTimeWide(void); -typedef enum _SceKernelTLS { - SCE_THREAD_TLS_UNK_0, - SCE_THREAD_TLS_ID, - SCE_THREAD_TLS_STACK_START_ADDRESS, - SCE_THREAD_TLS_STACK_END_ADDRESS, - SCE_THREAD_TLS_VFP_EXCEPTION, - SCE_THREAD_TLS_LWMUTEX_STATUS, - SCE_THREAD_TLS_UNK_6, - SCE_THREAD_TLS_UNK_7, - SCE_THREAD_TLS_PRIORITY, - SCE_THREAD_TLS_AFFINITY, -} SceKernelTLS; - -/** - * @brief sceKernelGetThreadTLSAddr gets an address to a 4 bytes area of TLS memory for the specified thread - * @param thid - The UID of the thread to access TLS - * @param key - the TLS keyslot index - * @return pointer to TLS memory - */ -void *sceKernelGetThreadTLSAddr(SceUID thid, SceKernelTLS key); - /** * @brief sceKernelGetTLSAddr get pointer to TLS key area for current thread * @param key - the TLS keyslot index |