summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorPrincess of Sleeping2020-11-25 13:41:14 +0900
committerReiko Asakura2021-04-24 17:12:17 -0400
commit7a78acdeceb59a2d1e26393502d580ae4c9508a5 (patch)
treed592fe1df739ee1daafb36c1b813896e78dc2d7d /include/common
parentAdd NIDs in SceNpDrmForDriver (diff)
downloadvds-libraries-7a78acdeceb59a2d1e26393502d580ae4c9508a5.tar.gz
Add sceKernelGetTLSAddr in SceThreadmgrForDriver
Diffstat (limited to 'include/common')
-rw-r--r--include/common/kernel/threadmgr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common/kernel/threadmgr.h b/include/common/kernel/threadmgr.h
index 478f8d3..5168910 100644
--- a/include/common/kernel/threadmgr.h
+++ b/include/common/kernel/threadmgr.h
@@ -34,6 +34,13 @@ typedef enum _SceKernelTLS {
} SceKernelTLS;
/**
+ * @brief sceKernelGetTLSAddr get pointer to TLS key area for current thread
+ * @param key - the TLS keyslot index
+ * @return pointer to TLS key value
+ */
+void *sceKernelGetTLSAddr(SceKernelTLS key);
+
+/**
* @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